Skip to content

growthbeat/Growthbeat-SDK-iOS-Starter-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Growthbeat SDK iOS Starter Project

Podspec license

Install

$ git clone git@github.com:growthbeat/GrowthbeatStaterProject.git

Usage

1. Add the Growthbeat SDK to your Xcode Project

CocoaPods

Add the following line to your Podfile:

pod 'Growthbeat'
pod 'GrowthLink', :podspec => 'https://gist.githubusercontent.com/sotayamashita/27f091b8c83c83f3415a/raw/12e6f5d9b5361c75f2fc3d42cbcf4704712a02e9/GrowthLink.podspec'

Run pod install, and you should now have the latest Growthbeat release.

Manually

There are two ways to import libraries:

  1. Drag the <service>.framework to Frameworks in Project Navigator.
  2. Build Phases -> Link Binary With Libraries -> Add Other ... and choose <service>.framework.

2. Fill in with your Growthbeat application and credential id

Objective-C (AppDelegate.m#L23-L27)

// ****************************************************************************
// Uncomment and fill in with your Growthbeat application id and credentials:
// NSString *growthbeatAppID = @"Your Growthbeat application ID";
// NSString *grwothCredentialID = @"Your Growthbeat credential ID";
// ****************************************************************************

Swift (AppDelegate.swift#L27-L30)

// ****************************************************************************
// Uncomment and fill in with your Growthbeat application id and credential id:
// let growthbeatApplicationID = "Your Growthbeat application ID"
// let growthbeatCredentialID = "Your Growthbeat credential ID"
// ****************************************************************************

License

BSD-3-Clause © SIROK, Inc.

About

🐒 Growthbeat SDK iOS Starter Project with Objective-C and Swift for beginner

Resources

License

Stars

Watchers

Forks

Packages

No packages published