Since OSX 10.10.4, Apple has provided a specified command trimforce to turn on trim of your SSD:

sudo trimforce enable

So we do not need to use any third party App or some hacky ways to enable trim anymore.