Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Code project like for Mac?

Code project like for Mac?

Scheduled Pinned Locked Moved The Lounge
question
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LukeV
    wrote on last edited by
    #1

    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! :)

    J J A 4 Replies Last reply
    0
    • L LukeV

      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! :)

      J Offline
      J Offline
      Jim Crafton
      wrote on last edited by
      #2

      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

      A 1 Reply Last reply
      0
      • L LukeV

        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! :)

        J Offline
        J Offline
        Jim Crafton
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • L LukeV

          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! :)

          J Offline
          J Offline
          Jack Puppy
          wrote on last edited by
          #4

          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!

          1 Reply Last reply
          0
          • L LukeV

            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! :)

            A Offline
            A Offline
            Alex Korchemniy
            wrote on last edited by
            #5

            It must be a pain in the butt developing for Mac. Does anyone here actually do serious coding for Mac (not just hobby)?? :~

            J 1 Reply Last reply
            0
            • J Jim Crafton

              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

              A Offline
              A Offline
              Alex Korchemniy
              wrote on last edited by
              #6

              Good site link. Very interesting. Note: I've never done any coding for Mac before.

              1 Reply Last reply
              0
              • A Alex Korchemniy

                It must be a pain in the butt developing for Mac. Does anyone here actually do serious coding for Mac (not just hobby)?? :~

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups