Skip to content

Instantly share code, notes, and snippets.

View clark0x's full-sized avatar

Clark Wang clark0x

View GitHub Profile
/**
* ================== 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
@fabien
fabien / gist:ccce7f1de399c0227ce6
Last active August 29, 2015 14:05
Example LDL
{
"name": "Person",
"plural": "people",
"base": "PersistedModel",
"properties": {
"firstName": {
"type": "string",
"required": true
},
"lastName": {
@aiwilliams
aiwilliams / README.md
Created May 16, 2012 13:52
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.