• 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: convert CFRange to NSRange?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert CFRange to NSRange?


  • Subject: Re: convert CFRange to NSRange?
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 12 Dec 2010 08:04:55 -0800


On Dec 12, 2010, at 7:34 AM, Matt Neuburg wrote:

I feel like I'm missing something. I can't seem to typecast as CFRange to an NSRange. I know I can pull a CFRange apart and reassemble it as an NSRange, but shouldn't there be a simpler way? m.

CFRange is defined as a pair of unsigned longs, and NSRange is defined as either unsigned ints or unsigned longs depending on whether you're compiling 32- or 64-bit.


-jcr
_______________________________________________

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


References: 
 >convert CFRange to NSRange? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: convert CFRange to NSRange?
  • Next by Date: Re: convert CFRange to NSRange?
  • Previous by thread: convert CFRange to NSRange?
  • Next by thread: Re: convert CFRange to NSRange?
  • Index(es):
    • Date
    • Thread