Skip to content

Instantly share code, notes, and snippets.


Clark Wang clarkorz

View GitHub Profile
View angular-ios9-uiwebview.patch.js
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
* The patch can be applied to Angular 1.2.0 1.4.5. Newer versions of Angular
* have the workaround baked in.
* To apply this patch load/bundle this file with your application and add a
View gist:ccce7f1de399c0227ce6
"name": "Person",
"plural": "people",
"base": "PersistedModel",
"properties": {
"firstName": {
"type": "string",
"required": true
"lastName": {
aiwilliams /
Created May 16, 2012
Storyboard in RubyMotion 1.4

Start XCode and create a new Storyboard file. I closed all my other XCode projects. When you choose the location of the created file, it should be your RubyMotion project's resources directory. Add a UIViewController, and set it's identifier property to "Start". Add some UI elements so you can see it working.

When you run rake in your RubyMotion project, it will compile the .storyboard file. You could auto-load the Storyboard using a plist configuration, but you'll see code can do it too.