on 4/17/08 9:31 AM, [EMAIL PROTECTED] 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 (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 [EMAIL PROTECTED]