|
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 | ## DateTools
|
4 | 4 |
|
5 |
| -DateTools was written to streamline date and time handling in Objective-C. Classes and concepts from other languages served as an inspiration for DateTools, especially the [DateTime](http://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx) structure and [Time Period Library](http://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET) for .NET. Through these classes and others, DateTools removes the boilerplate required to access date components, handles more nuanced date comparisons, and serves as the foundation for entirely new concepts like Time Periods and their collections. |
| 5 | +DateTools was written to streamline date and time handling in iOS. Classes and concepts from other languages served as an inspiration for DateTools, especially the [DateTime](http://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx) structure and [Time Period Library](http://www.codeproject.com/Articles/168662/Time-Period-Library-for-NET) for .NET. Through these classes and others, DateTools removes the boilerplate required to access date components, handles more nuanced date comparisons, and serves as the foundation for entirely new concepts like Time Periods and their collections. |
6 | 6 |
|
7 | 7 | [](https://travis-ci.org/MatthewYork/DateTools)
|
8 | 8 | [](http://cocoapods.org/?q=datetools)
|
| 9 | +[](http://cocoapods.org/?q=datetoolsswift) |
9 | 10 |
|
10 | 11 | ####Featured In
|
11 | 12 | <table>
|
@@ -39,12 +40,37 @@ DateTools was written to streamline date and time handling in Objective-C. Class
|
39 | 40 |
|
40 | 41 | **CocoaPods**
|
41 | 42 |
|
| 43 | +Swift |
| 44 | + |
| 45 | +<code>pod 'DateToolsSwift'</code> |
| 46 | + |
| 47 | +Objective-C (Legacy) |
| 48 | + |
42 | 49 | <code>pod 'DateTools'</code>
|
43 | 50 |
|
44 | 51 | **Manual Installation**
|
45 | 52 |
|
46 | 53 | All the classes required for DateTools are located in the DateTools folder in the root of this repository. They are listed below:
|
47 | 54 |
|
| 55 | +Swift (Found in DateToolsSwift/DateTools) |
| 56 | +* <code>Constants.swift</code> |
| 57 | +* <code>Date+Bundle.swift</code> |
| 58 | +* <code>Date+Comparators.swift</code> |
| 59 | +* <code>Date+Components.swift</code> |
| 60 | +* <code>Date+Format.swift</code> |
| 61 | +* <code>Date+Inits.swift</code> |
| 62 | +* <code>Date+Manipulations.swift</code> |
| 63 | +* <code>Date+TimeAgo.swift</code> |
| 64 | +* <code>DateTools.bundle</code> |
| 65 | +* <code>Enums.swift</code> |
| 66 | +* <code>Integer.DateTools.swift</code> |
| 67 | +* <code>TimeChunk.swift</code> |
| 68 | +* <code>TimePeriod.swift</code> |
| 69 | +* <code>TimePeriodChain.swift</code> |
| 70 | +* <code>TimePeriodCollection.swift</code> |
| 71 | +* <code>TimePeriodGroup.swift</code> |
| 72 | + |
| 73 | +Objective-C (Found in DateTools/DateTools) |
48 | 74 | * <code>DateTools.h</code>
|
49 | 75 | * <code>NSDate+DateTools.{h,m}</code>
|
50 | 76 | * <code>DTConstants.h</code>
|
|
0 commit comments