You can keep much of your C++ by using ObjectiveC++. I didn't know it existed 
when I first did a C++ port and tried doing things the hard way - operator 
overloading is one thing that just can't be faked in pure ObjC.

----- Original Message -----
From: "Uli Kusterer" <witness.of.teacht...@gmx.net>
To: "John Wilund" <john.wil...@gmail.com>
Cc: cocoa-dev@lists.apple.com
Sent: Tuesday, April 17, 2012 5:43:27 AM
Subject: Re: Is there a glue file between Carbon and Cocoa?


On 17.04.2012, at 10:03, John Wilund wrote:
> It might just end with that.... :(
> Sound is an important thing with MOD players/Trackers!

 Sound is possible. Look at Core Audio, NSSound, AVFoundation etc. You probably 
want to use AudioQueues, like I did for this: 
https://github.com/uliwitness/ULIMelodyQueue

> The code is mainly written in C++.

 I've made a list of common pitfalls people encounter when porting from 
Windows, many of those might also be helpful in your case: 
http://orangejuiceliberationfront.com/porting-to-the-macintosh/

> Do you believe I should learn  C++ and Cocoa with/on Objective C before I 
> start? It will be fun, but take some time... I think I¨ll start reading Aarnn 
> Hilegass:s book on Cocoa programming. May be you can tell me if there are any 
> other book on Cocoa Programming.


 You definitely should know the programming languages you want to use. So if 
your original code is C++, you should definitely learn that language. If you 
want to code for the Mac, you will have to write at least the user interface in 
Objective C. Depending on your level of experience in programming in general, 
you should be able to write your own Cocoa application once you've worked your 
way through Hillegass' book. The C++ parts will probably take longer to learn, 
but if you just want to understand what the original program did and write your 
own version in C/ObjC, you don't need as deep an understanding.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/lrucker%40vmware.com

This email sent to lruc...@vmware.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to