Here's an Advanced question for Advanced developers.
So I've written a largish "subsystem". It is essentially a UIViewController called CleverViewController which is a UIViewController.
Now, there are a large number of supporting classes (about ten) that do the hard work: perform math functions, image processing, purely logical functions, build images or what have you with thousands of lines of code.
(To do this, I simply started a new XCode project / app "Scratchpad" which does little other than load and launch the CleverViewController. So currently it works as an app, which launches CleverViewController. The ten or so classes I mention that are part of the "subsystem" simply sit there in that project/app.)
So now, we will use CleverViewController, the new technology generally, in various apps. (Or perhaps friends would want to use it, etc.)
What's the best way to "do" this? Have I screwed everything up, and really it should just be ONE (pretty big) class rather than a dozen classes? (I could understand that then as I would simply add that new (big) class where needed, like adding any other class.)
Do I have to make a "framework" like the Apple frameworks? (If so, what the hell are they, how do you do it, etc?!?)
In fact, do you just have to lamely include all of the dozen classes and that's that (obviously perhaps putting them in a grouped subfolder).
What about all the headers and so on? (Currently I just have the dozen includes in the pch file of the scratchpad project.)
Shouldn't it be easy to "maintain" this "subsystem" separately and so on?
I'm afraid I know nothing about this: if the answer is obvious, hit me over the head and let me know.
Thank you for any info on this !