Latest | 0.1 |
---|---|
Homepage | https://github.com/akeaswaran/AEGfycatHandler |
License | MIT |
Platforms | ios 7.0, requires ARC |
Frameworks | UIKit |
Authors |
An simple Objective-C wrapper for the Gfycat API.
Installation
Just drag and drop the AEGfycatHandler folder into your Xcode project and import AEGfycatViewerController.h
or AEGfycatHandler.h
where needed. Alternatively, you can add pod 'AEGfycatHandler'
to your Podfile and have CocoaPods import the files for you.
If you are supporting iOS 9.0+, you will also need to add the following to your Info.plist file in order for AEGfycatHandler to work correctly.
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<false/>
<key>NSExceptionDomains</key>
<dict>
<key>gfycat.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSTemporaryExceptionMinimumTLSVersion</key>
<string>TLSv1.1</string>
</dict>
</dict>
</dict>
Usage
It is recommended to use AEGfycatViewerController
or a custom subclass of it to handle all of your Gfycat needs, but if you want to use another custom view controller to handle Gfycat viewing, you can import AEGfycatHandler.h
and call the methods you need.
Refer to AEGfycatViewerController.h
and AEGfycatHandler.h
for more information on how to use AEGfycatHandler.
License
See License.md.
Latest podspec
{ "name": "AEGfycatHandler", "version": "0.1", "license": { "type": "MIT", "file": "LICENSE.md" }, "homepage": "https://github.com/akeaswaran/AEGfycatHandler", "authors": { "Akshay Easwaran": "[email protected]" }, "summary": "A simple Objective-C wrapper for the Gfycat API.", "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/akeaswaran/AEGfycatHandler.git", "tag": "0.1" }, "frameworks": "UIKit", "requires_arc": true, "source_files": [ "AEGfycatHandler/AEGfycatHandler.{h,m}", "AEGfycatHandler/AEGfycatViewerController.{h,m}" ] }
Sat, 05 Mar 2016 02:36:03 +0000