On Apr 27, 2010, at 14:55:25, davecotter wrote:
> sorry i'm just learning ObjC, i thought "optional" parameters were literally 
> optional.

Nope. The parameter names are all part of the selector, which is the method's 
name. Omit a parameter and you're talking about a different method, because 
it's a different selector. Order matters, too.

“Optional” just means you can pass nil there. For priority (which takes an 
integer, not an object pointer), pass 0.

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to