Code project like for Mac?
-
Hi! I've got a new contract to port a PC app to Mac. I was wondering if any of you guys know a website that is sort of the equivalent of the Code Project? Also, if anyone has some interesting links to learn about PC to Mac porting, please let me know! I do have experience developping on Mac but I've never created an app from scratch... Thanks! :)
-
Hi! I've got a new contract to port a PC app to Mac. I was wondering if any of you guys know a website that is sort of the equivalent of the Code Project? Also, if anyone has some interesting links to learn about PC to Mac porting, please let me know! I do have experience developping on Mac but I've never created an app from scratch... Thanks! :)
There isn't much. If you are using Cocoa, there's CocoaDev (http://www.cocoadev.com/). If you are using Carbon, you're SOL. However, you're welcome to peruse through some of my code in the VCF( http://vcf.sf.net), as I have written the Mac in all new shiny Carbon. You're best bet is getting on the carbon/cocoa mailing lists, which are bar none, some of the best, most mature, and on topic, mailing lists I have been on. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned
-
Hi! I've got a new contract to port a PC app to Mac. I was wondering if any of you guys know a website that is sort of the equivalent of the Code Project? Also, if anyone has some interesting links to learn about PC to Mac porting, please let me know! I do have experience developping on Mac but I've never created an app from scratch... Thanks! :)
One other thought. If you are starting from scratch, use Cocoa. It's much, much easier than screwing with Carbon. ObjectiveC is pretty easy to use too. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned
-
Hi! I've got a new contract to port a PC app to Mac. I was wondering if any of you guys know a website that is sort of the equivalent of the Code Project? Also, if anyone has some interesting links to learn about PC to Mac porting, please let me know! I do have experience developping on Mac but I've never created an app from scratch... Thanks! :)
If you used MFC to build your PC app, check out wxWidgets.
:suss: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
-
Hi! I've got a new contract to port a PC app to Mac. I was wondering if any of you guys know a website that is sort of the equivalent of the Code Project? Also, if anyone has some interesting links to learn about PC to Mac porting, please let me know! I do have experience developping on Mac but I've never created an app from scratch... Thanks! :)
It must be a pain in the butt developing for Mac. Does anyone here actually do serious coding for Mac (not just hobby)?? :~
-
There isn't much. If you are using Cocoa, there's CocoaDev (http://www.cocoadev.com/). If you are using Carbon, you're SOL. However, you're welcome to peruse through some of my code in the VCF( http://vcf.sf.net), as I have written the Mac in all new shiny Carbon. You're best bet is getting on the carbon/cocoa mailing lists, which are bar none, some of the best, most mature, and on topic, mailing lists I have been on. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned
Good site link. Very interesting. Note: I've never done any coding for Mac before.
-
It must be a pain in the butt developing for Mac. Does anyone here actually do serious coding for Mac (not just hobby)?? :~
Yeah. Check out the VCF[^]. I have been porting it over to the Mac from it's original Win32 beginnings. It's not that bad to program for. The IDE is nice in some respects (not so nice in others, my biggest beef is the reliance on GCC/GDB, and the fact that it makes a lot of separate windows which is annoying IMHO). The API's, for the most part, are reasonably straightforward, and similar to Win32. Most of what follows are comments on Carbon, the C version of the various OS API's. The event loop stuff is actually nicer and more flexible. Mouse handling is a little weird to get used to. Graphics are nice - you get anti-aliased drawing for free, and double buffer for free as well, which is nice. Text drawing is a pain in the ass. ATSUI, which is the Apple API for drawing unicode text, is really powerful, and completely blows away what you can do on Win32. However it's kind of klunky to use, and there are not a lot of high level functions to make it easier to use. Printing is about the same. Common dialogs are another story. The Win32 file save/open dialogs are MUCH easier to use than their Carbon counterparts. Locale support is kind of weird. The old way (prior to OS X) is really low level (and I personally have never gotten it to work). The new way is much nicer because it's just a wrapper around IBM's ICU[^] library. However you still can't have per thread locale changes like you can in Win32. Threading is not too different. The only slightly confusing part is choosing which API to use - you can use pthreads (due to the BSD underpinnings of the OS), the older ThreadManager API's or the newer (I think I have this right) MultiProcessor APIs for thread management. The other API, Cocoa, is a completely OO API written in Objective C, a small set of extensions to the C language, that resemble Smalltalk. Cocoa is awesome, and it's a great API to use. It's functionally as rich as .Net, or nearly so, and it's tightly hooked together with Interface Builder, which is the GUI form designer in OS X. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned