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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to