mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-03-29 05:41:57 +02:00
Updated Basic Installation (markdown)
@@ -18,11 +18,17 @@ Go to your project targets's Project Settings, then to Build Phases. Under "Targ
|
||||
|
||||
Still in Build Phases, under "Link Binary With Libraries", drag the `Armchair.framework` from the source pane over to the list. There are 2 frameworks: drag the first one for iOS, the second for OSX
|
||||
|
||||
### Step 5: Copy Armchair Localization Resources (optional)
|
||||
### Step 5: Add Copy Frameworks Phase
|
||||
|
||||
(This step was not shown in video, but is essential for iOS 7 development)
|
||||
|
||||
Still in Build Phases, click on the + button at the top left of the panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add Armchair.framework.
|
||||
|
||||
### Step 6: Copy Armchair Localization Resources (optional)
|
||||
|
||||
If you added `ArmchairLocalization` to your target dependencies and want to localize, you need to grab the localization bundle which contains the translation strings. Still in Build Phases, under "Copy Bundle Resources", drag the `Armchair.bundle` from the source pane over to the list. There are 2 bundles: drag the first one for iOS, the second for OSX
|
||||
|
||||
### Step 6: Add 1-Line of Required Armchair Code
|
||||
### Step 7: Add 1-Line of Required Armchair Code
|
||||
|
||||
Open your AppDelegate and insert `import Armchair` at the top of the file.
|
||||
|
||||
@@ -32,6 +38,6 @@ Setup Armchair in the overridden `initialize()` method so that it loads and can
|
||||
Armchair.appID("12345678")
|
||||
}
|
||||
|
||||
### Step 7: Add Optional Armchair Code (optional)
|
||||
### Step 8: Add Optional Armchair Code (optional)
|
||||
|
||||
There are a million ways to configure Armchair for more advanced and customized setups. Check the [README](https://github.com/UrbanApps/Armchair/blob/master/README.md) for more info.
|
||||
|
||||
Reference in New Issue
Block a user