Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa handling null values



on 2006-09-27 12:20 AM, Jesse Grosjean at email@hidden wrote:

> What is the best way to translate null values back and forth between
> cocoa and applescript? In particular I want to enable my users to set
> a property to a cocoa NULL from applescript. I see applescripts
> "null" and "missing value" but none of those seem to turn into a NULL
> on the cocoa side. Can anyone tell me what the best or expected way
> to do this is?

'missing value' is an NSNull singleton, isn't it?

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden

This email sent to email@hidden

References: 
 >cocoa handling null values (From: Jesse Grosjean <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.