Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Downloadable code examples for my books, "iOS 8 Programming Fundamentals With Swift" (bk1) and "Programming iOS 8" (bk2).
Objective-C Swift Other
Branch: master
Failed to load latest commit information.
bk1ch01p015yourFirstInstance add more example code from the first book
bk1ch01p017instanceProperties add more example code from the first book
bk1ch02p028basicFunctions add more example code from the first book
bk1ch02p032paramNames add more example code from the first book
bk1ch02p035overloading add more example code from the first book
bk1ch02p036defaultParameters add more example code from the first book
bk1ch02p038modifiableParameters add more example code from the first book
bk1ch02p043recursion add more example code from the first book
bk1ch02p044functionAsValue add more example code from the first book
bk1ch02p047anonymousFunctions add more example code from the first book
bk1ch02p051defineAndCall add more example code from the first book
bk1ch02p052closures add more example code from the first book
bk1ch02p058closureCapture add more example code from the first book
bk1ch03p067conditionalInitialization add more example code from the first book
bk1ch03p069computedVariables add more example code from the first book
bk1ch03p075lazy add more example code from the first book
bk1ch03p076boolAndNumbers add more example code from the first book
bk1ch03p086string add more example code from the first book
bk1ch03p089strings2 add more example code from the first book
bk1ch03p092stringAndRange add more example code from the first book
bk1ch03p095tuple add more example code from the first book
bk1ch03p098optionals add more example code from the first book
bk1ch03p104optionals2 add more example code from the first book
bk1ch04p115initializers still more example code from the first book
bk1ch04p121properties still more example code from the first book
bk1ch04p125methods still more example code from the first book
bk1ch04p127subscripts still more example code from the first book
bk1ch04p132enums still more example code from the first book
bk1ch04p136enumInitializers still more example code from the first book
bk1ch04p140structs still more example code from the first book
bk1ch04p142valueTypesAndReferenceTypes still more example code from the first book
bk1ch04p149subclasses still more example code from the first book
bk1ch04p153classInitializers still more example code from the first book
bk1ch04p158classInitializers2 still more example code from the first book
bk1ch04p162classProperties still more example code from the first book
bk1ch04p164polymorphism still more example code from the first book
bk1ch04p171typeReference still more example code from the first book
bk1ch04p172typeReference2 still more example code from the first book
bk1ch04p177protocols still more example code from the first book
bk1ch04p181optionalProtocolMembers still more example code from the first book
bk1ch04p187generics still more example code from the first book
bk1ch04p193whereClauses still more example code from the first book
bk1ch04p196extensions still more example code from the first book
bk1ch04p199umbrellaTypes still more example code from the first book
bk1ch04p204arrays still more example code from the first book
bk1ch04p218dictionaries still more example code from the first book
bk1ch04p222sets still more example code from the first book
bk1ch05p227branching note to self
bk1ch05p230switch still even more example code from the first book
bk1ch05p237conditionalEvaluation still even more example code from the first book
bk1ch05p239loops still even more example code from the first book
bk1ch05p247operators still even more example code from the first book
bk1ch05p247privacy still even more example code from the first book
bk1ch05p254memoryManagement still even more example code from the first book
bk1ch06p297main still even more example code from the first book yet already
bk1ch07p321nibLoading still even more example code from the first book yet already even more
bk1ch07p321nibLoading2 still even more example code from the first book yet already even more
bk1ch07p333outletCollectionAndAction still even more example code from the first book yet already even more
bk1ch07p339additionalConfiguration still even more example code from the first book yet already even more
bk1ch08p350documentation yet still even more example code from the first book
bk1ch09p357backwardCompatibility yet still even more example code from the first book
bk1ch09p380unitTesting yet still even more example code from the first book
bk1ch09p396localization yet still even more example code from the first book
bk1ch10p418subclassing yet still even more additional example code from the first book
bk1ch10p428foundationClasses yet still even more additional example code from the first book
bk1ch10p447accessorsAndKVC yet still even more additional example code from the first book
bk1ch11p462notifications so much additional code examples from first book, you could plotz
bk1ch11p467delegation so much additional code examples from first book, you could plotz
bk1ch11p470dataSource so much additional code examples from first book, you could plotz
bk1ch11p472action add example to walk and expose responder chain
bk1ch11p477kvo rename folders to match pagination
bk1ch12p497notificationLeaker rename folders to match pagination
bk1ch12p498timerLeaker rename folders to match pagination
bk1ch12p499timerLeaker2 rename folders to match pagination
bk2ch01p006customWindowInStoryboardApp update for Swift 1.2, Xcode 6.3
bk2ch01p012frame update for 6.0.1 (app delegate method signature)
bk2ch01p013bounds update for 6.0.1 (app delegate method signature)
bk2ch01p017transform update for 6.0.1 (app delegate method signature)
bk2ch01p024autoresizing update for 6.0.1 (app delegate method signature)
bk2ch01p031constraints update for Swift 1.2, Xcode 6.3
bk2ch01p032constraintSwapping update for Swift 1.2, Xcode 6.3
bk2ch01p032constraintSwapping2 update for Swift 1.2, Xcode 6.3
bk2ch01p033layoutMargins new example showing layout margins
bk2ch01p038constraintsInequalitiesAndPriorities update for seed 7; update for margin change; don't use hard-coded ass…
bk2ch01p038evenDistribution update for 6.1
bk2ch01p039conditionalConstraints update for Swift 1.2, Xcode 6.3
bk2ch01p040sizeClasses update for Swift 1.2, Xcode 6.3
bk2ch01p041constraintSwapping2 update for Swift 1.2, Xcode 6.3
bk2ch01p041designableView update for Swift 1.2, Xcode 6.3
bk2ch01p045constraintsOrderOfEvents update for Swift 1.2, Xcode 6.3
bk2ch01p046transformsAndConstraints remove a bunch of parameter exclamation marks I think are wrong (most…
bk2ch01p046transformsAndConstraints2 updated for seed 4 (IBOutlet syntax change, public, some at-signs rem…
bk2ch02p050HiResTest2 update for 6.1
bk2ch02p051ImageAndTraitCollection update for 6.1
bk2ch02p052mars update for Swift 1.2, Xcode 6.3
bk2ch02p053marsResizable update for 6.1
bk2ch02p056marsSlicing versioning foo
bk2ch02p057imageRendering update for Swift 1.2, Xcode 6.3
bk2ch02p059sixBlueCircles update for Swift 1.2, Xcode 6.3
bk2ch02p061imageDrawing update for 6.1
bk2ch02p070filters update for Swift 1.2, Xcode 6.3
bk2ch02p070filters2 remove unnecessary extra private properties
bk2ch02p071BlurAndVibrancy update for Swift 1.2, Xcode 6.3
bk2ch02p077drawingInUIView update for Swift 1.2, Xcode 6.3
bk2ch02p086drawingInUIView2 updated chapter 2 examples for Swift seed 5
bk2ch02p088clearRect update for seed 7; draw a small square instead of a large rectangle
bk2ch03p095layerHierarchy update for 6.1
bk2ch03p101drawingIntoLayer update for Swift 1.2, Xcode 6.3
bk2ch03p108compass remove a bunch of parameter exclamation marks I think are wrong (most…
bk2ch03p112layerDepth remove a bunch of parameter exclamation marks I think are wrong (most…
bk2ch03p113transformLayer1 update for Swift 1.2, Xcode 6.3
bk2ch03p114transformLayer2 remove a bunch of parameter exclamation marks I think are wrong (most…
bk2ch03p116maskUtility minor
bk2ch03p117maskUtilityView update for Swift 1.2, Xcode 6.3
bk2ch04p125imageViewAnimation update for Swift 1.2, Xcode 6.3
bk2ch04p130viewAnimation very reluctantly, demonstrate how to use `setAnimationRepeatCount` wi…
bk2ch04p132viewAnimationFacade also deploy on iOS 7 just to prove that this trick is backwards compa…
bk2ch04p133cancelAnimation update for Swift 1.2, Xcode 6.3
bk2ch04p133cancelAnimation2 foo
bk2ch04p133cancelAnimation3 same as the preceding example, but we store state in the layer rather…
bk2ch04p134springing remove nonfunctional options
bk2ch04p135keyFrameViewAnimation update for 6.1
bk2ch04p137transition minor formatting
bk2ch04p138transition2 updated for seed 4 (IBOutlet syntax change, public, some at-signs rem…
bk2ch04p148layerAnimation update for Swift 1.2, Xcode 6.3
bk2ch04p149keyframeSprite minor, get rid of some now unnecessary unwraps / casting
bk2ch04p151customAnimatableProperty update for Swift 1.2, Xcode 6.3
bk2ch04p153groupedAnimation update for 6.1
bk2ch04p157layerTransition update for Swift 1.2, Xcode 6.3
bk2ch04p160frozenAnimation update for Swift 1.2, Xcode 6.3
bk2ch04p164actions update for Swift 1.2, Xcode 6.3
bk2ch04p165customAnimatableProperty2 update for Swift 1.2, Xcode 6.3
bk2ch04p166emitThis update for Swift 1.2, Xcode 6.3
bk2ch04p172CIFilterAnimation update for Swift 1.2, Xcode 6.3
bk2ch04p175dynamics update for Swift 1.2, Xcode 6.3
bk2ch04p177dynamics2 update for Swift 1.2, Xcode 6.3
bk2ch04p183animationAndAutolayout update for Swift 1.2, Xcode 6.3
bk2ch04p183animationAndAutolayout2 updated for seed 4 (IBOutlet syntax change, public, some at-signs rem…
bk2ch04p183animationAndAutolayout3 update for Swift 1.2, Xcode 6.3
bk2ch04p183animationAndAutolayout4 add collapse/expand example
bk2ch05p194touches update for Swift 1.2, Xcode 6.3
bk2ch05p203gestureRecognizers update for Swift 1.2, Xcode 6.3
bk2ch05p204dragByAttachment update for Swift 1.2, Xcode 6.3
bk2ch05p206gestureRecognizerDelegate update for Swift 1.2, Xcode 6.3
bk2ch05p207gestureRecognizersNib update for Swift 1.2, Xcode 6.3
bk2ch05p210hitTesting update for Swift 1.2, Xcode 6.3
bk2ch05p211compassTappable update for Swift 1.2, Xcode 6.3
bk2ch05p212hitTestingDistortedLayer update for Swift 1.2, Xcode 6.3
bk2ch05p213hitTestingDuringAnimation update for Swift 1.2, Xcode 6.3
bk2ch05p216exclusiveTouch update for Swift 1.2, Xcode 6.3
bk2ch05p217dependency update for 6.1
bk2ch06p236manualViewController update for Swift 1.2, Xcode 6.3
bk2ch06p237manualViewController2 update for 6.0.1 (app delegate method signature)
bk2ch06p239nibViewController update for Swift 1.2, Xcode 6.3
bk2ch06p239nibViewControllerWorkaround1 update for 6.0.1 (app delegate method signature)
bk2ch06p239nibViewControllerWorkaround2 update for 6.0.1 (app delegate method signature)
bk2ch06p239nibViewControllerWorkaround3 update for Swift 1.2, Xcode 6.3
bk2ch06p239nibViewControllerWorkaround4 update for 6.0.1 (app delegate method signature)
bk2ch06p239nibViewControllerWorkaround4Universal update for 6.0.1 (app delegate method signature)
bk2ch06p239nibViewControllerWorkaround5 update for Swift 1.2, Xcode 6.3
bk2ch06p242nibInstantiatedViewController update for Swift 1.2, Xcode 6.3
bk2ch06p243storyboardInstantiatedViewController update for 6.1
bk2ch06p250sizeChangeTest update for Swift 1.2, Xcode 6.3
bk2ch06p253orientationsPermitted update for Swift 1.2, Xcode 6.3
bk2ch06p253orientationsPermitted2 update for Swift 1.2, Xcode 6.3
bk2ch06p253orientationsPermitted3 update for Swift 1.2, Xcode 6.3
bk2ch06p253orientationsPermitted4 update for 6.1
bk2ch06p255rotationChangesInterface added launch screen xibs to some projects that use traitCollection ex…
bk2ch06p256rotationChangesInterface2 update for Swift 1.2, Xcode 6.3
bk2ch06p257rotationChangesInterface3 update for 6.1
bk2ch06p258launchIntoRotationEvents update for 6.1
bk2ch06p259launchIntoRotation minor: more logging, formatting
bk2ch06p264presentedViewController update for Swift 1.2, Xcode 6.3
bk2ch06p264presentedViewControllerAdaptive update for Swift 1.2, Xcode 6.3
bk2ch06p265presentedViewControllerStoryboard update for Swift 1.2, Xcode 6.3
bk2ch06p270modalPresentationContext update for Swift 1.2, Xcode 6.3
bk2ch06p272forcedRotation use class protocol instead of objc protocol which is overkill
bk2ch06p273rotationCausesPresentation updated chapter 6 examples to deal with huge seed 5 change (bug or de…
bk2ch06p275tabbedInterface update for Swift 1.2, Xcode 6.3
bk2ch06p281navigationInterface update for Swift 1.2, Xcode 6.3
bk2ch06p282navigationInterfaceStoryboard update for Swift 1.2, Xcode 6.3
bk2ch06p292customAnimation1 update for Swift 1.2, Xcode 6.3
bk2ch06p296customAnimation2 update for Swift 1.2, Xcode 6.3
bk2ch06p300customAnimation3 update for Swift 1.2, Xcode 6.3
bk2ch06p301customAnimation4 update for Swift 1.2, Xcode 6.3
bk2ch06p302addingPresentationController update for Swift 1.2, Xcode 6.3
bk2ch06p304customPresentedAnimation2 update for Swift 1.2, Xcode 6.3
bk2ch06p311pageController update for Swift 1.2, Xcode 6.3
bk2ch06p313pageControllerBug update for Swift 1.2, Xcode 6.3
bk2ch06p316containerController update for 6.1 final, nil animations block now okay
bk2ch06p319containerControllerConstraints update for Swift 1.2, Xcode 6.3
bk2ch06p320containerControllerCustomAnimation updated chapter 6 examples to deal with huge seed 5 change (bug or de…
bk2ch06p321overrideTraitCollection update for Swift 1.2, Xcode 6.3
bk2ch06p322containerControllerSizeMessaging update for Swift 1.2, Xcode 6.3
bk2ch06p324containerViewControllerStoryboard minor, get rid of some now unnecessary unwraps / casting
bk2ch06p326unwindWithCustomParent extra logging to test event forwarding (for later in the chapter)
bk2ch06p327unwind update for Swift 1.2, Xcode 6.3
bk2ch06p327unwind2 update for 6.1 final
bk2ch06p332eventIncoherencies update for 6.1
bk2ch06p334containerEventForwarding update for Swift 1.2, Xcode 6.3
bk2ch06p336memoryWarning update for Swift 1.2, Xcode 6.3
bk2ch06p341SimplestRestorationExample update for 6.1 final
bk2ch06p347SimplestRestorationExample2 update for Swift 1.2, Xcode 6.3
bk2ch06p351pageControllerRestoration update for Swift 1.2, Xcode 6.3
bk2ch06p352pageControllerRestoration2 update for Swift 1.2, Xcode 6.3
bk2ch06p353pageControllerRestoration3 update for Swift 1.2, Xcode 6.3
bk2ch06p356saveAndRestoreArbitraryObject update for Swift 1.2, Xcode 6.3
bk2ch07p360scrollViewInCode more logging
bk2ch07p362scrollViewInCode2 converted first three scroll view examples (chapter 7) to swift, adde…
bk2ch07p363scrollViewInCode3 update for Swift 1.2, Xcode 6.3
bk2ch07p363scrollViewInCode4 updated chapter 7 examples for Swift seed 5
bk2ch07p366scrollViewInNib update for Swift 1.2, Xcode 6.3
bk2ch07p367scrollViewInNibAutolayout update for 6.1
bk2ch07p367scrollViewInNibAutolayout2 update for 6.1
bk2ch07p367scrollViewInNibAutolayout3 updated chapter 7 examples for Swift seed 5
bk2ch07p370contentInset continuing to convert chapter 7 examples to swift (and to encounter t…
bk2ch07p370contentInset2 continuing to convert chapter 7 examples to swift (and to encounter t…
bk2ch07p370contentInset3 update for Swift 1.2, Xcode 6.3
bk2ch07p372paging update for 6.0.1
bk2ch07p374scrollWithTiling update for Swift 1.2, Xcode 6.3
bk2ch07p375zoom more logging
bk2ch07p376zoomCentered update for Swift 1.2, Xcode 6.3
bk2ch07p376zoomCentered2 update for Swift 1.2, Xcode 6.3
bk2ch07p376zoomCentered3 update for Swift 1.2, Xcode 6.3
bk2ch07p378zoomDetailed update for Swift 1.2, Xcode 6.3
bk2ch07p378zoomDetailed2 update for Swift 1.2, Xcode 6.3
bk2ch07p383dragInScrollView update for 6.1
bk2ch07p384dragInScrollView2 update for 6.1
bk2ch08p398cellBackgroundLayering update for Swift 1.2, Xcode 6.3
bk2ch08p400separatorInset new example showing how to beat annoying separator inset behavior
bk2ch08p402overrideCellLayout update for Swift 1.2, Xcode 6.3
bk2ch08p403addCellSubviewsInCode update for Swift 1.2, Xcode 6.3
bk2ch08p405addCellSubviewsInNib update for Swift 1.2, Xcode 6.3
bk2ch08p406addCellSubviewsNibOutlets update for Swift 1.2, Xcode 6.3
bk2ch08p407addCellSubviewsInStoryboard update for Swift 1.2, Xcode 6.3
bk2ch08p411individualCells minor, shortening code lines for book formatting
bk2ch08p412SimplestDataSource update for Swift 1.2, Xcode 6.3
bk2ch08p416sections update for Swift 1.2, Xcode 6.3
bk2ch08p424variableHeights update for Swift 1.2, Xcode 6.3
bk2ch08p431pickACell update code for Xcode 6.2, the exclamation marks are back
bk2ch08p438searchableTable update for Swift 1.2, Xcode 6.3
bk2ch08p438searchableTable2 update for Swift 1.2, Xcode 6.3
bk2ch08p438searchableTable3 update for Swift 1.2, Xcode 6.3
bk2ch08p445deleteTableRows update for Swift 1.2, Xcode 6.3
bk2ch08p446rowActions update for Swift 1.2, Xcode 6.3
bk2ch08p447editInsertAndRearrangeRows update for Swift 1.2, Xcode 6.3
bk2ch08p451dynamicTableContent demonstrate header reuse
bk2ch08p453tableCellMenus update for Swift 1.2, Xcode 6.3
bk2ch08p454tableCellMenus2 update for Swift 1.2, Xcode 6.3
bk2ch08p460collectionViewCellBackgroundLayering update for Swift 1.2, Xcode 6.3
bk2ch08p462collectionViewFlowLayout update for Swift 1.2, Xcode 6.3
bk2ch08p466collectionViewFlowLayout2 update for Swift 1.2, Xcode 6.3
bk2ch08p467collectionViewLayoutFromScratchObjc split last example of chapter 8 into two, one in Swift (prohibitively…
bk2ch08p467collectionViewLayoutFromScratchSwift update for Swift 1.2, Xcode 6.3
bk2ch09p476popovers minor, shortening code lines for book formatting
bk2ch09p477popoversOnPhone update for Swift 1.2, Xcode 6.3
bk2ch09p481popoverInStoryboard update for Swift 1.2, Xcode 6.3
bk2ch09p485PopoverPresentingViewController update for Swift 1.2, Xcode 6.3
bk2ch09p487searchInPopover update for Swift 1.2, Xcode 6.3
bk2ch09p488basicMasterDetail update for Swift 1.2, Xcode 6.3
bk2ch09p488universalSplitViewControllerStoryboardTemplateAnalysis update for Swift 1.2, Xcode 6.3
bk2ch09p489universalSplitViewControllerStoryboard2 update for Swift 1.2, Xcode 6.3
bk2ch09p490universalSplitViewControllerManual update for Swift 1.2, Xcode 6.3
bk2ch10p495TableWithDynamicType update for Swift 1.2, Xcode 6.3
bk2ch10p495dynamicType update for Swift 1.2, Xcode 6.3
bk2ch10p497downloadableFonts update for 6.1
bk2ch10p498fontDescriptor update for Swift 1.2, Xcode 6.3
bk2ch10p499fontDescriptor2 update for Swift 1.2, Xcode 6.3
bk2ch10p503attributedString update for Swift 1.2, Xcode 6.3
bk2ch10p504RTFImportTest new example illustrating importing attributed string from standard fo…
bk2ch10p507tabStops update for Swift 1.2, Xcode 6.3
bk2ch10p508AttributedTextAsSecretMarking update for Swift 1.2, Xcode 6.3
bk2ch10p509attributedStringDrawing update for Swift 1.2, Xcode 6.3
bk2ch10p510attributedStringDrawing2 update for Swift 1.2, Xcode 6.3
bk2ch10p512labelBreaking update for Swift 1.2, Xcode 6.3
bk2ch10p513selfSizingLabel update for Swift 1.2, Xcode 6.3
bk2ch10p513selfSizingLabel2 update for Swift 1.2, Xcode 6.3
bk2ch10p513selfSizingLabel3 update for Swift 1.2, Xcode 6.3
bk2ch10p514labelFontSizeScaling update for 6.1
bk2ch10p520textFieldSliding update for Swift 1.2, Xcode 6.3
bk2ch10p522textFieldScrollView update for Swift 1.2, Xcode 6.3
bk2ch10p524keyboardAccessory update for Swift 1.2, Xcode 6.3
bk2ch10p526textFieldDelegate update for Swift 1.2, Xcode 6.3
bk2ch10p531selfSizingTextView update for Swift 1.2, Xcode 6.3
bk2ch10p532textViewAndKeyboard update for Swift 1.2, Xcode 6.3
bk2ch10p536exclusionPath update for 6.1
bk2ch10p537exclusionPath2 more sensible geometry
bk2ch10p539textKitStacks update for Swift 1.2, Xcode 6.3
bk2ch10p541textLayoutGeometry update for Swift 1.2, Xcode 6.3
bk2ch10p543drawingWithTextKit update for Swift 1.2, Xcode 6.3
bk2ch11p551webview update for Swift 1.2, Xcode 6.3
bk2ch11p552webkit update for Swift 1.2, Xcode 6.3
bk2ch11p553webkit2 update for Swift 1.2, Xcode 6.3
bk2ch12p564timeConsumingNavigation update for Swift 1.2, Xcode 6.3
bk2ch12p566customThermometer update for Swift 1.2, Xcode 6.3
bk2ch12p568pickerView update for Swift 1.2, Xcode 6.3
bk2ch12p573searchBarFromHell update for Swift 1.2, Xcode 6.3
bk2ch12p580stepper update for Swift 1.2, Xcode 6.3
bk2ch12p582datePicker update for Swift 1.2, Xcode 6.3
bk2ch12p585slider update for Swift 1.2, Xcode 6.3
bk2ch12p589segmentedControl update for 6.1
bk2ch12p595button update for Swift 1.2, Xcode 6.3
bk2ch12p597knob remove redundant rotation
bk2ch12p602toolbarShadowBug update for 6.1 final
bk2ch12p606navigationBar update for Swift 1.2, Xcode 6.3
bk2ch12p609tabBar update for 6.1, be so much cooler and swiftier
bk2ch12p611tabBarMore update for Swift 1.2, Xcode 6.3
bk2ch13p620dialogsOniPhone update for Swift 1.2, Xcode 6.3
bk2ch13p624actionSheetPopovers update for Swift 1.2, Xcode 6.3
bk2ch13p630localNotification update for Swift 1.2, Xcode 6.3
bk2ch13p631todayExtension update for Swift 1.2, Xcode 6.3
bk2ch13p635activityView update for Swift 1.2, Xcode 6.3
bk2ch13p636actionExtension update for Swift 1.2, Xcode 6.3
bk2ch14p640systemSound small letter for function name
bk2ch14p643ducking update for Swift 1.2, Xcode 6.3
bk2ch14p653backgroundPlayerAndInterrupter update for Swift 1.2, Xcode 6.3
bk2ch14p655AVAudioEngineTest update for Swift 1.2, Xcode 6.3
bk2ch14p656textToSpeech update for seed 6
bk2ch15p659SimplestAVKit update for Swift 1.2, Xcode 6.3
bk2ch15p660EmbeddedAVKit update for Swift 1.2, Xcode 6.3
bk2ch15p661EmbeddedAVKit2 update for Swift 1.2, Xcode 6.3
bk2ch15p669playerLayer update for Swift 1.2, Xcode 6.3
bk2ch15p672AVKit update for Swift 1.2, Xcode 6.3
bk2ch15p673onlyOne update for Swift 1.2, Xcode 6.3
bk2ch16p678mediaQuery update for Swift 1.2, Xcode 6.3
bk2ch16p687AVQueuePlayer update for Swift 1.2, Xcode 6.3
bk2ch16p690mediaPicker update for 6.1 final, use property names rather than strings, tweak m…
bk2ch17p697pickaMovieOrPhoto update for Swift 1.2, Xcode 6.3
bk2ch17p699photoKitData update for Swift 1.2, Xcode 6.3
bk2ch17p700PhotoKitImages update for Swift 1.2, Xcode 6.3
bk2ch17p702takeAPicture update for Swift 1.2, Xcode 6.3
bk2ch17p704takeAPicture2 update for Swift 1.2, Xcode 6.3
bk2ch17p707takeAPicAVFoundation update for Swift 1.2, Xcode 6.3
bk2ch18p713addressBook update for Swift 1.2, Xcode 6.3
bk2ch19p725calendar update for Swift 1.2, Xcode 6.3
bk2ch19p731reminders update for Swift 1.2, Xcode 6.3
bk2ch20p740social update for Swift 1.2, Xcode 6.3
bk2ch21p744maps update for Swift 1.2, Xcode 6.3 (huge improvement in custom annotatio…
bk2ch21p761userLocationAndGeocoding update for Swift 1.2, Xcode 6.3 (huge improvement in custom annotatio…
bk2ch22p773location update for Swift 1.2, Xcode 6.3
bk2ch22p775heading update for Swift 1.2, Xcode 6.3
bk2ch22p780shake update for 6.1 final
bk2ch22p782lyingDown update for 6.1 final
bk2ch22p784smackMe explicit nil initialization because Swift can get buggy about initial…
bk2ch22p787gyro update for Swift 1.2, Xcode 6.3
bk2ch22p789attitudeRotation update for Swift 1.2, Xcode 6.3
bk2ch22p790motionActivity update for Swift 1.2, Xcode 6.3
bk2ch23p798basicFileOperations update for Swift 1.2, Xcode 6.3
bk2ch23p802fileHandoff update for Swift 1.2, Xcode 6.3
bk2ch23p809peopleGroups update for Swift 1.2, Xcode 6.3
bk2ch23p818xml update for Swift 1.2, Xcode 6.3
bk2ch23p821SQLite update for Swift 1.2, Xcode 6.3
bk2ch23p824peopleGroupsCoreData update for Swift 1.2, Xcode 6.3
bk2ch23p829imageIO update for Swift 1.2, Xcode 6.3
bk2ch24p834simpleHTTP update for Swift 1.2, Xcode 6.3
bk2ch24p837lessSimpleHTTP update for Swift 1.2, Xcode 6.3
bk2ch24p838lessSimpleHTTP2 update to 6.1 final
bk2ch24p842downloader update for Swift 1.2, Xcode 6.3
bk2ch24p846backgroundDownload update for Swift 1.2, Xcode 6.3
bk2ch24p853bonjour update for Swift 1.2, Xcode 6.3
bk2ch25p860mandelbrotNoThreading update for Swift 1.2, Xcode 6.3
bk2ch25p865mandelbrotOperation update for Swift 1.2, Xcode 6.3
bk2ch25p868mandelbrotGCD update for Swift 1.2, Xcode 6.3
bk2ch26p878undoableDrag minor, comment out unused lines
bk2ch26p878undoableDrag2 minor, comment out unused lines
iOS6bookExamples moved iOS 6 book examples into a subfolder
iOS7bookExamples copy iOS 7 book examples off to their own folder
README.md revise readme to reflect publication of both volumes
iOS4bookExamples.zip retire iOS 4 and iOS 5 book examples into zip archives
iOS5bookExamples.zip retire iOS 4 and iOS 5 book examples into zip archives

README.md

These are the complete downloadable code examples for my books, iOS 8 Programming Fundamentals With Swift (http://shop.oreilly.com/product/0636920034278.do) and Programming iOS 8 (http://shop.oreilly.com/product/0636920034261.do) - now revised for iOS 8 (and Swift).

The Swift language keeps changing and occasionally breaks some of the examples, but they were all correct the last time I looked. If there's a problem, it's likely just an exclamation mark or something that needs to be added; I'm sure you can figure it out until I get around to fixing it.

If you find these examples helpful and you haven't purchased the books, please consider doing so.

The downloadable code and screenshots for the previous editions have been moved off to subfolders "iOS7bookExamples" and "iOS6bookExamples". The code for the earlier editions have been archived as "iOS5bookExamples.zip" and "iOS4bookExamples.zip".

Matt Neuburg

Something went wrong with that request. Please try again.