• 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: Tell which type is in NSValue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tell which type is in NSValue?


  • Subject: Re: Tell which type is in NSValue?
  • From: Bill Bumgarner <email@hidden>
  • Date: Tue, 04 Aug 2009 23:59:08 -0700

On Aug 4, 2009, at 11:38 PM, aaron smith wrote:

if I receive an NSValue object, how can I find out if the value it
contains is a point/rect/size/ etc. I can't figure out what to compare
it with, and can't figure out if the objCType is something I can use
for that problem. Any ideas?

This:

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/nsvalue_Class/Reference/Reference.html#//apple_ref/occ/instm/NSValue/objCType

Implies this:

http://developer.apple.com/documentation/Cocoa/Conceptual/NumbersandValues/Articles/Values.html#//apple_ref/doc/uid/20000174-BAJJHDEG

Which implies this:

http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html

b.bum



_______________________________________________

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: Tell which type is in NSValue?
      • From: aaron smith <email@hidden>
References: 
 >Tell which type is in NSValue? (From: aaron smith <email@hidden>)

  • Prev by Date: Tell which type is in NSValue?
  • Next by Date: Re: Tell which type is in NSValue?
  • Previous by thread: Tell which type is in NSValue?
  • Next by thread: Re: Tell which type is in NSValue?
  • Index(es):
    • Date
    • Thread