Re: NSPopUpButtonCell -- I need an outlet to gain access to the button
Re: NSPopUpButtonCell -- I need an outlet to gain access to the button
- Subject: Re: NSPopUpButtonCell -- I need an outlet to gain access to the button
- From: "I. Savant" <email@hidden>
- Date: Wed, 16 May 2007 14:34:47 -0400
>> I've only got a couple days into the code at this point.
Sorry for any miscommunication. I'm not in a time constraint. My
comment was that I've only been working on this version for 2 days.
Ah - I understand what you meant now. Sorry. :-)
So, it wouldn't be that bad if I tossed what I've got so far and
starting looking at Bindings.
I wouldn't recommend that right now. I think you should get it
working via table data source methods. It'll help you understand
things better and give you more flexibility to change things later.
Since appear to be having trouble grasping the table data source
methods, you'd greatly benefit from getting a good firm grip on the
idea before moving on to headier topics.
Yes, that is what I was saying. I was simply saying that for a
novice without much help around them, Bindings may be taking a big
step -- especially in the areas of debugging. I've worked through a
couple small sample code projects I found on the web and the app
worked but after that I was stuck with what I had. In other words,
when you give up all the "glue" code etc you lose some control -- or
at least a novice does. To regain that control you need to know what
you're doing in Bindings and be good at fully understanding how it
works. But following the code samples, it all looks easy -- it is
the enhancements that would kill me.
Well, to be fair, you said, "... they seem much faster but also for
the person who isn't an expert ..." The bottom line is that the moment
you start to venture away from a basic interface, you have to
understand the mechanism thoroughly if you're to have any hope of
customizing or debugging it.
With regards to control, you've hit the nail on the head. Any
"convenience" technology takes away control as a matter of course. It
makes assumptions and decisions for you, which may not necessarily be
the right ones. If you establish bindings manually (in code), you can
gain additional control (in many situations) but then again, you're
writing glue code. :-)
In any case, I hope all this helps.
--
I.S.
_______________________________________________
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