| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Am 31.01.2004 um 20:05 schrieb Erez Anzel:_______________________________________________I have been happily developing in Cocoa using XCode 1.1. But I have to port to Windows, very quickly. I want to keep my duplication of effort to a minimum, so that I can maintain and enhance both products efficiently.
I've read through the archives, and have come to the conclusion that I should do the interface of my CAD-like (but with lots of internal math) application in two parallel universes: Cocoa/XCode and MFC/Visual C++. I've used MacApp in the distant past, and assume that the MFC experience will be similar. I used CodeWarrior and PowerPlant for about a year, but dropped it this past June when I got the impression that it wasn't any longer (if it ever was) the best way to do cross-platform. (I also switched to Cocoa this past June.)
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.
I'm stabbing in the dark.
Any pointers, guidance, etc. would be greatly appreciated. When I have more cash, I'll hire someone who knows what they're doing.
have you considered GNUstep?
Re
Phil
| References: | |
| >Cocoa/Windows parallel dvlpmt (From: Erez Anzel <email@hidden>) | |
| >Re: Cocoa/Windows parallel dvlpmt (From: Philip Mötteli <email@hidden>) |
| 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.