FROM : Michael Ash
DATE : Sun Aug 06 19:31:04 2006
On 8/6/06, Mike Abdullah <mike.<email_removed>> wrote:
> Yeah I had downloaded that sample project previously and it seems to
> work OK for me. I assumed the reason I couldn't then get it to work
> once in my project was due to the nature of Cocoa in some way, and so
> that here was the best place to ask.
Just to be very clear on this since nobody has stated it explicitly:
there's no "nature of Cocoa" that would stop this code from working.
In general, you can mix Carbon and Cocoa code with no problems. The
rare exceptions have to do with things like mixing controls of the two
types in the same window, and things like that. But basic
callback-type stuff like this will work equally well. So the problem
is in the changes you made, not the libraries your app uses.
Mike
DATE : Sun Aug 06 19:31:04 2006
On 8/6/06, Mike Abdullah <mike.<email_removed>> wrote:
> Yeah I had downloaded that sample project previously and it seems to
> work OK for me. I assumed the reason I couldn't then get it to work
> once in my project was due to the nature of Cocoa in some way, and so
> that here was the best place to ask.
Just to be very clear on this since nobody has stated it explicitly:
there's no "nature of Cocoa" that would stop this code from working.
In general, you can mix Carbon and Cocoa code with no problems. The
rare exceptions have to do with things like mixing controls of the two
types in the same window, and things like that. But basic
callback-type stuff like this will work equally well. So the problem
is in the changes you made, not the libraries your app uses.
Mike
| Related mails | Author | Date |
|---|---|---|
| Mike Abdullah | Aug 6, 01:36 | |
| Jordan Krushen | Aug 6, 03:39 | |
| Mike Abdullah | Aug 6, 10:45 | |
| John Stiles | Aug 6, 17:42 | |
| Michael Ash | Aug 6, 19:31 | |
| Mike Abdullah | Aug 6, 22:10 | |
| Michael Ash | Aug 6, 22:46 | |
| Rosyna | Aug 6, 23:35 | |
| Mike Abdullah | Aug 7, 13:22 |






Cocoa mail archive

