- Christopher Downer: Designing Custom Interfaces, slides missing
- Katrin Apel: Mobile Backends as a Service - Ready for Production?, slides
- Max Seelemann: TextKit For The Rest Of Us, slides
- David Rönnqvist: OpenGL (ES) demystified, slides missing
- Nick Lockwood: Image Performance, slides
- Eric Allam: Beyond the Basics - Building Better Transitions on iOS 7, slides
- Sally Shepard: accessibility & voice over, slides missing
- [Rachel Andrew](https://twitter.com/rachelandrew
This file contains 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
#import <Foundation/Foundation.h> | |
#import <AddressBook/AddressBook.h> | |
@interface SFBestGuess : NSObject { | |
NSMutableArray *_cities; | |
NSMutableArray *_states; | |
NSMutableArray *_zipCodes; | |
} | |
@property (nonatomic, retain) NSMutableArray *cities; |
This file contains 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
#import <Foundation/Foundation.h> | |
@interface NSString (Mod97Check) | |
- (BOOL)passesMod97Check; // Returns result of mod 97 checking algorithm. Might be used to check IBAN. | |
// Expects string to contain digits and/or upper-/lowercase letters; space and all the rest symbols are not acceptable. | |
@end |
This file contains 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/bash | |
# | |
# Let's you know when your pods should be updated right after a git pull or git merge | |
# Also works for fast-forward pulls. | |
# | |
# To enable this hook for your project, save it as .git/hooks/post-merge | |
diff "Podfile.lock" "Pods/Manifest.lock" > /dev/null | |
if [ $? != 0 ] ; then |
This file contains 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
#!/usr/bin/env bash | |
/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift |
This file contains 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 | |
## | |
## Create a folder at /var/teamsserver/ and set the user and group to _teamsserver | |
## Copy this script to /Applications/Xcode.app/Contents/Developer/usr/share/git-core/templates/hooks/post-checkout | |
## | |
export LC_ALL="en_US.UTF-8" | |
export HOME="/var/teamsserver/" |
This file contains 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 | |
PLIST_BUDDY=/usr/libexec/PlistBuddy | |
xcode-plugin-add-compatibility() { | |
"$PLIST_BUDDY" -c "Add DVTPlugInCompatibilityUUIDs:10 string $2" \ | |
"$1/Contents/Info.plist" | |
} | |
xcode-plugin-has-compatibility() { |
This file contains 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
import Foundation | |
import UIKit | |
/// Used to create a layout guide that pins to the top of the keyboard | |
final class KeyboardLayoutGuide { | |
private let notificationCenter: NotificationCenter | |
private let bottomConstraint: NSLayoutConstraint |
This file contains 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
// UICollectionView Objective-C example | |
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
NSIndexPath *selectedIndexPath = [[self.collectionView indexPathsForSelectedItems] firstObject]; | |
if (selectedIndexPath != nil) { | |
id<UIViewControllerTransitionCoordinator> coordinator = self.transitionCoordinator; | |
if (coordinator != nil) { | |
[coordinator animateAlongsideTransition:^(id<UIViewControllerTransitionCoordinatorContext> context) { |