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
...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
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
).
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
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.
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
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
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
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],
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
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 =
11 matches
Mail list logo