git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
ּ_בּ | |
בּ_בּ | |
טּ_טּ | |
כּ‗כּ | |
לּ_לּ | |
מּ_מּ | |
סּ_סּ | |
תּ_תּ | |
٩(×̯×)۶ | |
٩(̾●̮̮̃̾•̃̾)۶ |
#!/bin/bash | |
# This script automatically sets the version and short version string of | |
# an Xcode project from the Git repository containing the project. | |
# | |
# To use this script in Xcode 4, add the contents to a "Run Script" build | |
# phase for your application target. | |
set -o errexit | |
set -o nounset |
/* | |
Distributed under The MIT License: | |
http://opensource.org/licenses/mit-license.php | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
# xcode-build-bump.sh | |
# @desc Auto-increment the build number every time the project is run. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
#import <Foundation/Foundation.h> | |
@interface KUtils : NSObject | |
+ (NSString *)getVersionInfo; | |
@end |
Demos from class: | |
https://dl.dropboxusercontent.com/u/7070943/iOS%20Demos.zip | |
Dave Verwer's iOS Weekly: http://iosdevweekly.com/. I like this newsletter a lot, even though I've usually seen the links by the time it comes out it often reminds me I want to bookmark them. | |
Blogs: | |
- Matt Gemmell's blog - Matt is a brilliant UI/UX evangelist with incredible wit (@mattgemmell) | |
- Mike Ash's Friday Q&A - Mostly nitty-gritties, but incredibly helpful (@mikeash) | |
- Cocoa, With Love (Matt Gallagher) - opinion pieces and how-tos, mostly (@mattgallagher) | |
- Cocoa Is My Girlfriend (Marcus Zarra and Matt Long) - Core Data and Core Animation experts (@mzarra and @perlmunger) |
#import <Foundation/Foundation.h> | |
// clang -g -Wall -framework Foundation -o someObject someObject.m | |
@interface SomeObject : NSObject | |
- (void) doSome: (id) stuff for: (id) reasons; | |
@end // SomeObject |
// Add this to your app delegate. | |
// Neither `UINavigationController` nor `UITabBarController` have the slightest decency to ask their | |
// visible view controller whether IT would like to rotate and just go on and do whatever the hell | |
// they please. This'll show 'em. | |
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { | |
UIViewController* topViewController = window.rootViewController; | |
do { | |
// Navigate modal controllers. |
// | |
// CollectionViewDataSource.swift | |
// Khan Academy | |
// | |
// Created by Andy Matuschak on 10/14/14. | |
// Copyright (c) 2014 Khan Academy. All rights reserved. | |
// | |
import UIKit |