• 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: Keary Suska <email@hidden>
  • Date: Thu, 17 Apr 2008 09:56:54 -0600
  • Thread-topic: NSValue value:withObjCType:

on 4/17/08 9:31 AM, email@hidden purportedly said:

>> 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.

To be fair to the OP, my documentation (Xcode 3) does not have this
deprecation remark, although I notice the online documentation does, and
Xcode says my documentation is up to date. Maybe this comes with 3.1, which
I haven't bothered to install yet.

So, it's very possible that the OP *did* read the documentation, and it said
nothing about the difference, as my documentation shows.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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

  • Prev by Date: Re: How does bind:toObject:withKeyPath:options: work?
  • Next by Date: -charactersIgnoringModifiers and the shift key
  • Previous by thread: Re: NSValue value:withObjCType:
  • Next by thread: Re: NSValue value:withObjCType:
  • Index(es):
    • Date
    • Thread