0

I have classes we wrote for one of our customers, to be used in their own iPhone code.

We would like to make the classes sealed for observing and prevent the code from being copied like we would do in Windows by a closed DLL or compiled SWF in Flash.

Is there a way to do the same for iPhone classes?

Bobrovsky
  • 13,789
  • 19
  • 80
  • 130
David Salzer
  • 872
  • 1
  • 7
  • 24

1 Answers1

3

Yes, you can compile your code to a library file, such as a .a, and then require them to link in your compiled library.

See a related helpful Q&A: A Guide for Creating your own Library for Cocoa(touch) development

Community
  • 1
  • 1
Kekoa
  • 27,892
  • 14
  • 72
  • 91