Return value of performSelector:onThread:?

2010-10-08 Thread Abhi Beckert
ithObject: ? - Abhi - - - Kind Regards, Abhi Beckert Senior Programmer Precedence - Websites. Hosting. Marketing. 1300 363 160 http://precedence.com.au ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Return value of performSelector:onThread:?

2010-10-10 Thread Abhi Beckert
Thanks guys! I'm much happier about that. I still have a lot to learn about blocks. :) - Abhi - - - Kind Regards, Abhi Beckert Senior Programmer Precedence - Websites. Hosting. Marketing. 1300 363 160 http://precedence.com.au On 2010-10-09, at 6:01 AM, Bill Bumgarner wrote: > &g

Re: Problem using dictionary

2010-10-18 Thread Abhi Beckert
On 2010-10-09, at 6:14 AM, Remco Poelstra wrote: > That seems reasonable, but makes the documentation harder to read. In the old > days where I used Delphi, the inherited methods were all shown as such and it > gives a direct overview of what is available. Especially in this case, where > the

dispatch_sync() lockup workaround

2010-10-19 Thread Abhi Beckert
Hi, According to the documentation dispatch_sync(dispatch_get_main_queue(), ^{ ... }) will lockup if you are already on the main queue. I have several methods which can be called from either a background queue or the main queue, but parts of them *must* be run on the main queue. What is a clea

[NSArray filteredAraryUsingPredicate:] performance?

2010-10-21 Thread Abhi Beckert
Hi, I have this code: - (NSArray *)products { if (products) return products; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"visible = 1"]; products = [[self.category.products allObjects] filteredArrayUsingPredicate:predicate];

Re: [NSArray filteredAraryUsingPredicate:] performance?

2010-10-21 Thread Abhi Beckert
On 2010-10-22, at 1:32 PM, Graham Cox wrote: > On 22/10/2010, at 2:19 PM, Abhi Beckert wrote: > >> How much does performance/memory suffer from using >> filteredArrayUsingPredicate? > > You state it doesn't matter, then you worry that it might. > > With a

Non-data backed UITableView?

2010-10-27 Thread Abhi Beckert
Hi, All the examples I can find for UITableView use an array or core data to populate their contents. What about a table view like in the settings app, where you have a random assortment of cells, with odd grouping, and often varying cell types (eg, images and toggle switches)? I have a few of

Re: Writing an Uninstaller

2010-10-28 Thread Abhi Beckert
On 2010-10-29, at 12:14 PM, eveningnick eveningnick wrote: > Thank you guys for answer, but the problem still remains for me > >> HI , >> launch an applescript / shell script when uninstall button is clicked . >> This should first quit the App and wait for it to terminate and then delete >>

NSFetchedResultsController fetchedObjects changing?

2010-12-10 Thread Abhi Beckert
Hi, I have a UITableView, with a datasource using array of NSDictionary objects for the view (it used to be more complicated, but I've changed it to track down a bug). I have a single method which builds the array of dictionary's: - (void)reloadInspectionResults { if (dispatch_get_curr