Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[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




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.