For generating a LUT in Photoshop use File > Export > Color Lookup Tables.
For importing LookUp Table into Quartz Composer composition you may use JavaScript patch. Look at this post: How to use LUT with JavaScript?
Touching iOS development, you should get acquainted with Quartz Composer runtime implementation for iOS on GitHub (by Joris Kluivers). Find it here: