https://github.com/contentful/gallery-app-ios
An iOS application example for the gallery space template.
https://github.com/contentful/gallery-app-ios
Last synced: 10 months ago
JSON representation
An iOS application example for the gallery space template.
- Host: GitHub
- URL: https://github.com/contentful/gallery-app-ios
- Owner: contentful
- License: mit
- Archived: true
- Created: 2015-02-03T11:25:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T13:43:24.000Z (over 2 years ago)
- Last Synced: 2024-09-27T10:04:04.237Z (almost 2 years ago)
- Language: Swift
- Size: 225 KB
- Stars: 27
- Watchers: 9
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gallery
[](https://itunes.apple.com/app/id975142754)
This is an iOS application example for the [Contentful][1] gallery space template.
[Contentful][1] is a content management platform for web applications, mobile apps and connected devices. It allows you to create, edit & manage content in the cloud and publish it anywhere via powerful API. Contentful offers tools for managing editorial teams and enabling cooperation between organizations.
## Usage
- Create a space with the "Gallery" space template on [Contentful][1]
- Clone this repo and setup [CocoaPods][2] for it:
First install (cocoapods-keys)[https://github.com/orta/cocoapods-keys] if is not already installed. (NOTE: If you are not using the default system Ruby, you must make sure that you `chown` your `~/.gems` directory, in order to install gems without the `sudo` keyword.
```
pod plugins install cocoapods-keys
```
```
$ make setup
```
- Use cocoapods-keys to setup your space credentials for it:
```
$ bundle exec pod keys set GallerySpaceId $YOUR_SPACE_ID
$ bundle exec pod keys set GalleryAccessToken $YOUR_ACCESS_TOKEN
```
- Now you're ready to use it!
## Customizing
- You can easily drop the [Contentful][1] related branding by removing 'ContentfulDialogs' and 'ContentfulStyle' from the Podfile. You will need to remove the `addInfoButton()` function from the `UIViewController` extension, as well as replace usages of our fonts and colors. In addition to that, update the bridging header as there are now some header files missing.
- The app has support for the 'contentful-gallery://' custom URL scheme, you should also remove that if you are using the template for your own application.
## License
Copyright (c) 2015 Contentful GmbH. See LICENSE for further details.
[1]: https://www.contentful.com
[2]: http://cocoapods.org