iTunes Match vs DRM

2012-07-18 Thread Kevin Dixon
Hello, I am developing an application for iOS, which is accessing the users iPod library. I am using AVAssetReader to read the raw PCM data. To do this I must retrieve the asset URL with property MPMediaItemPropertyAssetURL. My understanding is that if the MPMediaItem is unplayable due to DRM it

Re: Need for a creator code?

2008-04-05 Thread Kevin Dixon
...but since most uses of documents over time tend to be to view... That really, really sticks out for 2 reasons: 1) for the person creating the documents, that's not so true and 2) it really hints at the MS/media cartel attitude that users are, or ideally should be, mere passive

Re: NSAutoreleasePool causes crashes when empty?

2008-04-03 Thread Kevin Dixon
but empty NSAutoreleasePool is perfectly harmless. Kevin Dixon wrote: I have a method in my class that's a thread entry point, using detachNewThreadSelector. According to the docs, I create an NSAutoreleasePool and release it at the end of the thread's life (right before [NSThread exit

Re: disabling NSButton?

2008-03-22 Thread Kevin Dixon
). Is there anything wrong with this approach, or should I call the updateActionEnabledState along with calling reloadData? -Kevin On Fri, Mar 21, 2008 at 2:46 PM, Kevin Dixon [EMAIL PROTECTED] wrote: I needed to call [uiButton displayIfNeeded] instead of setNeedsDisplay Where are you doing

Re: sheet appears as normal window?

2008-03-21 Thread Kevin Dixon
You probably forgot to connect your window controller's window outlet in Interface Builder, so [self window] is nil. If the window for the sheet is nil, you get a window instead. Yes, this was it, I wasn't aware of that, I assumed window was a method that got the associated window, ala Win32.

Creating custom sheets

2008-03-20 Thread Kevin Dixon
I want to create a custom sheet that displays a bit of text, a progress bar and an abort button. The Apple docs say use interface builder to make the UI for the sheet, but what should I add to my NIB, a window, panel, or custom view? Thanks -Kevin

sheet appears as normal window?

2008-03-20 Thread Kevin Dixon
I couldn't find any documentation on how to create a custom sheet's view, so I did it as a Panel. I have the panel as an outlet of my primary window controller. I then call beginSheet, as shown here [NSApp beginSheet: uiAnalysisResultsSheet

Re: Convert NSString to FSRef

2008-03-17 Thread Kevin Dixon
Thanks for all the feed back, its been most helpful. -Kevin On Mar 15, 2008, at 12:04 PM, Kevin Dixon wrote: I'm trying to write a method that will convert a NSString containing a file system URL to an FSRef with the following code - (FSRef)stringToFSRef: (NSString*)filePath { FSRef

Convert NSString to FSRef

2008-03-15 Thread Kevin Dixon
I'm trying to write a method that will convert a NSString containing a file system URL to an FSRef with the following code - (FSRef)stringToFSRef: (NSString*)filePath { FSRef output; CFStringRef cfFilePath = CFStringCreateWithCString(NULL, [filePath cString],

Re: Quit application when window closes

2008-03-11 Thread Kevin Dixon
Your window controller will need the method - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)inSender { return YES; } and then you need to specify the window controller as the delegate for the application [NSApp setDelegate:self]; I do that in awakeFromNib, but

Causing CFLog error messages

2008-03-10 Thread Kevin Dixon
Hi, I'm new to Cocoa development...I've started an app that's going to be a simple Audio Unit host. Anyway, when I start up my app, in the Run Log I these errors 2008-03-10 02:30:08.571 StretchFix[2232] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x3103, name =