Scripting Bridge Question
Posted: Mon Jan 14, 2008 7:41 am
Okay I have my application updating my adium status message using scripting brige. Everything is working great but I am getting a warning. It will compile and run without any issues that I can see but still I hate warnings!
I am setting my account status message with the contents of a NSString:
and I am getting the warning: passing argument 1 of setStatusMessage from distinct Objective-C type.
I should be sending it a AdiumRichText object instead of a NSString correct? And if so how could I take the contents of the NSString and create a AdiumRichText?
also when I generated the header file for the scripting bridge for adium I found an error.
There were two instances of:
I commented one out and it worked without any issue. The only difference was the comment.. This is the one I didn't comment out notice the comments:
I am setting my account status message with the contents of a NSString:
Code: Select all
xAccounts.statusMessage = currentInfo;I should be sending it a AdiumRichText object instead of a NSString correct? And if so how could I take the contents of the NSString and create a AdiumRichText?
also when I generated the header file for the scripting bridge for adium I found an error.
There were two instances of:
Code: Select all
@property (readonly) NSInteger idleTime; // The time this contact has been idle.Code: Select all
@property (readonly) NSInteger idleTime; // The duration this contact has been idle.