| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I have been happily developing in Cocoa using XCode 1.1. But I have to
port to Windows, very quickly. ...
I know almost nothing of Windows, MFC, Visual C++, etc. I have no idea
how (or if) they implement multiple Undo, for instance. I have never
touched Windows, and don't have a Windows machine; I figure I'd start
with Virtual PC for Mac.
I am not sure if I should have two separate models (in the MVC sense).
In Cocoa I could use NSMutableArray, and each of my objects could be an
NSObject subclass, which is what I have now. In Windows I'd have some
parallel.
Or should I use STL lists or vectors, and then in Cocoa have
a model object which owns the STL list of raw C++ objects, and do
likewise in Windows.
For actions upon my objects, I'd perhaps use some
Objective-C wrapper in Cocoa as I operate on each individual object.
That might, however, be very inefficient.
Any pointers, guidance, etc. would be greatly appreciated. When I have
more cash, I'll hire someone who knows what they're doing.
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.