文件名称:MCDateExtensions:日期类的扩展
文件大小:55KB
文件格式:ZIP
更新时间:2024-05-28 13:26:11
Objective-C
MCDateExtensions-与NSDate一起玩。 # import " NSDate+MCExtensions.h " - ( void )funWithMCDateExtensions { NSDate * today = [ NSDate date ]; // Today? Tomorrow? Yesterday? [today isToday ]; // returns YES [today isYesterday ]; // returns NO [today isTomorrow ]; // returns NO // Compare based on day [today isSameDayAsDate: [ NSDate date ]]; // Most likely returns YES // Get all the details
【文件预览】:
MCDateExtensions-master
----MCDateExtensions.podspec(590B)
----.travis.yml(252B)
----_Pods.xcodeproj(27B)
----LICENSE.md(1KB)
----Example()
--------Pods()
--------Podfile.lock(237B)
--------Tests()
--------Podfile(253B)
--------MCDateExtensions.xcworkspace()
--------MCDateExtensions()
--------MCDateExtensions.xcodeproj()
----README.md(3KB)
----MCDateExtensions()
--------NSDate+MCExtensions.h(5KB)
--------NSDate+MCExtensions.m(14KB)
----.gitignore(617B)