I am currently studying the unification of the model of my application. I am currently using a different model on mac / iphone. Missing classes (NSAttributedString) and missing technologies (Bindings) made me go with this solution.
With the first limitation in SDK 3.2 and my plan to also create an optimized version of the iPad, I am redefining my decision. Since I also need to store NCPoints / CGPoints, NSRect / CGRects, NSColor / UIColor, and NSImage / UIImage structures in my model, I'm not sure what the best way to handle them would be.
Writing your own MNColor object that encapsulates NSColor and UIColor depending on the architecture? Writing your own rectangle functions that call the corresponding function depending on the arc? Or use CGRect in a model on mac?
Any input would be much appreciated!
source
share