Re: gui without Interface Builder
Re: gui without Interface Builder
- Subject: Re: gui without Interface Builder
- From: Bob Ippolito <email@hidden>
- Date: Mon, 11 Jul 2005 12:16:10 -1000
The name of the application bundle is irrelevant (the user can rename
it) and the name of the binary is determined by the Info.plist (which
doesn't have to match anything else). You should always have a
complete and correct Info.plist with all of the required keys.
-bob
On Jul 11, 2005, at 11:30 AM, email@hidden wrote:
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
_______________________________________________
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