On Apr 28, 2009, at 5:09 AM, Arun wrote:
For the first table i have used the an array in my controller and
this array
has been set as content array in the ArrayController object.
Now when i double click in need to bind the table in the sheet to
the the
subjectDetails array. I am not able to
On Oct 28, 2008, at 12:58, Quincey Morris wrote:
return [NSSet set withObject: @"filePath"];
Er, I meant:
return [NSSet setWithObject: @"filePath"];
Also, I think it's worth adding that it's also not bad practice to
have properties that are not KVO-complia
Well, I think that pretty much answers all my questions! Thanks a lot
for the detailed explanation! I understand the KVC/KVO principle much
better now! :)
Jean-Nicolas Jolivet
Quincey Morris wrote:
On Oct 28, 2008, at 12:30, Jean-Nicolas Jolivet wrote:
One more thing, you mentioned the term
On Oct 28, 2008, at 12:30, Jean-Nicolas Jolivet wrote:
One more thing, you mentioned the term "KVO Compliance"... I
understand that this means to send the proper notifications when a
change to my property has been made...
But: would it be considered bad practice if my file class does have
Mmmm seems like value transformer would be another way to do it! I will
definitely look into both methods! Since my property is in fact only
used for display purposes, I guess it would make sense to use a
transformer to display it...
Jean-Nicolas Jolivet
David Duncan wrote:
On Oct 28, 2008,
Thanks a lot, this was extremely helpful!
One more thing, you mentioned the term "KVO Compliance"... I understand
that this means to send the proper notifications when a change to my
property has been made...
But: would it be considered bad practice if my file class does have a
property that
On Oct 28, 2008, at 00:19, Jean-Nicolas Jolivet wrote:
Is it ok to bind my column to a property that is, in fact, not a
property but just a method that returns a string... or should I
create an actual instance variable "NSString *fileName" with a
regular getter and setter?
A property
On Oct 28, 2008, at 12:19 AM, Jean-Nicolas Jolivet wrote:
Now, assuming I want to bind an array of those File objects to a
Table View, however, what I would like to display in the table's
column is not the complete path of the file, but just the file name
(that I get with [filePath lastPath