Skip to content

Xcode project setup

Paul Adams edited this page Feb 21, 2014 · 1 revision

These steps will show you how to set up a new Xcode project to use MRA-UI

In order to use MRA-UI, open a shell, go to the directory where you want to put your iOS Xcode projects, and perform the following steps:

    git clone https://github.com/mradev/MRA-UI.git

Xcode 4/5:

  • Drag the MRA-UI.xcodeproj file from the Finder into your project (drop it in the Project Navigator pane on the left)

  • Go to project settings by clicking on your project's blue icon, then select the main target of your app under "Targets"

  • Under "Build Phases", then "Target Dependencies", click the plus icon and add MRAUI

  • Under "Build Phases", then "Link Binary With Libraries", click the plus icon to choose the frameworks/libraries we need to add. Add libMRAUI.a.

  • Under "Build Settings", find the entry "User Header Search Paths". Add a recursive entry for your base MRA-UI Directory.

  • Under "Linking", find the entry "Other Linker Flags". Add -all_load -ObjC for both Debug and Release

Examples

There are examples of all classes in the projects iPad and iPhone storyboards

Clone this wiki locally