Hi,
I am getting some weird warnings that I can't figure out.
/Development/Contracting Code/iTask-iPhone/trunk/iTask/Classes/
iTaskAppController.m:103: warning: assignment from distinct Objective-
C type
/Development/Contracting Code/iTask-iPhone/trunk/iTask/Classes/
iTaskAppController.m:98: warning: 'CalCalendarStore' may not respond
to '-taskPredicateWithCalendars:'
/Development/Contracting Code/iTask-iPhone/trunk/iTask/Classes/
iTaskAppController.m:98: warning: (Messages without a matching method
signature
And here is the actual code
NSPredicate *taskPredicate = [[CalCalendarStore defaultCalendarStore]
taskPredicateWithCalendars:[[CalCalendarStore
defaultCalendarStore] calendars]];
taskPredicateWithCalendars: is from the class CalCalendarStore so why
is it saying 'CalCalendarStore' may not respond to '-
taskPredicateWithCalendars:'
Here is the method declaration in the docs, From the class
CalCalendarStore:
taskPredicateWithCalendars:
Returns an NSPredicate object that specifies tasks that belong to the
specified calendars.
+ (NSPredicate *)taskPredicateWithCalendars:(NSArray *)calendars
Parameterscalendars
An array of CalCalendar objects that the tasks must belong to.
Return Value
An NSPredicate object that specifies tasks that belong to the
specified calendars.
Availability
• Available in Mac OS X v10.5 and later.
Declared InCalCalendarStore.h
Can anyone see what I am doing wrong. I just don't get this and of
course if I try to debug this, it freezes on that line of code.
Thanks in advance.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]