[![CI Status](http://img.shields.io/travis/Wimansha Chathuranga/CraftacasePublic.svg?style=flat)](https://travis-ci.org/Wimansha Chathuranga/CraftacasePublic)
To run the example project, clone the repo, and run pod install
from the Example directory first.
works on iOS 8+
CraftacasePublic is available through CocoaPods. To install it, simply add the following lines to your Podfile:
source 'https://github.com/wimansha/wimansha-podspecs'
pod "CraftacasePublic"
pod repo add wimansha-podspecs https://github.com/wimansha/wimansha-podspecs.git
Import craftacasepublic.h
#import <craftacasepublic/craftacasepublic.h>
Present ACCLibNavigationController instance with an Artwork image.
UIImage *image = [UIImage imageNamed:@"Artwork"];
ACCLibNavigationController *viewController = [[ACCLibNavigationController alloc] initWithImage:image];
viewController.libNavigationControllerDelegate = self;
[self presentViewController:viewController animated:YES completion:nil];
Add following "Exception Domains" to "App Transport Security Settings" in info.Plist
craftacase.com, akamaihd.net, facebook.com, fbcdn.net
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>craftacase.com</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>facebook.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
Wimansha Chathuranga, [email protected]
CraftacasePublic is available under the MIT license. See the LICENSE file for more info.