CIColorCube load lut data

I have a .cube file storing LUT data, such as this:

TITLE "Cool LUT"


LUT_3D_SIZE 64


0.0000 0.0000 0.0000

0.0000 0.0000 0.0000

0.0157 0.0000 0.0000

0.0353 0.0000 0.0000

My question is how do I load required NSData that can be used in CIColorCube filter? When using Metal, I convert this data into MTLTexture using AdobeLUTParser. Not sure what to do in case of CoreImage.

CIColorCube load lut data
 
 
Q