• 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: Connections between a text field and an instance variable do not work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connections between a text field and an instance variable do not work


  • Subject: Re: Connections between a text field and an instance variable do not work
  • From: mmalc crawford <email@hidden>
  • Date: Sat, 3 Mar 2007 21:39:17 -0800


On Mar 3, 2007, at 9:27 PM, Yevgeniy Goldberg wrote:

Just getting started with cocoa.
Attempting to create a Core Data application "by the book".

The Core Data Programming Guide expressly recommends against this:

"Core Data is not an entry-level technology. It leverages many other Cocoa technologies, including memory management, key-value coding, and key-value observing. You must understand these technologies to use Core Data effectively. You also need a solid understanding of data modeling and the model-view-controller design pattern as it pertains to Cocoa."

<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdBeforeYouStart.html >

You should wait until you have completely mastered issues such as the following before you undertake development of a Core Data-based application.



In the run log I can see that my action is being triggered when I press the button, but the text field remains empty.
What am I doing incorrectly?


There are several things you might have done incorrectly, the first being that you didn't actually make (or save) the connection. Is the name of the outlet in IB the same as the IBOutlet instance variable? Are there any runtime errors? How did you implement your action method?

mmalc


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Connections between a text field and an instance variable do not work (From: Yevgeniy Goldberg <email@hidden>)

  • Prev by Date: Connections between a text field and an instance variable do not work
  • Next by Date: question about custom cursor
  • Previous by thread: Connections between a text field and an instance variable do not work
  • Next by thread: question about custom cursor
  • Index(es):
    • Date
    • Thread