Sorry, forgot to cc the group on this.
:// Jake
-- Forwarded message --
From: Jake Carter <[EMAIL PROTECTED]>
Date: Wed, May 21, 2008 at 9:14 AM
Subject: Re: Trying to understand -- please help...
To: john darnell <[EMAIL PROTECTED]>
Ok, I'm somewhat of a beg
As far as I understand it, you can omit the 'retain' if your property
is readonly. You are correct that the retain is only for assignments.
"Specifies that retain should be invoked on the object upon assignment."
From:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articl
Murph,
Thanks for the info. This is a really great place for me to start.
:// Jake
On Apr 20, 2008, at 8:56 AM, Sean Murphy wrote:
On Apr 20, 2008, at 1:13 AM, Jake Carter wrote:
So the AppDelegate will contain an array of Foo object and each Foo
object will have an array of Bar objects
Hey guys,
I have a KVO question. First, the setup:
Foo
NSMutableArray *bars;
Bar
NSString *name;
int number;
AppDelegate
NSMutableArray *foos;
So the AppDelegate will contain an array of Foo object and each Foo
object will have an array of Bar objects. I want to be able to obser
You may also want to look in to NSPredicate and an arrays
'filteredArrayUsingPredicate:' method.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSPredicate_Class/Reference/NSPredicate.html
http://theocacao.com/document.page/346
http://developer.apple.com/documentati
Hey Guys,
I'm trying to use NSPredicate to filter an array. Here's the structure of my
array
ArrayOfFoos:
Foo: (Custom Object)
Bars: (NSArray *)Bar: (Custom Object)
Baz = 1 (int Property on custom object)
Bar:
Baz = 3
...