Re: convert CFRange to NSRange?
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