On May 4, 2009, at 3:22 AM, Weydson Lima wrote:
I know that these methods are expecting pointers as parameters and I am passing a scalar. So, what's the best way to approach that?

That's correct. You really shouldn't put any scalar types in an NSDictionary (or any other container type in the Cocoa API.) You should wrap these values with an NSNumber instead. Look up the documentation for NSNumber, it should tell you what you need to know.

HTH,
- Alex

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to