Awesome Open Source
Awesome Open Source

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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Swift (69,083
Multi (108
Multi Environment (19
Shake Detection (15