Re: Connecting actions to custom entity classes
Re: Connecting actions to custom entity classes
- Subject: Re: Connecting actions to custom entity classes
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 8 Jun 2006 00:36:36 -0700
On Jun 7, 2006, at 9:13 PM, Mathieu Tozer wrote:
@interface TaskMO : NSManagedObject {
[...]
- (void)stop;
[...]
I have a button on the interface connected to a stop: action in the
NSArrayController, but I get the following error:
[...]
2006-06-08 14:09:48.057 noodle[22325] Could not connect the action
stop: to target of class NSArrayController
There are several fundamental errors and misunderstandings here.
Per various recommendations in the documentation, I would strongly
suggest dropping at least Core Data and probably also bindings and
concentrating first on mastering the basics. It is likely to be an
exercise in frustration trying to get to grips with all these
technologies simultaneously.
You need to understand the target-action design pattern, how
NSControl objects work, the model-view-controller design pattern, and
in particular thereafter the mediator design pattern. Most of this
can be gathered from <http://developer.apple.com/documentation/Cocoa/
Conceptual/CocoaFundamentals/index.html>.
mmalc
_______________________________________________
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