Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mejackreed/Swiiift
A IIIF library for Swift
https://github.com/mejackreed/Swiiift
Last synced: about 1 month ago
JSON representation
A IIIF library for Swift
- Host: GitHub
- URL: https://github.com/mejackreed/Swiiift
- Owner: mejackreed
- License: mit
- Created: 2018-02-07T01:09:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T01:13:52.000Z (almost 7 years ago)
- Last Synced: 2024-04-25T23:00:27.260Z (8 months ago)
- Language: Swift
- Size: 239 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-iiif - Swiiift - IIIF presentation API library for Swift. (Presentation API Libraries / Image viewers (Image API only))
README
# Swiiift
[![CI Status](http://img.shields.io/travis/mejackreed/Swiiift.svg?style=flat)](https://travis-ci.org/mejackreed/Swiiift)
[![Version](https://img.shields.io/cocoapods/v/Swiiift.svg?style=flat)](http://cocoapods.org/pods/Swiiift)
[![License](https://img.shields.io/cocoapods/l/Swiiift.svg?style=flat)](http://cocoapods.org/pods/Swiiift)
[![Platform](https://img.shields.io/cocoapods/p/Swiiift.svg?style=flat)](http://cocoapods.org/pods/Swiiift)## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Usage
```swift
let manifest = Manifest(fromUrl: "https://purl.stanford.edu/sn904cj3429/iiif/manifest", completion: { manifest in
print(manifest!.label)
// Other properties are now available on the manifest
})
// Peter's San Francisco Locator. The Birds-Eye-View Map of the Exposition City. Published by Locator Publishing Co
```## Installation
Swiiift is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'Swiiift'
```## Author
Jack Reed, [email protected]
## License
Swiiift is available under the MIT license. See the LICENSE file for more info.