Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumberFormatter



On Thu, Aug 28, 2008 at 8:17 PM, J. Todd Slack
<email@hidden> wrote:
> Hi All,
>
> Can anyone show me 10 seconds in the following format:
> "days:hours:minutes:seconds:frames/timescale"
> This is for creating a QTTime which QTTimeFromString.
>
> I am essentially trying to take an NSString (which say is 10) and make it a
> QTTime so that I can set my Selection and clip it to export to AIFF.

Why not just use QTMakeTime? Instead of creating a string to do the same thing?

QTMakeTime(10, 1); // 10 seconds
...or...
QTMakeTime(100, 10); // 10 seconds
...or...
QTMakeTime(300, 30); // 10 seconds

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >NSNumberFormatter (From: "J. Todd Slack" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.