Re: NSObjectController
Re: NSObjectController
- Subject: Re: NSObjectController
- From: Ricardo Strausz <email@hidden>
- Date: Mon, 24 Nov 2003 12:51:42 -0600
Hola!
On Nov 18, 2003, at 8:17 AM, Michael Parlee wrote:
Yeah, I have tried the NSObjectController tutorial and it worked fine
for me. It works differently than the old CurrencyConverter in that
the convert action happens immediately on entering values. What kind
of bug are you seeing? Also is this part one of the tutorial or part
two (the tabular version)?
It is on the first version (part one). It simply NEVER calls the
"assignament" method; simplifying the code, there are 3 basic mathods:
- (void)a:(int)x;
- (void)b:(int)y;
- (int)c;
The third one, whose implementation is
- (int)c;{ return a*b; }
is called ONLY in the awakeFromNib and never again, eventhough the
values of a and b changes (via the bindings to the textFields).
What is the trick to make it work?
I was very pleased to see this addition to the cocoa frameworks. I
felt that is was more like adding WODisplayGroup than EOF though. It
did give me hope that EOF in Obj-C must be up there in Apple's
priorities if their going to take full advantage of the new controller
classes.
I hope so... I'd been doing Cocoa/EO for a while and is great, but
difficult to get through since there is no docs, nor support.
I guess Cocoa EOF requires one to write Cocoa/Java? Does anyone have
a good recommendation for a Cocoa/Java programming resource? I have
not been able to get key-value coding to work in Java/Cocoa.
It is not supposed to, but it is.
Take a look to http://wodev.spearway.com/cgi-bin/WebObjects/WODev under
the link CocoaEOApplication to get started... now I will have to update
the doc to 10.3 and 5.2.2, but it will give you a good feeling in how
to start.
Suerte!
Dino
Mike
On Nov 17, 2003, at 2:08 PM, Ricardo Strausz wrote:
Hola!
Finally my Panther arived.
I found out that, in IB (which is still there) there is a new
pallette which includes an object named NSObjectController. As far as
I read in the docs, it is intended to bring part of the functionality
of EOF (more in the filosofy than in facts) by bringing the key-value
paradigm to all objects in a interface. This compleats the MVC
paradigm!
However, it seem to be bugy...
the ExchangeRate tutorial have been changed to use such a new tech,
but it does not run as espected...
Had any one tried?? any comment??
Gracias,
Dino
p.d. I know, it is a bit out off topic, but I realy trust in the
suscribers of this list... hope you can help!!
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.