• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?) (From: Pete Carss <email@hidden>)

  • Prev by Date: gdb break on raise from Project Builder?
  • Next by Date: Re: Stuck with NSURL
  • Previous by thread: Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
  • Next by thread: Re: [LONG] Making the right choice (was Re: How viable is Cocoa development?)
  • Index(es):
    • Date
    • Thread