• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gui without Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: gui without Interface Builder (From: Matt Neuburg <email@hidden>)
 >Re: gui without Interface Builder (From: email@hidden)

  • Prev by Date: Re: Tooltips on individual segmented cells
  • Next by Date: Re: Why does this leak memory?
  • Previous by thread: Re: gui without Interface Builder
  • Next by thread: nil properties in Fetch Requests, part 2
  • Index(es):
    • Date
    • Thread