I am in the middle of creating some generic classes that can be reusable for lot of application.
For Eg: Share Functions - if we need this functionality in a project then we currently I need to add a group of classes into that project and display the view-controller in that group of files, In this view controller there is buttons and what all need to handle sharing.
what my idea is if a project need such a functionality they need to add a framework and call a function in it or display the specified view in framework ie. no code level access given to whom you do that project. so if any issue is found in that generic classes (framework) I need to fix it and recreate the framework and change in the all project that uses this framework without affecting the existing project.
I am think not only the sharing function. More like a Image Slider, a PDF Viewer , a Browser. a Cover Flow. Currently I have code for all this Functions. But it take too much time to others to integrate it and use it. If any issue found we need to change the all project source classes.
I go through several links in google
Can I develop my own objective-C Framework for Cocoa Touch Applications?
http://www.cocoanetics.com/2010/04/universal-static-libraries/
A Guide for Creating your own Library for Cocoa(touch) development
I cannot understand how it use and some of them have not explain it fully. some missing in those links.
thanks in advance
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…