开发者

Converting classes to an library

开发者 https://www.devze.com 2022-12-28 13:06 出处:网络
Hi experts i have created a set of UItableviewcustom cell classes. Now can i group those开发者_JAVA技巧 classes to an static library so that i can include that library in whichever project i want and

Hi experts i have created a set of UItableviewcustom cell classes. Now can i group those开发者_JAVA技巧 classes to an static library so that i can include that library in whichever project i want and i can use it.


You can, but it really isn't worth the trouble... with the rate that they keep on releasing new SDKs, and considering that you'd have to make it a Universal binary supporting both the simulator and the iPhone device, it really isn't worth the effort... I'd just save the ".h" and ".m" files and drop them in a new project.

However, if you are absolutely determined to go that route... I do have some articles on creating iPhone frameworks: here. Note that they are somewhat outdated (circa iPhoneOS3.1), so I don't know how much has changed, and I've since converted to the Android camp... but you still might find the info there useful.

0

精彩评论

暂无评论...
验证码 换一张
取 消