Questions tagged [nstimeinterval]

an Objective-C Foundation Data Type that specifies a time interval

NSTimeInterval is an Foundation Data Type that specifies a time interval. NSTimeInterval values are in seconds.

Resources

Related Tags

364 questions
-3
votes
1 answer

How to get tenths of second, hundredth of second, etc from an NSTimeInterval

How do I get tenths of second, hundredth of second, millisecond, etc. from an NSTimeInterval in Swift?
-3
votes
1 answer

How to add two Strings, string having TimeIntervals?

I have two strings with time interval data. I want to add that two time intervals and store into another string. This is my data NSString *oldTime=@"00:24"; //Time format is "mm:ss" NSString *newTime=@"00:07"; //Time format is…
Ramesh Rayadurgam
  • 75
  • 1
  • 1
  • 10
-4
votes
1 answer

How to convert string 24hrs type time into 12hrs time

From response I have set time in String, its contains HH: mm format the task is I have to convert that string into 12hrs time interval with AM and PM in another string to display results For example "16:36:00.000Z" I want my result like 4:36 PM Here…
-4
votes
1 answer

Initialise CATransition duration with NSNumber

I want to initialise the duration of a CATransition with a NSNumber, how do i do this, since the animation.duration is a NSTimeInterval object? - (void)startPopUpAnimation:(NSNumber *)numbers { CATransition *animation = [CATransition…
bruno
  • 2,154
  • 5
  • 39
  • 64
1 2 3
24
25