• 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: Building interfaces help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building interfaces help


  • Subject: Re: Building interfaces help
  • From: Michael Watson <email@hidden>
  • Date: Mon, 17 Jul 2006 00:10:56 -0400

You can create a new instance of an NSTextField and insert it with NSView's -addSubview like so:

NSTextField *inputField = [[NSTextField alloc] initWithFrame:frameRect];
// configure your text field how you like
[[yourWindow contentView] addSubview:inputField]; // or insert into another view if necessary



-- Michael Watson

On 17 Jul, 2006, at 00:04, Travis Siegel wrote:

Anyone here willing to help out with some interface building?
I use voiceover for my access to the mac os, and interface builder isn't exactly usable for designing output/input screens. 2.3 is a huge leap forward from previous versions, but I still can't build an interface just using voiceover commands. So, if someone here would be willing to assist me, I'd greatly appreciate it. I mostly need text fields put on a window, then I'll populate them and get the info from them in my code, but since I've failed to find help on how to do this programatically, I'm now asking to see if others would be willing to just use ibuilder and make my screens for me.
I can't offer much in the way of compensation, except a huge thanks, but if anyone is willing to help, I'd certainly be greatful.
On Jul 16, 2006, at 11:52 PM, Tim Hart wrote:

_______________________________________________ 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: 
 >[OT] Unit tests? (From: William Squires <email@hidden>)
 >Re: [OT] Unit tests? (From: Jean-Christophe Godefroy <email@hidden>)
 >Re: [OT] Unit tests? (From: Tim Hart <email@hidden>)
 >Building interfaces help (From: Travis Siegel <email@hidden>)

  • Prev by Date: Building interfaces help
  • Next by Date: RE: Disabling Certain Title bar controls
  • Previous by thread: Building interfaces help
  • Next by thread: Control arrays?
  • Index(es):
    • Date
    • Thread