Hi Quincey
> With Objective-C 2.0, I can't think of any reason to stick with an informal
> protocol. Formal protocols mean actual compile-time checking, and they rarely
> blow up in your face any more.
OK, so forget about informal protocols, otherwise known as categories without
implementation
On Mar 1, 2010, at 11:00, Joanna Carter wrote:
> I have a brain the size of a planet and you still expect me to make cogent
> sense of the English language?
No, planet-brain wins. ;)
> Can I just indulge by asking whether the protocol, in this situation, would
> best be formal or informal?
Hi Quincey
> You want to "pass a property"? What does that mean? Never mind -- it's clear
> from your second paragraph that you mean "pass a value". I'm rudely pointing
> this out because using precise terms precisely is important, and you've led
> yourself astray multiple times in this thread
On Mar 1, 2010, at 08:48, Joanna Carter wrote:
> Actually, I don't really want a "dependent" property. All I want is a way to
> be able to pass a property on the main controller class to each of three
> derived array controllers, so that they can use that value to set a property
> on every new
Hi Quincey
> You need to clarify your thinking. What you want (it appears) is a KVO
> derived property in a certain class -- in this case, one whose value is
> dependent on a property in a different class.
Actually, I don't really want a "dependent" property. All I want is a way to be
able to
On Mar 1, 2010, at 05:45, Joanna Carter wrote:
> Does it help if I rephrase my question?
>
> How can I derive from an existing class and add a means of binding a property
> on the derived class to a property of another object?
>
> It would seem, from Ken's response (and from common sense thinki
Hi folks
Does it help if I rephrase my question?
How can I derive from an existing class and add a means of binding a property
on the derived class to a property of another object?
It would seem, from Ken's response (and from common sense thinking :-) ) that
an outlet is not suitable as that c
Hi Ken
> Why do you think that? What aspect of your design leads you to that
> conclusion?
I have a one-to-many relationship between two classes but, with a slight
twist...
MasterObject 1..n DerivedDetailObject
DerivedDetailObject inherits from BaseDetailObject
BaseDetailObject n..1 MasterO
On Feb 28, 2010, at 11:48 AM, Joanna Carter wrote:
> I think I need to add an outlet to an array controller.
Why do you think that? What aspect of your design leads you to that conclusion?
> Thus I have created a derived class and added the outlet to the class.
Normally, an outlet would be som
Hi Folks
I think I need to add an outlet to an array controller. Thus I have created a
derived class and added the outlet to the class.
@interface AccountingPeriodArrayController : NSArrayController
{
}
@property (nonatomic, retain) IBOutlet AccountingPeriod *accountingPeriod;
@end
Now, what
10 matches
Mail list logo