0

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.

4

1 に答える 1

3

コードを静的ライブラリまたはフレームワークにビルドしてデプロイする必要があります。すべての実行可能 (.m ファイル) コードが含まれており、.h ファイルへのアクセスのみが許可されます。

ここでそれについて読んでください

于 2013-05-18T11:07:37.810 に答える