This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol ManagedObject { | |
static var entityName: String { get } | |
} | |
extension ManagedObject where Self: NSManagedObject { | |
static func createWithContext(context: NSManagedObjectContext) -> Self { | |
return Self.createWithContext(context, entityName: self.entityName) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/code _-====-__-======-__-========-_____-============-__ | |
_( coffee _) | |
OO( train )_ | |
0 (_ choo! _) | |
o0 (_ choo! _) | |
o '=-___-===-_____-========-___________-===-dwb-=' | |
.o _________ | |
. ______ ______________ | | _____ | |
_()_||__|| ________ | | |_________| __||___||__ | |
(BNSF 1995| | | | | __Y______00_| |_ _| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HelpfulMacros.h | |
// | |
// Created by Jim Kubicek on 4/19/11. | |
// Copyright 2011 Jim Kubicek. All rights reserved. | |
// | |
// Logging | |
// Based on code from http://cocoaheads.byu.edu/node/6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# AdHocDeployment.sh | |
# Newsgroup | |
# | |
# Created by Jim Kubicek on 4/1/11. | |
# Copyright 2011 jimkubicek.com. All rights reserved. | |
# Update version number | |
agvtool next-version -all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Numbers" | |
set current_cell to cell 0 of selection range of table 0 of sheet 0 of document 0 | |
set value of current_cell to (current date) as string | |
end tell |