All Projects → contentful → gallery-app-ios

contentful / gallery-app-ios

Licence: MIT license
An iOS application example for the gallery space template.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
Makefile
30231 projects
objective c
16641 projects - #2 most used programming language

Gallery

This is an iOS application example for the Contentful gallery space template.

Contentful 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
  • Clone this repo and setup CocoaPods 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 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].