• 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: Retaining 10.4 compatibility when using framework methods with newly defined data types?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "Clark Cox" <email@hidden>
  • Date: Mon, 3 Dec 2007 18:54:48 -0800

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

  • Follow-Ups:
    • Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
      • From: Ryan Poling <email@hidden>
References: 
 >Retaining 10.4 compatibility when using framework methods with newly defined data types? (From: Ryan Poling <email@hidden>)

  • Prev by Date: Re: SimpleCalendar sample code add event bug
  • Next by Date: Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
  • Previous by thread: Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
  • Next by thread: Re: Retaining 10.4 compatibility when using framework methods with newly defined data types?
  • Index(es):
    • Date
    • Thread