Re: Is there a glue file between Carbon and Cocoa?
Re: Is there a glue file between Carbon and Cocoa?
- Subject: Re: Is there a glue file between Carbon and Cocoa?
- From: John Wilund <email@hidden>
- Date: Tue, 17 Apr 2012 17:51:37 +0200
Lee Ann,
The thought of coding in ObjC++ sounds just great. Can you give me a book titel or an URL there I could learn how this ObjC++ programming should be done!
Best wishes,
/John
17 apr 2012 kl. 17:03 skrev Lee Ann Rucker <email@hidden>:
> 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" <email@hidden>
> To: "John Wilund" <email@hidden>
> Cc: email@hidden
> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden