Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Rm all traces of ISO8601DateFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Wright committed Feb 22, 2017
1 parent 5360181 commit 92f1520
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ContentfulSDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@
ED31CEDC1E534D9B007C8E48 /* CDANullabilityStubs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDANullabilityStubs.h; sourceTree = "<group>"; };
ED31CEDE1E534E43007C8E48 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks/CoreData.framework; sourceTree = DEVELOPER_DIR; };
ED31CEE31E534E92007C8E48 /* libAFNetworking.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libAFNetworking.a; path = "../../../../Library/Developer/Xcode/DerivedData/ContentfulSDK-dqokadybfwzbxycecawequgzwmcs/Build/Products/Debug-iphonesimulator/AFNetworking/libAFNetworking.a"; sourceTree = "<group>"; };
ED31CEE51E534EA3007C8E48 /* libISO8601DateFormatter.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libISO8601DateFormatter.a; path = "../../../../Library/Developer/Xcode/DerivedData/ContentfulSDK-dqokadybfwzbxycecawequgzwmcs/Build/Products/Debug-iphonesimulator/ISO8601DateFormatter/libISO8601DateFormatter.a"; sourceTree = "<group>"; };
ED31CEE91E534EBF007C8E48 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
ED31CEEB1E534ED9007C8E48 /* libPods-CDA Tests.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libPods-CDA Tests.a"; path = "../../../../Library/Developer/Xcode/DerivedData/ContentfulSDK-dqokadybfwzbxycecawequgzwmcs/Build/Products/Debug-iphonesimulator/libPods-CDA Tests.a"; sourceTree = "<group>"; };
ED4AD4B61E5CA3F60049B8D4 /* libISO8601.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libISO8601.a; path = "Pods/../build/Debug-iphoneos/ISO8601/libISO8601.a"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -871,7 +870,6 @@
ED4AD4B61E5CA3F60049B8D4 /* libISO8601.a */,
ED31CEEB1E534ED9007C8E48 /* libPods-CDA Tests.a */,
ED31CEE91E534EBF007C8E48 /* UIKit.framework */,
ED31CEE51E534EA3007C8E48 /* libISO8601DateFormatter.a */,
ED31CEE31E534E92007C8E48 /* libAFNetworking.a */,
ED31CEDE1E534E43007C8E48 /* CoreData.framework */,
ED1025911DFEDC1F00BD7ABE /* AFNetworking.framework */,
Expand Down
2 changes: 1 addition & 1 deletion Examples/Shell/SearchDateRange.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
int main(int argc, const char * argv[]) {
NSApplicationLoad();

NSDate* date = [[ISO8601DateFormatter new] dateFromString:@"2013-01-01T00:00:00Z"];
NSDate* date = [NSDate dateWithISO8601String:@"2013-01-01T00:00:00Z"];

CDAClient* client = [CDAClient new];
[client fetchEntriesMatching:@{ @"sys.updatedAt[gte]": date }
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ pod 'ContentfulDeliveryAPI'

In the case you prefer to manage your dependencies manually, you can just drag all files from the `Code` subdirectory into your project or integrate the `ContentfulDeliveryAPI` static library target into your build process. It might be a good idea to add this repository as a [Git submodule][5] if you choose this path.

Be aware that the Contentful Delivery API requires both [AFNetworking][3] and [ISO8601DateFormatter][4] to compile successfully, so you need to provide these dependencies if you do manual integration.
Be aware that the Contentful Delivery API requires both [AFNetworking][3] and [ISO8601][4] to compile successfully, so you need to provide these dependencies if you do manual integration.

### Static Framework

You can [download][8] the Contentful Delivery API as an universal static framework for iOS. Integrate it into your project by unzipping and dragging the `ContentfulDeliveryAPI.framework` into the `Frameworks` group of your project. You can also [download][9] the UFO example application including the static framework, as an example of integrating it into an Xcode project.

The static framework contains [AFNetworking][3] and [ISO8601DateFormatter][4], but they are prefixed so that they do not clash with any copies that might already be part of your application.
The static framework contains [AFNetworking][3] and [ISO8601][4], but they are prefixed so that they do not clash with any copies that might already be part of your application.

It depends on the `SystemConfiguration.framework` not included by default in iOS projects, so open your project file on the `General` tab.

Expand Down Expand Up @@ -158,7 +158,7 @@ Copyright (c) 2014, 2015 Contentful GmbH. See LICENSE for further details.
[1]: https://www.contentful.com
[2]: https://cocoapods.org/
[3]: https://github.com/AFNetworking/AFNetworking
[4]: http://boredzo.org/iso8601dateformatter/
[4]: https://github.com/soffes/ISO8601
[5]: http://git-scm.com/docs/git-submodule
[6]: https://www.contentful.com/developers/docs/references/content-delivery-api/
[7]: http://cocoadocs.org/docsets/ContentfulDeliveryAPI/1.10.4/
Expand Down

0 comments on commit 92f1520

Please sign in to comment.