OHHHHH!!
You are right.. 
I  forgot my discrete maths classes... :S

so I have to  return an array isn't it?


ok I wil create the proper method to return the NSArray;

g.




On 15.5.2010, at 20:14, Quincey Morris wrote:

> On May 15, 2010, at 10:42, Gustavo Pizano wrote:
> 
>>      NSSet * sortedtoRet = [NSSet setWithArray:[[toRet allObjects] 
>> sortedArrayUsingDescriptors:[NSArray arrayWithObject:descriptor]]];
>>      return sortedtoRet;
>> }
>> 
>> but :S.. of course it doesn't work, 
>> I read I can apply to the NSFetchRequest the NSSortDEscriptor, but I already 
>> have the Invoice fetched from the NSArrayController of invoices... 
>> 
>> What shall I modify in the accesor  in order to get always  ordered the 
>> ItemsXInvoice NSSet form the instance of Invoice?... 
> 
> Um, you're returning a *set*. It's not ordered. It's a set. Sets don't have 
> an order. As in *un*ordered. See where this is going? :)
> 
> 
> _______________________________________________
> 
> 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/gustavxcodepicora%40gmail.com
> 
> This email sent to gustavxcodepic...@gmail.com

_______________________________________________

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 arch...@mail-archive.com

Reply via email to