• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: email@hidden
  • Date: Fri, 8 Mar 2002 13:44:55 -0800

NSString is a class cluster. By design, you don't know what it will
return as a created instance. Is there a design specification (is it
documented) that says everything it returns is toll-free with CFString,
or just NSCString hidden class?

When we say it's toll-free bridged, we mean that any NSString can be
treated as a CFString, and vice versa.

Here's something I've always wondered: if I create my own NSString subclass and correctly implement the base set of methods required by the class cluster, do CF functions then work on it?
My guess is no, but I don't understand how the bridging works well enough to be sure...

Ben Haller
Stick Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Resize Bug? please confirm
  • Next by Date: Re: Create a polygon region
  • Previous by thread: Resize Bug? please confirm
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread