This seems like a real newbie question, but I have to get a monthOfYear value from NSCalendarDate (which is NSInteger) and use that to create an NSIndexPath (which wants an NSUInteger). How do I do this? Thanks!
iMac 20in. (Intel 2GHz), Mac OS X (10.5.3)
Solved by orangekay on Jul 30, 2008 7:37 PM
They're just typedefstypedef long NSInteger;typedef unsigned long NSUInteger;#elsetypedef int NSInteger;typedef unsigned int NSUInteger;#endifIf you get a complaint from the compiler then just typecast it. There's nothing to convert.