Code Examples
Objective-C Swift
Latest commit f160c26 Jul 2, 2016 @kharrison Remove old xib file
Failed to load latest commit information.
AdaptivePopover Uncomment willPresentWithAdaptiveStyle Dec 6, 2015
AirPrinter Update AirPrinter to show use of UIActionSheet Aug 26, 2011
AlertController Remove unused notification code Apr 26, 2015
AlertView Add AlertView to demo iOS 5 changes to UIAlertView Dec 14, 2011
AnimatedConstraints Use UILayoutPriorityDefaultHigh constant May 24, 2015
AutoLayout Add example of right-to-left language Apr 11, 2016
BUG TableView State Restore Added BUG TableView State Restore Apr 7, 2013
Buttons Add Buttons project Mar 7, 2016
Collection Move source files to subdirectory Sep 28, 2013
Designable Add Swift target Jun 10, 2015
DynamicText Update project settings for arch Jul 13, 2014
Encode Add Encode project Jan 1, 2016
Huckleberry Fix issue with orientation changes Mar 17, 2014
MasterSlide Add a subvuew to the detail view XIB and assign gestures to it Nov 25, 2011
Motion Remove erroneous code snippet Jan 4, 2014
NibCollection NibCollection: Name each UISwitch Mar 28, 2011
Playgrounds Zip playground files Apr 4, 2016
QReader Handle Camera Privacy Settings Failue Aug 28, 2014
Refresh Refresh control now has a text label Jun 18, 2013
RemindMe Remove old xib file Jul 2, 2016
Restorer Define BUNDLEMINVERSION for State Restoration Jun 1, 2013
SelfSize Resolve problem with initial line width Jan 10, 2015
SpeakEasy Update project settings to remove arch Jul 13, 2014
Stacks Use a content stack view Mar 13, 2016
StaticTable Format README.markdown and rename in Xcode project May 12, 2012
StaticTableDynamicType Add StaticTableDynamicType Apr 25, 2016
Stepper Merge of ARC-Conversion branch Feb 28, 2012
Styles Add README to Styles project Aug 24, 2012
SyncMe Remove observer when view is deallocated Oct 29, 2011
TCNibLoad TCNibLoad - Initial release Mar 27, 2011
TaskTimer Update TaskTimer README for shake to reset feature May 14, 2012
ToDoSync reorg framework folder Oct 30, 2011
TwitterSearch Slight refactoring to match Swift extension Dec 31, 2015
WorldFacts Update README Oct 12, 2015
LICENSE Add License file Jul 17, 2013
README Add AutoLayout Jan 25, 2016

README

=======================================================================
+ CODE EXAMPLES REPOSITORY

  See http://useyourloaf.com for details

  This README last updated: 25 Jan 2016
=======================================================================

+ INDEX

  AdaptivePopover Adapting a popover presentation (iOS 9, Swift)
  AirPrinter    - Example of how to print from iOS
  AlertView     - Demo iOS 5 changes to UIAlertView
  AlertController - UIAlertController changes in iOS 8
  AnimatedConstraints - Animating Autolayout changes 
  AutoLayout    - AutoLayout examples
  Collection    - Simple collection view with popovers
  Designable    - IBDESIGNABLE/IB_Inspectable custom views
  Encode        - Percent encoding of URL query string
  DynamicText   - Supporting dynamic text size changes
  Huckleberry   - Auto layout table view cells with varying row heights
  MasterSlide   - Implementing a mail app style split view controller
  Motion        - Adding motion effects to views
  NibCollection - Example use of IBOutletCollection
  QReader       - Capturing and decoding QR Codes
  Refresh       - Using a UIRefreshControl in a table view controller
  RemindMe      - Scheduling local notifications with UILocaNotification
  Restorer      - State Preservation and Restoration
  SelfSize      - iOS 8 Self Sizing Table View Cells (Huckleberry updated)
  SpeakEasy     - Text to speech synthesis
  Stacks        - Using UIStackView
  StaticTable   - Using a storyboard to implement static table views
  Stepper       - Example use of UIStepper control
  Styles        - Using UIAppearance proxy to style UIKit controls
  SyncMe        - Example use of iCloud Key-value Storage
  TaskTimer     - Example of UIAccessibility Support
  TCNibLoad     - Example use of UINib class
  TwitterSearch - Example of using NSURLConnection to query Twitter API
  WorldFacts    - Both iOS 8 and OS X Core Data example
=======================================================================