Performance

2009-11-15 Thread Chris Carson
Hi all, A performance related question: I've written a Cocoa app that continuously reads data from a USB device and plots it on a graph. It consists of three of my own classes. The first class is the model that submits asynchronous bulk reads to the USB device. The callback for these reads cop

Re: usb notification

2009-09-08 Thread Chris Carson
> >IOReturnkernErr; > > You never seem to check for errors. Please ensure > your calls are > succeeding by checking the value of this variable. If > they're > failing, use macerror(1) to look up the error number. IOServiceAddMatchingNotification() returns no errors (0).

usb notification

2009-09-08 Thread Chris Carson
Hi all, Can't get a simple example working. AppearedNotificationHandler() should be called in the code below when a USB device (any device for now) is plugged in. I see the NSLog(@"registerDeviceCallbackHandler") message appear in the console when I start the application, but never see the NSL

NSTableView bug?

2009-07-02 Thread Chris Carson
Hello, I've created a simple application with an NSTableView. I have written a delegate for this table, numberOfRowsInTableView:objectValueForTableColumn:row:, that returns the number of rows in the table when requested. My application uses the table view to display hexadecimal data on a flas

Re: instance management in IB

2009-05-11 Thread Chris Carson
Hi Jon, Thanks! That did the trick -- I was way off. Chris - Original Message > From: Jonathan Hess > To: Chris Carson > Cc: cocoa-dev@lists.apple.com > Sent: Tuesday, May 12, 2009 1:19:11 AM > Subject: Re: instance management in IB > > Hey Chris - >

instance management in IB

2009-05-11 Thread Chris Carson
Hello, I've been scratching my head trying to get a basic delegate/data source Cocoa/AppKit program working and feel that I'm misunderstanding something basic (I've included the code is at the end). I set a breakpoint within the if statement in the init method of MyModel and see it called mor