Teo
Teo

Reputation: 3442

objective c secure header file

Is there a way to create a header file containing some methods without others being able to get to the definition of my methods inside .m files? For example, you can't access method definitions of the ones written by apple(i.e you go to UIImage.h and when you want to see the definition of one of those methods you can't).

So basically what I want to do, is hide the .m file from the other developers. The developers can see only the .h file.

Upvotes: 0

Views: 285

Answers (1)

Wain
Wain

Reputation: 119041

You need to build the code into a static library or framework and deploy that. It contains all of the executable (.m file) code and allows access only to the .h files.

Read about it here.

Upvotes: 3

Related Questions