I'd like to calculate how many "da开发者_运维问答ys, minutes, second" are left until some date. How might one do this using Objective-C?
You don't mention the exact environment you're in, but I'll assume you have access to the Foundation framework. I think you want to review Calculating Temporal Differences from the Date and Time Programming Guide.
精彩评论