Skip to content

Instantly share code, notes, and snippets.

Avatar

Camron cshimy

View GitHub Profile
@cshimy
cshimy / ModelManager.swift
Created Jul 1, 2015
Model Manager with Core Data and iCloud Support
View ModelManager.swift
//
// ModelManager.swift
// AppName
// Remember to add the iCloud entitlement under the project capabilities
//
import Foundation
import CoreData
let kCoreDataUpdated: String = "coreDataUpdated"
View index.html
<html>
<head>
<title>Sample</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0.beta6/handlebars.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
var RenderMaster = function () {