Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
- Subject: Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
- From: Ryan Poling <email@hidden>
- Date: Mon, 3 Dec 2007 19:45:12 -0800
Thanks Clark, I'm reading the document now and it looks like just what
I needed.
-Ryan
On Dec 3, 2007, at 6:54 PM, Clark Cox wrote:
On Dec 3, 2007 5:28 PM, Ryan Poling <email@hidden> wrote:
I'm trying to use the following method defined in NSURLDownload which
as you can see from the signature is defined to use the new
"NSUInteger" data type. I want to use this method on a program I'll
be distributing for both Tiger and Leopard (10.4 and 10.5), but I'm
not sure what the proper way to do this is.
See the following documentation:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/Introduction/chapter_1_section_1.html
>
Essentially, you set the SDK that your project uses to the 10.5 SDK,
and set the deployment target to 10.4.
- (void)download:(NSURLDownload *)download didReceiveDataOfLength:
(NSUInteger)length
Any tips?
You shouldn't have to really worry about the type (as NSInteger is
just another name for int when compiling 32-bit code). So, this method
really hasn't changed.
--
Clark S. Cox III
email@hidden
_______________________________________________
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