Creating a NSTextField
Creating a NSTextField
- Subject: Creating a NSTextField
- From: "Felipe Monteiro de Carvalho" <email@hidden>
- Date: Tue, 26 Feb 2008 17:13:06 +0100
Hello,
I am building Cocoa apps without the interface builder. Creating a
NSWindow instance is really easy, and I can do:
NSWindow* MainWindow = [[NSWindow alloc] initWithContentRect: MainWindowRect
styleMask: NSTitledWindowMask | NSClosableWindowMask |
NSMiniaturizableWindowMask | NSResizableWindowMask
backing: NSBackingStoreBuffered
defer: NO];
But there is no initialization method for a NSTextField. How can I
create a NSTextField? Just alloc?
thanks,
--
Felipe Monteiro de Carvalho
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden