Top "Nstimeinterval" questions

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

Swift- Cannot invoke '-' with an argument list of type (NSNumber , NSTimeinterval)

i am trying to get the current time passes from certain point from the starting point of the app. var …

swift nsnumber nstimeinterval
calculating 'timeIntervalSinceNow' with a negative value (CLLocation example)?

i don't understand this example from the doc : the timeIntervalSinceNow method should show a positive value, but how can we …

objective-c cllocation nstimeinterval
[NSCFString timeIntervalSinceReferenceDate]: unrecognized selector sent to instance

I would like to compare difference between two dates, but with the code below I got the error "[NSCFString timeIntervalSinceReferenceDate]: …

ios nsdate nscalendar nstimeinterval
Convert from NStimeInterval to CMTime accurately

I am using two players one is MPMoviePlayerController and the other is AVPlayer. henever MPMoviePlayerController is seeked, it sets the …

objective-c mpmovieplayercontroller avplayer nstimeinterval cmtime
How to parse an ISO-8601 duration in Objective C?

I'm looking for an easy way to parse a string that contains an ISO-8601 duration in Objective C. The result …

iphone objective-c datetime iso8601 nstimeinterval
How do I count time in iOS?

I don't want to set up a timer that "fires" (and does something) after a certain amount of time has …

objective-c ios nsdate nstimer nstimeinterval