Skip to content

balitax/ShakeEnvironment

Repository files navigation

ShakeEnvironment

A way to quickly change the environment or scheme of your xcode project just with shake your device. Support

demo : https://www.youtube.com/watch?v=zrcPlwJMiOY

Screenshoot:

simulator screen shot apr 10 2017 2 00 10 pm simulator screen shot apr 10 2017 2 00 20 pm

Code:

  extend your viewController to `ShakeEnvironmentController`
  implements `ConfigDelegate`
  
  let configs = Config.sharedInstance
  configs.delegate = self
  
  func envShanged(_ env: String) {
		print("ENV \(env)")
  }
  

Pod:

   will be avalaible soon

Releases

No releases published

Packages

No packages published

Languages