Fw: access property
Fw: access property
- Subject: Fw: access property
- From: Evan Schoffstall <email@hidden>
- Date: Mon, 14 Nov 2011 10:03:39 -0500
>_> Forgot to forward
--
Evan Schoffstall
Sent with
Sparrow
Forwarded message:
From: Evan Schoffstall <email@hidden>
To: droom departement <email@hidden>
Date: Monday, November 14, 2011 10:02:50 AM
Subject: Re: access property
Did you try something like
set myObject to dbViewController's new()
set myString to myObject's myPrefsVal
--
Evan Schoffstall
Sent with
Sparrow
On Monday, November 14, 2011 at 9:02 AM, droom departement wrote:
How can I get the value of a property: myPrefs (declared in an objective-C class) from within an applescript class ?
the objective-C class:
@interface dbViewController : NSObject {
NSString *myPrefsVal;
}
@property (nonatomic, retain) NSString *myPrefsVal;
...
@end
@implementation dbViewController
@synthesize myPrefsVal;
...
@end
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden