ShakeEnvironment icon indicating copy to clipboard operation
ShakeEnvironment copied to clipboard

Shake To Change Scheme or Environment Project

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