Re: access property
Re: access property
- Subject: Re: access property
- From: Evan Schoffstall <email@hidden>
- Date: Mon, 14 Nov 2011 10:56:19 -0500
If you mean to say get a value every x seconds than okay..
Use NSTimer
If you mean to say you want to get the value of a property when it changes (which makes more sense)
Try adding an observer.
--
Evan Schoffstall
Sent with
Sparrow
On Monday, November 14, 2011 at 10:07 AM, droom departement wrote:
No, I just like to get "from time to time" the value of a certain property.
2011/11/14 Evan Schoffstall
<email@hidden>
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)
This email sent to
email@hidden
_______________________________________________
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