Re: gui without Interface Builder
Re: gui without Interface Builder
- Subject: Re: gui without Interface Builder
- From: email@hidden
- Date: Mon, 11 Jul 2005 14:30:53 -0700
Thanks! That did it. If I moved the binary into a directory
structure that looks like this:
<binary-name>.app/Contents/MacOS/<binary-name>
... it works. So apparently NSApplication needs this "bundle"
directory structure. Now I need to understand this bundle stuff, and
what the files mean... I guess the NSBundle docs are a good place to
start.
Rob
On Jul 11, 2005, at 11:31 AM, Matt Neuburg wrote:
On Sun, 10 Jul 2005 02:07:53 -0700, email@hidden said:
Hi all,
The following code pops up a window with an NSTextView, but the view
won't take keyboard focus/input, so I can't edit the text. Can
anyone tell me what's wrong? According to the printfs, the textview
become the firstResponder, and is editable.
Just as a data point, I pasted your code directly into the main.m
of a fresh
Cocoa project and it works fine (until you make the mistake of
resizing the
window, of course). m.
_______________________________________________
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