objective c - Why use CFTimeInterval instead of just double? -


what reason of using cftimeinterval instead of double in objective c?

the actual type used might change 1 platform another, int did when cpus transitioned 32 64bits. also, variables defined platform independent type considered more self descriptive - nobody wonder if cftimeinterval variable in hours, milliseconds, etc, because type documented mean seconds.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -