• 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: NSValue value:withObjCType:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSValue value:withObjCType:


  • Subject: Re: NSValue value:withObjCType:
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 17 Apr 2008 08:31:23 -0700


On 16 Apr '08, at 1:46 AM, Gerriet M. Denkmann wrote:

NSValue has two methods: value:withObjCType: and valueWithBytes:objCType: .

What is the difference between these two methods? When do I have to use the first, when the second?
I am rather confused.

Read the documentation. For the first method it says:
Discussion
This method has the same effect as valueWithBytes:objCType: and may be deprecated in a future release. You should use valueWithBytes:objCType: instead.



—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: NSValue value:withObjCType:
      • From: Keary Suska <email@hidden>
References: 
 >NSValue value:withObjCType: (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Vended Object Setters
  • Next by Date: Re: How does bind:toObject:withKeyPath:options: work?
  • Previous by thread: NSValue value:withObjCType:
  • Next by thread: Re: NSValue value:withObjCType:
  • Index(es):
    • Date
    • Thread