Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Cocoa: Something different about the 'name' property?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa: Something different about the 'name' property?



That was it!

Thanks,

Scott


On 1-Aug-05, at 7:15 PM, Don Briggs wrote:



On Aug 1, 2005, at 4:40 PM, Scott Quiring wrote:


I'm trying to add applescript support to my cocoa app. I can access most of my objects' properties (including text, numbers, and enumerations), but the 'name' property seems to be different.


Yep. Cocoa has special built-in support for name and ID attributes.
The "name" attribute associates with the type NSString and the 4- char code 'pnam'.
The ID attribute associates with either NSString or NSNumber and the 4-char code 'ID '.



All best Don




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa: Something different about the 'name' property? (From: Scott Quiring <email@hidden>)
 >Re: Cocoa: Something different about the 'name' property? (From: Don Briggs <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.