Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
- Subject: Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
- From: David Remahl <email@hidden>
- Date: Sun, 27 Jan 2002 16:30:53 +0100
>
> Most of the base CF types are toll-free bridged with Foundation objects,
>
> so you can just cast between them. NSString * = CFStringRef, etc. A full
>
> list is available in the release notes and this has been discussed
>
> before on the list. Please do some research of your own instead of
>
> relying on people to feed you information with a spoon.
>
>
Can you explain how I am meant to do this for CGRect -> NSRect - the
>
underlying stucts are the same but I ended up (thanks to this list) casting
>
pointers...Or is the principle different to CF -> NS...
>
>
Pete
Yes, We were talking about objects, not structures. For structs, you will
have to resort to casting pointers :(. Remember the risks that have been
discussed here.
/ david