Re: Best way to handle this

2009-01-08 Thread Ken Thomases
On Jan 8, 2009, at 7:49 PM, Nathan Kinsinger wrote: On Jan 8, 2009, at 4:20 PM, development2 wrote: I am hoping someone can help me figure out the best way to handle this, I am sure someone out there has some experience with this. I have some code that sends a command to an external hardwar

Re: Problem sending notification from C callback function

2009-01-08 Thread Ken Thomases
On Jan 8, 2009, at 7:57 PM, Sandro Noel wrote: I have this callback from DiskArbritation framework and I would like to send a notification to my app. but it does not seem to work. Does not seem to work in what way? Are you getting compiler errors or warnings? Crashes at runtime? What?

Weird problem: Application terminates unexpectedly after closing NSOpenPanel sheet

2009-01-08 Thread Oleg Krupnov
Here is my code: //- - (IBAction)scanFolder:(id)sender { NSOpenPanel* openPanel = [NSOpenPanel openPanel]; [openPanel setCanChooseDirectories:YES]; [openPanel setCanChooseFiles:N

Re: Resetting the TableView

2009-01-08 Thread Davide Benini
Hi, note that viewDidLoad gets called only the first time the view is loaded (thence its use or setting the hierarchy, things that don't change). Also, note the implementation of viewWillAppear:animated: -(void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated];

<    1   2