Re: newbie question re. cocoa front-end to sql db
Re: newbie question re. cocoa front-end to sql db
- Subject: Re: newbie question re. cocoa front-end to sql db
- From: Andy Lee <email@hidden>
- Date: Wed, 22 Mar 2006 17:03:19 -0500
On Mar 22, 2006, at 4:33 PM, Ondra Cada wrote:
Not that there's anything bad with this approach and of course you
need that for app-related things; just for completeness' sake --
often it's quickest and easiest to try directly in Terminal (I am
writing this mainly for I have to my surprise found there are Xcode
users around who don't know Xcode actually is not needed for simple
things :))
Just a moment ago I've tried this way a distributed notification in
the app I am working on:
117 /tmp> >q.m
#import <Cocoa/Cocoa.h>
int main() { [NSAutoreleasePool new];
[[NSDistributedNotificationCenter defaultCenter]
postNotificationName:@"OCSEsmeMLayoutPluginOpenObject"
object:@"SavePreview"]; return 0; }
118 /tmp> cc -Wall q.m -framework Cocoa && ./a.out
Ah yes, I forgot the *other* way I test things sometimes. I actually
copied the cc command from a post of yours long ago, and I even stole
the name "q.m" for a skeleton file that I duplicate and edit as
needed -- all from the command line. Usually this is to test some
really simple thing that I won't need the debugger for, or the
overhead of launching a full-blown app (though someday I'll have a
blazing fast Intel machine and that overhead will be negligible...
right?).
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden