Recently, I began to modulate my applications much more aggressively than before, dividing code fragments into frameworks or libraries.
I like the concept of "private frameworks" on the Cocoa desktop, i.e. framework included in the application package. From my little experience, frameworks are better suited for code reuse than simple libraries, since frameworks can include their own headers. This makes it easy to add a new structure to an existing project.
The problem is that these "private" frameworks are not supported on iOS. You must have static libraries there, and managing headers is a pain. Is there a good technical reason for Apple not supporting iOS frameworks?
(Just to make sure: Apple, unfortunately, uses the term “private infrastructure” for two things. Firstly, these are the “customizable” frameworks that come with the application, and secondly, these are undocumented and forbidden frameworks that people should not use on iOS. I ask about the first.)
PS. Is this a change in iOS 8? Theres Cocoa Touch Framework Template in Xcode 6.
zoul
source share