• 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: Newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question


  • Subject: Re: Newbie question
  • From: Andrew Merenbach <email@hidden>
  • Date: Mon, 8 Jul 2002 15:22:48 -0700

Hi, all. I'm completely new to Cocoa programming, and am working on converting a simple program from AppleScript Studio into real Cocoa for my first endeavor. I've gotten the window to display, and already have a controller, but I've got a couple of questions:

1. I had to copy and paste the controller into my nib file, since I couldn't find a way to add one manually. How can I do this in the future (in a non-document-based Cocoa app) without copying and pasting from an existing nib?

2. I need to take a string from a text field, convert it into a numerical value, perform some operations on it, and then put the result in a second text field. How can I do this, along with some error-checking to make sure the user input only numbers, assuming I don't use a formatter in my nib file?

Thanks in advance,
Andrew Merenbach
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie question
      • From: Nathan Day <email@hidden>
    • Re: Newbie question
      • From: Pierre-Olivier Latour <email@hidden>
  • Prev by Date: Re: Starting Cocoa development - Developing for Jaguar
  • Next by Date: Re: NSOutlineView: removing the selected items, what's the easy way?
  • Previous by thread: Re: NSOutlineView: removing the selected items, what's the easy way?
  • Next by thread: Re: Newbie question
  • Index(es):
    • Date
    • Thread