• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSNumberFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumberFormatter


  • Subject: Re: NSNumberFormatter
  • From: "Shawn Erickson" <email@hidden>
  • Date: Thu, 28 Aug 2008 21:08:35 -0700

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:

This email sent to email@hidden

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

  • Prev by Date: NSUserDefaultsController and validation
  • Next by Date: Re: mark added object in NSArrayController as "dirty"?
  • Previous by thread: NSNumberFormatter
  • Next by thread: NSUserDefaultsController and validation
  • Index(es):
    • Date
    • Thread