├── PingWebApp ├── log │ └── .gitkeep ├── app │ ├── mailers │ │ └── .gitkeep │ ├── models │ │ ├── .gitkeep │ │ └── apns_token.rb │ ├── helpers │ │ └── application_helper.rb │ ├── assets │ │ └── images │ │ │ └── rails.png │ ├── controllers │ │ ├── application_controller.rb │ │ └── apns_tokens_controller.rb │ └── views │ │ └── layouts │ │ └── application.html.erb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── fixtures │ │ ├── .gitkeep │ │ └── apns_tokens.yml │ ├── unit │ │ ├── .gitkeep │ │ └── apns_token_test.rb │ ├── functional │ │ └── .gitkeep │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config │ ├── initializers │ │ ├── jtv-apns.rb │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ ├── wrap_parameters.rb │ │ └── inflections.rb │ ├── routes.rb │ ├── environment.rb │ ├── boot.rb │ └── locales │ │ └── en.yml ├── config.ru ├── doc │ └── README_FOR_APP ├── db │ ├── migrate │ │ └── 20120916161434_create_apns_tokens.rb │ └── seeds.rb ├── Rakefile ├── script │ └── rails └── .gitignore ├── ViewDeck ├── VERSION ├── FeaturesExample │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── photo.png │ ├── SimpleController.h │ ├── PhotosController.h │ ├── SelectionController.h │ ├── PathlikeSliderController.h │ ├── WebController.h │ ├── AppDelegate.h │ ├── FeaturesExample-Prefix.pch │ ├── main.m │ ├── RootViewController.h │ └── ChoiceController.h ├── ViewDeckExample │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── assets │ │ └── bg.jpg │ ├── LeftViewController.h │ ├── PushedViewController.h │ ├── ViewController.h │ ├── NestViewController.h │ ├── AppDelegate.h │ ├── ViewDeckExample-Prefix.pch │ └── RightViewController.h ├── SizableExample │ ├── SizableExample │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ ├── LeftController.h │ │ ├── ViewController.h │ │ ├── CenterController.h │ │ ├── SizableExample-Prefix.pch │ │ ├── main.m │ │ └── AppDelegate.h │ └── carbon.png ├── TabbedExample │ └── TabbedExample │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── first.png │ │ ├── second.png │ │ ├── contacts.png │ │ ├── first@2x.png │ │ ├── second@2x.png │ │ ├── FifthViewController.h │ │ ├── FourthViewController.h │ │ ├── SecondViewController.h │ │ ├── SelectorController.h │ │ ├── ThirdViewController.h │ │ ├── FirstViewController.h │ │ ├── main.m │ │ ├── TabbedExample-Prefix.pch │ │ └── AppDelegate.h ├── NavigationExample │ └── NavigationExample │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── LeftViewController.h │ │ ├── DeeperViewController.h │ │ ├── RightViewController.h │ │ ├── StartViewController.h │ │ ├── AppDelegate.h │ │ ├── NavigationExample-Prefix.pch │ │ ├── main.m │ │ └── CenterViewController.h ├── MultiViewDeckExample │ └── MultiViewDeckExample │ │ ├── en.lproj │ │ └── InfoPlist.strings │ │ ├── LeftViewController.h │ │ ├── ModalViewController.h │ │ ├── BottomViewController.h │ │ ├── CenterViewController.h │ │ ├── AppDelegate.h │ │ ├── MultiViewDeckExample-Prefix.pch │ │ ├── main.m │ │ └── UITableViewCell+AutoDequeue.h └── .gitignore ├── rails-demo ├── log │ └── .gitkeep ├── app │ ├── mailers │ │ └── .gitkeep │ ├── models │ │ ├── .gitkeep │ │ └── greeting.rb │ ├── helpers │ │ └── application_helper.rb │ ├── assets │ │ └── images │ │ │ └── rails.png │ ├── controllers │ │ ├── application_controller.rb │ │ └── home_controller.rb │ └── views │ │ ├── home │ │ └── get.html.erb │ │ └── layouts │ │ └── application.html.erb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── fixtures │ │ └── .gitkeep │ ├── unit │ │ └── .gitkeep │ ├── functional │ │ └── .gitkeep │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config │ ├── routes.rb │ ├── environment.rb │ ├── boot.rb │ ├── locales │ │ └── en.yml │ └── initializers │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ ├── wrap_parameters.rb │ │ └── inflections.rb ├── config.ru ├── doc │ └── README_FOR_APP ├── db │ ├── migrate │ │ └── 20120730164349_create_greetings_table.rb │ └── seeds.rb ├── Rakefile ├── script │ └── rails └── .gitignore ├── DeviseProject ├── log │ └── .gitkeep ├── app │ ├── models │ │ ├── .gitkeep │ │ ├── diary_entry.rb │ │ └── user.rb │ ├── mailers │ │ └── .gitkeep │ ├── helpers │ │ ├── application_helper.rb │ │ ├── diary_entries_helper.rb │ │ └── static_pages_helper.rb │ ├── views │ │ ├── static_pages │ │ │ └── home.html.haml │ │ ├── shared │ │ │ └── _user_controls.html.haml │ │ ├── diary_entries │ │ │ ├── new.html.haml │ │ │ └── index.html.haml │ │ └── layouts │ │ │ └── application.html.erb │ ├── assets │ │ ├── images │ │ │ └── rails.png │ │ ├── stylesheets │ │ │ ├── static_pages.css.scss │ │ │ ├── diary_entries.css.scss │ │ │ └── application.css │ │ └── javascripts │ │ │ ├── diary_entries.js.coffee │ │ │ └── static_pages.js.coffee │ └── controllers │ │ ├── application_controller.rb │ │ └── static_pages_controller.rb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── unit │ │ ├── .gitkeep │ │ ├── helpers │ │ │ ├── static_pages_helper_test.rb │ │ │ └── diary_entries_helper_test.rb │ │ ├── user_test.rb │ │ └── diary_entry_test.rb │ ├── fixtures │ │ ├── .gitkeep │ │ ├── users.yml │ │ └── diary_entries.yml │ ├── functional │ │ ├── .gitkeep │ │ ├── static_pages_controller_test.rb │ │ └── diary_entries_controller_test.rb │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config.ru ├── config │ ├── environment.rb │ ├── routes.rb │ ├── boot.rb │ ├── initializers │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ ├── wrap_parameters.rb │ │ └── inflections.rb │ └── locales │ │ └── en.yml ├── doc │ └── README_FOR_APP ├── db │ ├── migrate │ │ └── 20120912135355_create_diary_entries.rb │ └── seeds.rb ├── Rakefile ├── script │ └── rails └── .gitignore ├── git-demo-app ├── log │ └── .gitkeep ├── app │ ├── mailers │ │ └── .gitkeep │ ├── models │ │ └── .gitkeep │ ├── helpers │ │ └── application_helper.rb │ ├── assets │ │ └── images │ │ │ └── rails.png │ ├── controllers │ │ └── application_controller.rb │ └── views │ │ └── layouts │ │ └── application.html.erb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── unit │ │ └── .gitkeep │ ├── fixtures │ │ └── .gitkeep │ ├── functional │ │ └── .gitkeep │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config.ru ├── Readme.md ├── config │ ├── environment.rb │ ├── boot.rb │ ├── locales │ │ └── en.yml │ └── initializers │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ ├── wrap_parameters.rb │ │ └── inflections.rb ├── doc │ └── README_FOR_APP ├── db │ ├── migrate │ │ └── 20120731210518_create_users_table.rb │ └── seeds.rb ├── Rakefile ├── script │ └── rails └── .gitignore ├── restaurants-app ├── log │ └── .gitkeep ├── app │ ├── mailers │ │ └── .gitkeep │ ├── models │ │ ├── .gitkeep │ │ ├── restaurant.rb │ │ └── review.rb │ ├── helpers │ │ ├── reviews_helper.rb │ │ ├── application_helper.rb │ │ └── restaurants_helper.rb │ ├── assets │ │ ├── images │ │ │ └── rails.png │ │ ├── stylesheets │ │ │ ├── reviews.css.scss │ │ │ └── restaurants.css.scss │ │ └── javascripts │ │ │ ├── reviews.js.coffee │ │ │ └── restaurants.js.coffee │ ├── controllers │ │ └── application_controller.rb │ └── views │ │ ├── reviews │ │ ├── show.html.erb │ │ └── new.html.erb │ │ ├── restaurants │ │ ├── index.html.erb │ │ ├── new.html.erb │ │ └── show.html.erb │ │ └── layouts │ │ └── application.html.erb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── fixtures │ │ ├── .gitkeep │ │ ├── reviews.yml │ │ └── restaurants.yml │ ├── unit │ │ ├── .gitkeep │ │ ├── helpers │ │ │ ├── reviews_helper_test.rb │ │ │ └── restaurants_helper_test.rb │ │ ├── review_test.rb │ │ └── restaurant_test.rb │ ├── functional │ │ ├── .gitkeep │ │ ├── reviews_controller_test.rb │ │ └── restaurants_controller_test.rb │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config │ ├── routes.rb │ ├── environment.rb │ ├── boot.rb │ ├── locales │ │ └── en.yml │ └── initializers │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ └── wrap_parameters.rb ├── config.ru ├── doc │ └── README_FOR_APP ├── Rakefile ├── db │ ├── migrate │ │ ├── 20120801062609_create_restaurants.rb │ │ └── 20120803182708_create_reviews.rb │ └── seeds.rb ├── script │ └── rails └── .gitignore ├── multiple-associations ├── log │ └── .gitkeep ├── app │ ├── mailers │ │ └── .gitkeep │ ├── models │ │ ├── .gitkeep │ │ ├── rsvp.rb │ │ ├── event.rb │ │ └── student.rb │ ├── helpers │ │ └── application_helper.rb │ ├── controllers │ │ └── application_controller.rb │ ├── assets │ │ └── images │ │ │ └── rails.png │ └── views │ │ └── layouts │ │ └── application.html.erb ├── lib │ ├── assets │ │ └── .gitkeep │ └── tasks │ │ └── .gitkeep ├── public │ ├── favicon.ico │ └── robots.txt ├── test │ ├── unit │ │ ├── .gitkeep │ │ ├── event_test.rb │ │ ├── student_test.rb │ │ └── attending_student_test.rb │ ├── fixtures │ │ ├── .gitkeep │ │ ├── events.yml │ │ ├── students.yml │ │ └── attending_students.yml │ ├── functional │ │ └── .gitkeep │ ├── integration │ │ └── .gitkeep │ ├── performance │ │ └── browsing_test.rb │ └── test_helper.rb ├── vendor │ ├── plugins │ │ └── .gitkeep │ └── assets │ │ ├── javascripts │ │ └── .gitkeep │ │ └── stylesheets │ │ └── .gitkeep ├── config.ru ├── config │ ├── environment.rb │ ├── boot.rb │ ├── locales │ │ └── en.yml │ └── initializers │ │ ├── mime_types.rb │ │ ├── backtrace_silencers.rb │ │ ├── session_store.rb │ │ ├── secret_token.rb │ │ └── wrap_parameters.rb ├── db │ ├── migrate │ │ ├── 20120804145338_rename_attending_students_to_rsvps.rb │ │ ├── 20120804002624_create_events.rb │ │ ├── 20120804002638_create_students.rb │ │ └── 20120804002655_create_attending_students.rb │ └── seeds.rb ├── doc │ └── README_FOR_APP ├── Rakefile ├── script │ └── rails └── .gitignore ├── Asteroids ├── .gitignore └── Asteroids │ ├── en.lproj │ └── InfoPlist.strings │ ├── AsteroidsView.h │ ├── AppDelegate.h │ ├── Asteroids-Prefix.pch │ ├── main.m │ └── Asteroid.h ├── ViewsApp ├── .gitignore └── ViewsDemoProject │ ├── en.lproj │ └── InfoPlist.strings │ ├── LinesView.h │ ├── LinesViewController.h │ ├── AppDelegate.h │ ├── ViewsDemoProject-Prefix.pch │ └── main.m ├── quiz-app ├── .gitignore └── QuizApp │ ├── en.lproj │ └── InfoPlist.strings │ ├── QuizStore.h │ ├── AppDelegate.h │ ├── QuizApp-Prefix.pch │ ├── main.m │ ├── Question.h │ ├── QuizViewController.h │ └── Question.m ├── AnimationDemo2 ├── .gitignore └── CoreAnimationDemo2 │ ├── en.lproj │ └── InfoPlist.strings │ ├── SlidingBoxView.h │ ├── SpinningViewController.h │ ├── AppDelegate.h │ ├── CoreAnimationDemo2-Prefix.pch │ └── main.m ├── AudioDemo ├── .gitignore └── AudioDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── AudioRecordAndPlayViewController.h │ ├── AppDelegate.h │ ├── AudioDemo-Prefix.pch │ └── main.m ├── PushDemoApp ├── Podfile ├── .gitignore └── PushDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── AppDelegate.h │ ├── PushDemo-Prefix.pch │ └── main.m ├── TablesDemo ├── .gitignore └── TablesDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── AppDelegate.h │ ├── PresidentsTableViewController.h │ ├── TablesDemo-Prefix.pch │ └── main.m ├── VideoDemo ├── .gitignore └── VideoDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── VideosViewController.h │ ├── MusicViewController.h │ ├── PlayVideoViewController.h │ ├── RecordVideoViewController.h │ ├── AppDelegate.h │ ├── ParseVideoViewController.h │ ├── VideoDemo-Prefix.pch │ └── main.m ├── messenging-app ├── .gitignore └── MessengerApp │ ├── en.lproj │ └── InfoPlist.strings │ ├── Message.m │ ├── ListMessagesViewController.h │ ├── AppDelegate.h │ ├── DisplayMessageViewController.h │ ├── MessengerApp-Prefix.pch │ ├── main.m │ ├── Message.h │ └── MessageStore.h ├── ArchiverDemo ├── .gitignore └── ArchiverDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── AppDelegate.h │ ├── ArchiverDemo-Prefix.pch │ ├── main.m │ └── Museum.h ├── FacebookLogin ├── .gitignore ├── Podfile ├── FacebookLogin │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── FriendsViewController.h │ ├── FacebookLogin-Prefix.pch │ ├── main.m │ └── LoginController.h └── Podfile.lock ├── GameKitDemo ├── .gitignore └── GameKitDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── GameViewController.h │ ├── AppDelegate.h │ ├── GameKitDemo-Prefix.pch │ └── main.m ├── GesturesDemo ├── .gitignore ├── GesturesDemo │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── ColorView.h │ ├── ColorGestureViewController.h │ ├── AppDelegate.h │ ├── GesturesDemo-Prefix.pch │ └── main.m └── GesturesDemoTests │ ├── en.lproj │ └── InfoPlist.strings │ └── GesturesDemoTests.h ├── MapAnnotationDemo ├── .gitignore └── MapAnnotationDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── SimpleAnnotation.m │ ├── HelloViewController.h │ ├── MapAnnotationDemo-Prefix.pch │ ├── main.m │ ├── ViewController.h │ ├── SimpleAnnotation.h │ ├── AppDelegate.h │ └── HelloViewController.m ├── UIImagePickerDemo ├── .gitignore └── UIImagePickerDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── AppDelegate.h │ ├── ImagePresentationControllerViewController.h │ ├── UIImagePickerDemo-Prefix.pch │ └── main.m ├── blackjack-example ├── .gitignore └── Blackjack │ ├── en.lproj │ └── InfoPlist.strings │ ├── Deck.h │ ├── Blackjack-Prefix.pch │ ├── main.m │ ├── Hand.h │ └── AppDelegate.h ├── intro-parse-app ├── .gitignore └── ParseDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── ParseDemo-Prefix.pch │ ├── main.m │ ├── ViewController.h │ └── AppDelegate.h ├── rest-kit-example ├── .gitignore ├── Podfile └── SimpleRestKit │ ├── en.lproj │ └── InfoPlist.strings │ ├── ViewController.h │ ├── SimpleRestKit-Prefix.pch │ ├── main.m │ └── AppDelegate.h ├── BasicAuthClientDemo ├── .gitignore ├── Podfile └── BasicAuthClientDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── DiaryEntryModel.xcdatamodeld │ └── .xccurrentversion │ ├── DiaryEntriesViewController.h │ ├── DiaryEntry.m │ ├── AppDelegate.h │ ├── BasicAuthClientDemo-Prefix.pch │ ├── main.m │ ├── DiaryEntry.h │ └── DiaryStore.h ├── FriendFinderDemo ├── .gitignore ├── FriendFinderDemo │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── FriendsViewController.h │ ├── FriendFinder.xcdatamodeld │ │ └── .xccurrentversion │ ├── AppDelegate.h │ ├── NewFriendViewController.h │ ├── FriendFinderStore.h │ ├── FriendFinderDemo-Prefix.pch │ ├── main.m │ └── Friend.h └── FriendFinderDemoTests │ ├── en.lproj │ └── InfoPlist.strings │ └── FriendFinderDemoTests.h ├── MapKitOverlaysDemo ├── .gitignore ├── Podfile └── MapKitOverlaysDemo │ ├── en.lproj │ └── InfoPlist.strings │ ├── WorkBikeRouteViewController.h │ ├── AppDelegate.h │ ├── MapKitOverlaysDemo-Prefix.pch │ └── main.m ├── object-oriented-obj-c-demo ├── .gitignore └── ObjectOrientedObjectiveC │ ├── ObjectOrientedObjectiveC-Prefix.pch │ ├── Artwork.h │ ├── Book.m │ ├── Book.h │ ├── Movie.h │ ├── Movie.m │ └── Critic.h ├── MBProgressHUDDemo ├── Pods │ ├── Headers │ │ └── MBProgressHUD │ │ │ └── MBProgressHUD.h │ ├── Pods-prefix.pch │ ├── BuildHeaders │ │ └── MBProgressHUD │ │ │ └── MBProgressHUD.h │ ├── PodsDummy_Pods.m │ ├── Pods-Acknowledgements.markdown │ ├── MBProgressHUD │ │ ├── MBProgressHUD.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ └── MBProgressHUD.xcworkspace │ │ │ └── contents.xcworkspacedata │ └── Pods.xcconfig ├── BlocksDemo │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── SlowFoodViewController.h │ ├── AppDelegate.h │ ├── BlocksDemo-Prefix.pch │ └── main.m ├── Podfile.lock ├── BlocksDemo.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── edwardruggeri.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── BlocksDemo.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ └── edwardruggeri.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── Podfile ├── NSMutableSetDemo └── NSMutableSetExample │ ├── en.lproj │ └── InfoPlist.strings │ ├── GridPosition.h │ ├── AppDelegate.h │ ├── NSMutableSetExample-Prefix.pch │ └── main.m └── introduction-to-apis └── bin └── find_ice_cream /PingWebApp/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ViewDeck/VERSION: -------------------------------------------------------------------------------- 1 | 1.4.3 -------------------------------------------------------------------------------- /rails-demo/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/app/mailers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/lib/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/lib/tasks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/test/unit/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DeviseProject/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PingWebApp/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /git-demo-app/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/test/functional/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/test/integration/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/vendor/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rails-demo/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /restaurants-app/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Asteroids/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /ViewsApp/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /multiple-associations/vendor/assets/javascripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multiple-associations/vendor/assets/stylesheets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /quiz-app/.gitignore: -------------------------------------------------------------------------------- 1 | project.xcworkspace 2 | xcuserdata 3 | -------------------------------------------------------------------------------- /AnimationDemo2/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /AudioDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /PushDemoApp/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios 2 | 3 | pod "RestKit" 4 | -------------------------------------------------------------------------------- /TablesDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /VideoDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /messenging-app/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /ArchiverDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /FacebookLogin/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /GameKitDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /GesturesDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /MapAnnotationDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /PushDemoApp/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /UIImagePickerDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /blackjack-example/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /intro-parse-app/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /rest-kit-example/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /BasicAuthClientDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /FacebookLogin/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios 2 | 3 | pod "Facebook-iOS-SDK" 4 | -------------------------------------------------------------------------------- /FriendFinderDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ 4 | -------------------------------------------------------------------------------- /rest-kit-example/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios 2 | 3 | dependency 'RestKit' 4 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, "5.1" 2 | 3 | pod "RestKit" 4 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios 2 | 3 | dependency "RestKit" 4 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/.gitignore: -------------------------------------------------------------------------------- 1 | *.xcworkspace 2 | xcuserdata 3 | Pods/ -------------------------------------------------------------------------------- /rails-demo/app/models/greeting.rb: -------------------------------------------------------------------------------- 1 | class Greeting < ActiveRecord::Base 2 | end -------------------------------------------------------------------------------- /restaurants-app/app/helpers/reviews_helper.rb: -------------------------------------------------------------------------------- 1 | module ReviewsHelper 2 | end 3 | -------------------------------------------------------------------------------- /PingWebApp/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /git-demo-app/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /rails-demo/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /DeviseProject/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /DeviseProject/app/helpers/diary_entries_helper.rb: -------------------------------------------------------------------------------- 1 | module DiaryEntriesHelper 2 | end 3 | -------------------------------------------------------------------------------- /DeviseProject/app/helpers/static_pages_helper.rb: -------------------------------------------------------------------------------- 1 | module StaticPagesHelper 2 | end 3 | -------------------------------------------------------------------------------- /restaurants-app/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /restaurants-app/app/helpers/restaurants_helper.rb: -------------------------------------------------------------------------------- 1 | module RestaurantsHelper 2 | end 3 | -------------------------------------------------------------------------------- /multiple-associations/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/Headers/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/Pods-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /AudioDemo/AudioDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DeviseProject/app/views/static_pages/home.html.haml: -------------------------------------------------------------------------------- 1 | %p 2 | Welcome to my authenticated web page! 3 | -------------------------------------------------------------------------------- /GameKitDemo/GameKitDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/BuildHeaders/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /PushDemoApp/PushDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /TablesDemo/TablesDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ArchiverDemo/ArchiverDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /FacebookLogin/FacebookLogin/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /intro-parse-app/ParseDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /DeviseProject/app/models/diary_entry.rb: -------------------------------------------------------------------------------- 1 | class DiaryEntry < ActiveRecord::Base 2 | belongs_to :user 3 | end 4 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemoTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /rails-demo/config/routes.rb: -------------------------------------------------------------------------------- 1 | DemoProject::Application.routes.draw do 2 | match 'home' => "home#get" 3 | end 4 | -------------------------------------------------------------------------------- /rest-kit-example/SimpleRestKit/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemoTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/MapKitOverlaysDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /NSMutableSetDemo/NSMutableSetExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /UIImagePickerDemo/UIImagePickerDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/jtv-apns.rb: -------------------------------------------------------------------------------- 1 | require 'apns' 2 | 3 | APNS.pem = Rails.root.join("PushCertificate.pem") 4 | -------------------------------------------------------------------------------- /DeviseProject/app/views/shared/_user_controls.html.haml: -------------------------------------------------------------------------------- 1 | = link_to "sign out!", destroy_user_session_path, :method => :delete 2 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/PodsDummy_Pods.m: -------------------------------------------------------------------------------- 1 | @interface PodsDummy_Pods : NSObject 2 | @end 3 | @implementation PodsDummy_Pods 4 | @end 5 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/FeaturesExample/photo.png -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/carbon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/SizableExample/carbon.png -------------------------------------------------------------------------------- /MBProgressHUDDemo/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - MBProgressHUD (0.50m) 3 | 4 | DEPENDENCIES: 5 | - MBProgressHUD (defined in Podfile) 6 | -------------------------------------------------------------------------------- /PingWebApp/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/PingWebApp/app/assets/images/rails.png -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/assets/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/ViewDeckExample/assets/bg.jpg -------------------------------------------------------------------------------- /multiple-associations/app/models/rsvp.rb: -------------------------------------------------------------------------------- 1 | class Rsvp < ActiveRecord::Base 2 | belongs_to :event 3 | belongs_to :student 4 | end 5 | -------------------------------------------------------------------------------- /rails-demo/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/rails-demo/app/assets/images/rails.png -------------------------------------------------------------------------------- /DeviseProject/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/DeviseProject/app/assets/images/rails.png -------------------------------------------------------------------------------- /PingWebApp/config/routes.rb: -------------------------------------------------------------------------------- 1 | PingApp::Application.routes.draw do 2 | resources :apns_tokens, { 3 | :only => ["create"] 4 | } 5 | end 6 | -------------------------------------------------------------------------------- /git-demo-app/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/git-demo-app/app/assets/images/rails.png -------------------------------------------------------------------------------- /DeviseProject/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /DeviseProject/app/controllers/static_pages_controller.rb: -------------------------------------------------------------------------------- 1 | class StaticPagesController < ApplicationController 2 | def home 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /PingWebApp/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /git-demo-app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /rails-demo/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /restaurants-app/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/restaurants-app/app/assets/images/rails.png -------------------------------------------------------------------------------- /restaurants-app/test/unit/helpers/reviews_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ReviewsHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /DeviseProject/test/unit/helpers/static_pages_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class StaticPagesHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/TabbedExample/TabbedExample/first.png -------------------------------------------------------------------------------- /restaurants-app/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /DeviseProject/test/unit/helpers/diary_entries_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class DiaryEntriesHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/TabbedExample/TabbedExample/second.png -------------------------------------------------------------------------------- /multiple-associations/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | protect_from_forgery 3 | end 4 | -------------------------------------------------------------------------------- /restaurants-app/test/unit/helpers/restaurants_helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class RestaurantsHelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/contacts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/TabbedExample/TabbedExample/contacts.png -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/first@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/TabbedExample/TabbedExample/first@2x.png -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/second@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/ViewDeck/TabbedExample/TabbedExample/second@2x.png -------------------------------------------------------------------------------- /multiple-associations/app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/multiple-associations/app/assets/images/rails.png -------------------------------------------------------------------------------- /rails-demo/app/views/home/get.html.erb: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /DeviseProject/app/views/diary_entries/new.html.haml: -------------------------------------------------------------------------------- 1 | = simple_form_for(@diary_entry) do |f| 2 | = f.input :title 3 | 4 | = f.button :submit, :value => "Submit!" 5 | -------------------------------------------------------------------------------- /restaurants-app/app/models/restaurant.rb: -------------------------------------------------------------------------------- 1 | class Restaurant < ActiveRecord::Base 2 | validates_presence_of :name, :cuisine, :address 3 | 4 | has_many :reviews 5 | end 6 | -------------------------------------------------------------------------------- /DeviseProject/test/unit/user_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UserTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /restaurants-app/app/models/review.rb: -------------------------------------------------------------------------------- 1 | class Review < ActiveRecord::Base 2 | validates_presence_of :reviewer, :title, :body, :restaurant_id 3 | 4 | belongs_to :restaurant 5 | end 6 | -------------------------------------------------------------------------------- /restaurants-app/config/routes.rb: -------------------------------------------------------------------------------- 1 | RestaurantsApp::Application.routes.draw do 2 | resources :restaurants 3 | resources :reviews 4 | 5 | root :to => "restaurants#index" 6 | end 7 | -------------------------------------------------------------------------------- /restaurants-app/test/unit/review_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ReviewTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /PingWebApp/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run PingApp::Application 5 | -------------------------------------------------------------------------------- /PingWebApp/test/unit/apns_token_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ApnsTokenTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /multiple-associations/test/unit/event_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class EventTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /DeviseProject/app/views/diary_entries/index.html.haml: -------------------------------------------------------------------------------- 1 | %ul 2 | - for entry in @entries 3 | %li 4 | #{entry.title} #{link_to "Destroy", diary_entry_path(entry), :method => :delete } 5 | -------------------------------------------------------------------------------- /DeviseProject/test/unit/diary_entry_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class DiaryEntryTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/Pods-Acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - http://cocoapods.org 4 | -------------------------------------------------------------------------------- /git-demo-app/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run GitDemoApp::Application 5 | -------------------------------------------------------------------------------- /multiple-associations/test/unit/student_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class StudentTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /rails-demo/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run DemoProject::Application 5 | -------------------------------------------------------------------------------- /restaurants-app/test/unit/restaurant_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class RestaurantTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /DeviseProject/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run DeviseProject::Application 5 | -------------------------------------------------------------------------------- /PingWebApp/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | PingApp::Application.initialize! 6 | -------------------------------------------------------------------------------- /git-demo-app/Readme.md: -------------------------------------------------------------------------------- 1 | # My First Readme 2 | 3 | Hello. Welcome to my repository. This contains my simple git demo app. 4 | 5 | I forgot to mention; this is the repo for the demo I am working on now. -------------------------------------------------------------------------------- /ViewDeck/.gitignore: -------------------------------------------------------------------------------- 1 | # xcode noise 2 | build/* 3 | *.pbxuser 4 | *.mode1v3 5 | *.xcworkspace 6 | xcuserdata 7 | project.xcworkspace/* 8 | xcuserdata/* 9 | 10 | # osx noise 11 | .DS_Store 12 | profile -------------------------------------------------------------------------------- /git-demo-app/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | GitDemoApp::Application.initialize! 6 | -------------------------------------------------------------------------------- /rails-demo/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | DemoProject::Application.initialize! 6 | -------------------------------------------------------------------------------- /restaurants-app/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run RestaurantsApp::Application 5 | -------------------------------------------------------------------------------- /DeviseProject/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | DeviseProject::Application.initialize! 6 | -------------------------------------------------------------------------------- /multiple-associations/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run MultipleAssociations::Application 5 | -------------------------------------------------------------------------------- /multiple-associations/test/unit/attending_student_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class AttendingStudentTest < ActiveSupport::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /restaurants-app/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | RestaurantsApp::Application.initialize! 6 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/SimpleController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SimpleController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface SimpleController : UIViewController 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /restaurants-app/test/functional/reviews_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ReviewsControllerTest < ActionController::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /DeviseProject/test/functional/static_pages_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class StaticPagesControllerTest < ActionController::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/PhotosController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PhotosController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface PhotosController : UITableViewController 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /multiple-associations/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the rails application 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the rails application 5 | MultipleAssociations::Application.initialize! 6 | -------------------------------------------------------------------------------- /restaurants-app/test/functional/restaurants_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class RestaurantsControllerTest < ActionController::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /DeviseProject/test/functional/diary_entries_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class DiaryEntriesControllerTest < ActionController::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /DeviseProject/config/routes.rb: -------------------------------------------------------------------------------- 1 | DeviseProject::Application.routes.draw do 2 | devise_for :users 3 | 4 | resources :diary_entries, :only => [:create, :index, :new, :show, :destroy] 5 | 6 | root :to => 'static_pages#home' 7 | end 8 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/SelectionController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SelectionController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface SelectionController : UITableViewController 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /multiple-associations/app/models/event.rb: -------------------------------------------------------------------------------- 1 | class Event < ActiveRecord::Base 2 | belongs_to :creator, :class_name => "Student" 3 | 4 | has_many :rsvps 5 | has_many :attendees, :through => :rsvps, :source => :student 6 | end 7 | -------------------------------------------------------------------------------- /multiple-associations/db/migrate/20120804145338_rename_attending_students_to_rsvps.rb: -------------------------------------------------------------------------------- 1 | class RenameAttendingStudentsToRsvps < ActiveRecord::Migration 2 | def change 3 | rename_table :attending_students, :rsvps 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /DeviseProject/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /PingWebApp/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/LeftViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LeftViewController.h 3 | // ViewDeckExample 4 | // 5 | 6 | 7 | #import 8 | 9 | @interface LeftViewController : UITableViewController 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /git-demo-app/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /rails-demo/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /PingWebApp/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /rails-demo/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /restaurants-app/app/assets/stylesheets/reviews.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the reviews controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /restaurants-app/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /DeviseProject/app/assets/stylesheets/static_pages.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the StaticPages controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /DeviseProject/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /PingWebApp/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /git-demo-app/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /multiple-associations/config/boot.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | 3 | # Set up gems listed in the Gemfile. 4 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 5 | 6 | require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) 7 | -------------------------------------------------------------------------------- /rails-demo/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /restaurants-app/app/assets/stylesheets/restaurants.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the restaurants controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /restaurants-app/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /DeviseProject/app/assets/stylesheets/diary_entries.css.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the DiaryEntries controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /DeviseProject/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /git-demo-app/db/migrate/20120731210518_create_users_table.rb: -------------------------------------------------------------------------------- 1 | class CreateUsersTable < ActiveRecord::Migration 2 | def change 3 | create_table :users do |t| 4 | t.string :first_name 5 | t.string :last_name 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /git-demo-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /restaurants-app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /PingWebApp/db/migrate/20120916161434_create_apns_tokens.rb: -------------------------------------------------------------------------------- 1 | class CreateApnsTokens < ActiveRecord::Migration 2 | def change 3 | create_table :apns_tokens do |t| 4 | t.string :token 5 | 6 | t.timestamps 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /multiple-associations/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /multiple-associations/public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /rails-demo/app/controllers/home_controller.rb: -------------------------------------------------------------------------------- 1 | class HomeController < ApplicationController 2 | def get 3 | if params.include?(:id) 4 | @g = Greeting.all.shuffle.first 5 | else 6 | @g = Greeting.find(params[:id]) 7 | end 8 | end 9 | end -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PingWebApp/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /git-demo-app/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /multiple-associations/db/migrate/20120804002624_create_events.rb: -------------------------------------------------------------------------------- 1 | class CreateEvents < ActiveRecord::Migration 2 | def change 3 | create_table :events do |t| 4 | t.integer :creator_id 5 | 6 | t.timestamps 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /rails-demo/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /DeviseProject/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /git-demo-app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /restaurants-app/app/views/reviews/show.html.erb: -------------------------------------------------------------------------------- 1 |

2 | <%= @review.title %> 3 |

4 | 5 |
    6 |
  • Restaurant: <%= @review.restaurant.name %>
  • 7 |
  • by: <%= @review.reviewer %>
  • 8 |
9 | 10 |

11 | <%= @review.body %> 12 |

-------------------------------------------------------------------------------- /restaurants-app/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo.xcworkspace/xcuserdata/edwardruggeri.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/MBProgressHUDDemo/BlocksDemo.xcworkspace/xcuserdata/edwardruggeri.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /multiple-associations/app/models/student.rb: -------------------------------------------------------------------------------- 1 | class Student < ActiveRecord::Base 2 | has_many :created_events, :class_name => "Event", :foreign_key => :creator_id 3 | 4 | has_many :rsvps 5 | has_many :attending_events, :through => :rsvps, :source => :event 6 | end 7 | -------------------------------------------------------------------------------- /multiple-associations/config/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" 6 | -------------------------------------------------------------------------------- /restaurants-app/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /multiple-associations/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/PathlikeSliderController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PathlikeSliderController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | #import "IIViewDeckController.h" 8 | 9 | @interface PathlikeSliderController : IIViewDeckController 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios 2 | 3 | pod do |spec| 4 | spec.name = 'MBProgressHUD' 5 | spec.version = '0.50m' 6 | spec.source = { :git => 'https://github.com/jdg/MBProgressHUD.git', :branch => 'master' } 7 | spec.source_files = 'MBProgressHUD.*' 8 | end -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/MBProgressHUD/MBProgressHUD.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/WebController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface WebController : UIViewController 9 | 10 | @property (nonatomic, retain) IBOutlet UIWebView* webView; 11 | 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /rails-demo/db/migrate/20120730164349_create_greetings_table.rb: -------------------------------------------------------------------------------- 1 | class CreateGreetingsTable < ActiveRecord::Migration 2 | def change 3 | create_table :greetings do |t| 4 | t.string "from" 5 | t.string "to" 6 | t.string "msg" 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /restaurants-app/app/views/restaurants/index.html.erb: -------------------------------------------------------------------------------- 1 |
    2 | <% for restaurant in @restaurants %> 3 |
  • 4 | <%= link_to(restaurant.name, restaurant_url(restaurant)) %> 5 |
  • 6 | <% end %> 7 |
8 | 9 | <%= link_to "Create new restaurant!", new_restaurant_url %> -------------------------------------------------------------------------------- /messenging-app/MessengerApp/Message.m: -------------------------------------------------------------------------------- 1 | // 2 | // Message.m 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import "Message.h" 10 | 11 | @implementation Message 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /restaurants-app/app/assets/javascripts/reviews.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ 4 | -------------------------------------------------------------------------------- /DeviseProject/app/assets/javascripts/diary_entries.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ 4 | -------------------------------------------------------------------------------- /DeviseProject/app/assets/javascripts/static_pages.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ 4 | -------------------------------------------------------------------------------- /multiple-associations/db/migrate/20120804002638_create_students.rb: -------------------------------------------------------------------------------- 1 | class CreateStudents < ActiveRecord::Migration 2 | def change 3 | create_table :students do |t| 4 | t.string :name 5 | t.string :phone_number 6 | 7 | t.timestamps 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/ObjectOrientedObjectiveC-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ObjectOrientedObjectiveC' target in the 'ObjectOrientedObjectiveC' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /restaurants-app/app/assets/javascripts/restaurants.js.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ 4 | -------------------------------------------------------------------------------- /DeviseProject/db/migrate/20120912135355_create_diary_entries.rb: -------------------------------------------------------------------------------- 1 | class CreateDiaryEntries < ActiveRecord::Migration 2 | def change 3 | create_table :diary_entries do |t| 4 | t.integer :user_id 5 | 6 | t.string :title 7 | 8 | t.timestamps 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo.xcodeproj/project.xcworkspace/xcuserdata/edwardruggeri.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appacademy/ios-curriculum/HEAD/MBProgressHUDDemo/BlocksDemo.xcodeproj/project.xcworkspace/xcuserdata/edwardruggeri.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/LinesView.h: -------------------------------------------------------------------------------- 1 | // 2 | // LinesView.h 3 | // ViewsDemoProject 4 | // 5 | // Created by Edward Ruggeri on 8/21/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LinesView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/AsteroidsView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AsteroidsView.h 3 | // Asteroids 4 | // 5 | // Created by Edward Ruggeri on 8/23/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AsteroidsView : UIView 12 | @end 13 | -------------------------------------------------------------------------------- /PingWebApp/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | PingApp::Application.load_tasks 8 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @class ChoiceController; 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (strong, nonatomic) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /rails-demo/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | DemoProject::Application.load_tasks 8 | -------------------------------------------------------------------------------- /DeviseProject/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | DeviseProject::Application.load_tasks 8 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/FeaturesExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #ifndef __IPHONE_4_0 4 | #warning "This project uses features only available in iOS SDK 4.0 and later." 5 | #endif 6 | 7 | #ifdef __OBJC__ 8 | #import 9 | #import 10 | #endif 11 | -------------------------------------------------------------------------------- /git-demo-app/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | GitDemoApp::Application.load_tasks 8 | -------------------------------------------------------------------------------- /multiple-associations/db/migrate/20120804002655_create_attending_students.rb: -------------------------------------------------------------------------------- 1 | class CreateAttendingStudents < ActiveRecord::Migration 2 | def change 3 | create_table :attending_students do |t| 4 | t.integer :event_id 5 | t.integer :student_id 6 | 7 | t.timestamps 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /restaurants-app/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | RestaurantsApp::Application.load_tasks 8 | -------------------------------------------------------------------------------- /restaurants-app/app/views/restaurants/new.html.erb: -------------------------------------------------------------------------------- 1 | <%= form_for(@restaurant) do |f| %> 2 | <%= f.label :name %> 3 | <%= f.text_field :name %> 4 | <%= f.label :cuisine %> 5 | <%= f.text_field :cuisine %> 6 | <%= f.label :address %> 7 | <%= f.text_field :address %> 8 | <%= f.submit "Create Restaurant!" %> 9 | <% end %> -------------------------------------------------------------------------------- /restaurants-app/db/migrate/20120801062609_create_restaurants.rb: -------------------------------------------------------------------------------- 1 | class CreateRestaurants < ActiveRecord::Migration 2 | def change 3 | create_table :restaurants do |t| 4 | t.string :name 5 | t.string :address 6 | t.string :cuisine 7 | 8 | t.timestamps 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/SlidingBoxView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlidingBoxView.h 3 | // CoreAnimationDemo2 4 | // 5 | // Created by Edward Ruggeri on 8/22/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SlidingBoxView : UIView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/ColorView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ColorView.h 3 | // GesturesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/31/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ColorView : UIView 12 | @property CGFloat brightness; 13 | @end 14 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/VideosViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // VideosViewController.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface VideosViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /GameKitDemo/GameKitDemo/GameViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // GameViewController.h 3 | // GameKitDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface GameViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /PingWebApp/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/MusicViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MusicViewController.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MusicViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /multiple-associations/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rake 2 | # Add your own tasks in files placed in lib/tasks ending in .rake, 3 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 4 | 5 | require File.expand_path('../config/application', __FILE__) 6 | 7 | MultipleAssociations::Application.load_tasks 8 | -------------------------------------------------------------------------------- /DeviseProject/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/PlayVideoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PlayVideoViewController.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PlayVideoViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /git-demo-app/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby1.9 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /rails-demo/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby1.9 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /FacebookLogin/Podfile.lock: -------------------------------------------------------------------------------- 1 | 2 | PODS: 3 | - Facebook-iOS-SDK (3.0.8): 4 | - SBJson (= 2.2.3) 5 | - SBJson (2.2.3) 6 | 7 | DEPENDENCIES: 8 | - Facebook-iOS-SDK 9 | 10 | SPEC CHECKSUMS: 11 | Facebook-iOS-SDK: b0ba662e2a7d39a76ff04cca7d42f6d4b629fffb 12 | SBJson: cc373c9eed9314a45715e4fb77a1415c45fa056e 13 | 14 | COCOAPODS: 0.14.0 15 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/RecordVideoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RecordVideoViewController.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RecordVideoViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | #import "AppDelegate.h" 9 | 10 | int main(int argc, char *argv[]) 11 | { 12 | @autoreleasepool { 13 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/LeftController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LeftController.h 3 | // SizableExample 4 | // 5 | // Created by Tom Adriaenssen on 14/01/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LeftController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // SizableExample 4 | // 5 | 6 | #import 7 | 8 | @interface ViewController : UIViewController 9 | 10 | @property (nonatomic, strong) IBOutlet UIView* containerView; 11 | 12 | - (IBAction)zoomPressed:(id)sender; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/LinesViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LinesViewController.h 3 | // ViewsDemoProject 4 | // 5 | // Created by Edward Ruggeri on 8/21/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LinesViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /restaurants-app/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby1.9 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /FacebookLogin/FacebookLogin/FriendsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FriendsViewController.h 3 | // FacebookLogin 4 | // 5 | // Created by Edward Ruggeri on 9/18/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FriendsViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /PingWebApp/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | PingApp 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/PushedViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // PushedViewController.h 3 | // ViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 10/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PushedViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /multiple-associations/script/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby1.9 2 | # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. 3 | 4 | APP_PATH = File.expand_path('../../config/application', __FILE__) 5 | require File.expand_path('../../config/boot', __FILE__) 6 | require 'rails/commands' 7 | -------------------------------------------------------------------------------- /rails-demo/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DemoProject 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/FriendsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FriendsViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo/SlowFoodViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlowFoodViewController.h 3 | // BlocksDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SlowFoodViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/CenterController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CenterController.h 3 | // SizableExample 4 | // 5 | // Created by Tom Adriaenssen on 14/01/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface CenterController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /git-demo-app/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | GitDemoApp 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/QuizStore.h: -------------------------------------------------------------------------------- 1 | // 2 | // QuizStore.h 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class Question; 12 | 13 | @interface QuizStore : NSObject 14 | +(Question*)randomQuestion; 15 | @end 16 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/SpinningViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SpinningViewController.h 3 | // CoreAnimationDemo2 4 | // 5 | // Created by Edward Ruggeri on 8/22/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SpinningViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemoTests/GesturesDemoTests.h: -------------------------------------------------------------------------------- 1 | // 2 | // GesturesDemoTests.h 3 | // GesturesDemoTests 4 | // 5 | // Created by Edward Ruggeri on 8/31/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface GesturesDemoTests : SenTestCase 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/FifthViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FifthViewController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FifthViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/FourthViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FourthViewController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FourthViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/SecondViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SecondViewController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SecondViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/SelectorController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SelectorController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SelectorController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/ThirdViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ThirdViewController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ThirdViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // ViewDeckExample 4 | // 5 | 6 | 7 | #import 8 | 9 | @interface ViewController : UITableViewController 10 | 11 | @property (nonatomic, retain) UIPopoverController* popoverController; 12 | @end 13 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/ListMessagesViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ListMessagesViewController.h 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ListMessagesViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /restaurants-app/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RestaurantsApp 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /restaurants-app/db/migrate/20120803182708_create_reviews.rb: -------------------------------------------------------------------------------- 1 | class CreateReviews < ActiveRecord::Migration 2 | def change 3 | create_table :reviews do |t| 4 | t.string :reviewer 5 | t.string :title 6 | t.text :body 7 | 8 | t.integer :restaurant_id 9 | 10 | t.timestamps 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /AudioDemo/AudioDemo/AudioRecordAndPlayViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AudioRecordAndPlayViewController.h 3 | // AudioDemo 4 | // 5 | // Created by Edward Ruggeri on 9/2/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AudioRecordAndPlayViewController : UIViewController 12 | @end 13 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/ColorGestureViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ColorGestureViewController.h 3 | // GesturesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/31/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ColorGestureViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/FriendFinder.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | FriendFinder.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /multiple-associations/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MultipleAssociations 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <%= yield %> 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /AudioDemo/AudioDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // AudioDemo 4 | // 5 | // Created by Edward Ruggeri on 9/2/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | @property (strong, nonatomic) UIWindow *window; 13 | @end 14 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | @property (strong, nonatomic) UIWindow *window; 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/LeftViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LeftViewController.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 30/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LeftViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/DiaryEntryModel.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | DiaryEntryModel.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemoTests/FriendFinderDemoTests.h: -------------------------------------------------------------------------------- 1 | // 2 | // FriendFinderDemoTests.h 3 | // FriendFinderDemoTests 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FriendFinderDemoTests : SenTestCase 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/ParseVideoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ParseVideoViewController.h 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/2/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ParseVideoViewController : PFQueryTableViewController 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/LeftViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LeftViewController.h 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 06/05/12. 6 | // Copyright (c) 2012 Tom Adriaenssen. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LeftViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/ModalViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ModalViewController.h 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 10/05/12. 6 | // Copyright (c) 2012 Tom Adriaenssen. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ModalViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/DeeperViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DeeperViewController.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 30/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DeeperViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/RightViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RightViewController.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 30/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RightViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/StartViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // StartViewController.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 27/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface StartViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/DiaryEntriesViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DiaryEntriesViewController.h 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/12/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface DiaryEntriesViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/DiaryEntry.m: -------------------------------------------------------------------------------- 1 | // 2 | // DiaryEntry.m 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/13/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import "DiaryEntry.h" 10 | 11 | 12 | @implementation DiaryEntry 13 | 14 | @dynamic title; 15 | @dynamic diaryEntryId; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/MapKitOverlaysDemo/WorkBikeRouteViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WorkBikeRouteViewController.h 3 | // MapKitOverlaysDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface WorkBikeRouteViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /NSMutableSetDemo/NSMutableSetExample/GridPosition.h: -------------------------------------------------------------------------------- 1 | // 2 | // GridPosition.h 3 | // NSMutableSetExample 4 | // 5 | // Created by Edward Ruggeri on 9/6/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface GridPosition : NSObject 12 | @property int row; 13 | @property int col; 14 | @end 15 | -------------------------------------------------------------------------------- /PingWebApp/app/controllers/apns_tokens_controller.rb: -------------------------------------------------------------------------------- 1 | class ApnsTokensController < ApplicationController 2 | respond_to :json 3 | 4 | def create 5 | @token = ApnsToken.new(params[:apns_token]) 6 | 7 | if @token.save 8 | render :json => { :success => true } 9 | else 10 | render :json => { :errors => @token.errors } 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /PingWebApp/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/BottomViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BottomViewController.h 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 06/05/12. 6 | // Copyright (c) 2012 Tom Adriaenssen. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface BottomViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/CenterViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CenterViewController.h 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 06/05/12. 6 | // Copyright (c) 2012 Tom Adriaenssen. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface CenterViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /rails-demo/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Asteroids 4 | // 5 | // Created by Edward Ruggeri on 8/23/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /DeviseProject/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /PushDemoApp/PushDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // PushDemo 4 | // 5 | // Created by Edward Ruggeri on 9/16/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /TablesDemo/TablesDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // TablesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/17/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/NestViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NestViewController.h 3 | // ViewDeckExample 4 | // 5 | 6 | #import 7 | 8 | @interface NestViewController : UIViewController 9 | 10 | @property (nonatomic, assign) NSInteger level; 11 | @property (nonatomic, retain) IBOutlet UILabel* levelLabel; 12 | 13 | - (IBAction)pressedGoDeeper:(id)sender; 14 | @end 15 | -------------------------------------------------------------------------------- /git-demo-app/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Artwork.h: -------------------------------------------------------------------------------- 1 | // 2 | // Artwork.h 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol Artwork 12 | -(NSString*) creator; 13 | -(NSString*) title; 14 | @end 15 | -------------------------------------------------------------------------------- /restaurants-app/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /ArchiverDemo/ArchiverDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ArchiverDemo 4 | // 5 | // Created by Edward Ruggeri on 9/4/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /GameKitDemo/GameKitDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // GameKitDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // GesturesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/31/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/Deck.h: -------------------------------------------------------------------------------- 1 | // 2 | // Deck.h 3 | // Blackjack 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class Card; 12 | 13 | @interface Deck : NSObject 14 | -(void)returnCard:(Card*)card; 15 | -(void)shuffle; 16 | -(Card*)takeCard; 17 | @end 18 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // BlocksDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/FirstViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FirstViewController.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FirstViewController : UIViewController 12 | 13 | - (IBAction)pushed:(id)sender; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ViewsDemoProject 4 | // 5 | // Created by Edward Ruggeri on 8/21/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /multiple-associations/db/seeds.rb: -------------------------------------------------------------------------------- 1 | # This file should contain all the record creation needed to seed the database with its default values. 2 | # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). 3 | # 4 | # Examples: 5 | # 6 | # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) 7 | # Mayor.create(name: 'Emanuel', city: cities.first) 8 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // CoreAnimationDemo2 4 | // 5 | // Created by Edward Ruggeri on 8/22/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/SimpleAnnotation.m: -------------------------------------------------------------------------------- 1 | // 2 | // SimpleAnnotation.m 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import "SimpleAnnotation.h" 10 | 11 | @implementation SimpleAnnotation 12 | @synthesize coordinate = _coordinate; 13 | @synthesize title = _title; 14 | @end 15 | -------------------------------------------------------------------------------- /UIImagePickerDemo/UIImagePickerDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // UIImagePickerDemo 4 | // 5 | // Created by Edward Ruggeri on 8/24/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/NewFriendViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewFriendViewController.h 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NewFriendViewController : UIViewController 12 | @property (strong) void(^completionBlock)(void); 13 | @end 14 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/MapKitOverlaysDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MapKitOverlaysDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /NSMutableSetDemo/NSMutableSetExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // NSMutableSetExample 4 | // 5 | // Created by Edward Ruggeri on 9/6/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/QuizApp-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'QuizApp' target in the 'QuizApp' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/Asteroids-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Asteroids' target in the 'Asteroids' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /AudioDemo/AudioDemo/AudioDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'AudioDemo' target in the 'AudioDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/12/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /PushDemoApp/PushDemo/PushDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'PushDemo' target in the 'PushDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /TablesDemo/TablesDemo/PresidentsTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ItemsViewController.h 3 | // TablesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/17/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PresidentsTableViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UITableView *itemsView; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/VideoDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'VideoDemo' target in the 'VideoDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /TablesDemo/TablesDemo/TablesDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'TablesDemo' target in the 'TablesDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /UIImagePickerDemo/UIImagePickerDemo/ImagePresentationControllerViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ImagePresentationControllerViewController.h 3 | // UIImagePickerDemo 4 | // 5 | // Created by Edward Ruggeri on 8/24/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ImagePresentationControllerViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /GameKitDemo/GameKitDemo/GameKitDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'GameKitDemo' target in the 'GameKitDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /PingWebApp/app/models/apns_token.rb: -------------------------------------------------------------------------------- 1 | class ApnsToken < ActiveRecord::Base 2 | validates_presence_of :token 3 | 4 | def send_notification(hash) 5 | APNS.send_notification(self.token, 6 | :aps => { 7 | :alert => hash[:alert], 8 | :badge => hash[:badge] || 0, 9 | :sound => hash[:sound] || "default" 10 | }, 11 | :more_data => hash[:more_data] 12 | ) 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/RootViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RootViewController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface RootViewController : UIViewController 9 | 10 | @property (nonatomic, retain) IBOutlet UIView* choiceView; 11 | @property (nonatomic, retain) IBOutlet UIView* panningView; 12 | @property (nonatomic, retain) UINavigationController* navController; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 27/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/Blackjack-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Blackjack' target in the 'Blackjack' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /intro-parse-app/ParseDemo/ParseDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ParseDemo' target in the 'ParseDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/DisplayMessageViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // DisplayMessageViewController.h 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class Message; 12 | 13 | @interface DisplayMessageViewController : UIViewController 14 | @property (strong) Message* msg; 15 | @end 16 | -------------------------------------------------------------------------------- /ArchiverDemo/ArchiverDemo/ArchiverDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ArchiverDemo' target in the 'ArchiverDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/GesturesDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'GesturesDemo' target in the 'GesturesDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo/BlocksDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'BlocksDemo' target in the 'BlocksDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /DeviseProject/test/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /FacebookLogin/FacebookLogin/FacebookLogin-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'FacebookLogin' target in the 'FacebookLogin' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 06/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/MessengerApp-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'MessengerApp' target in the 'MessengerApp' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /rest-kit-example/SimpleRestKit/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // SimpleRestKit 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UITextField *twitterHandleField; 13 | - (IBAction)fetchTweets; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/FriendFinderStore.h: -------------------------------------------------------------------------------- 1 | // 2 | // FriendFinderStore.h 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class Friend; 12 | 13 | @interface FriendFinderStore : NSObject 14 | +(NSArray*)allFriends; 15 | +(Friend*)createFriend; 16 | +(void)save; 17 | @end 18 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/MBProgressHUD/MBProgressHUD.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /PingWebApp/test/fixtures/apns_tokens.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Book.m: -------------------------------------------------------------------------------- 1 | // 2 | // Book.m 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import "Book.h" 10 | 11 | @implementation Book 12 | @synthesize title = _title; 13 | @synthesize author = _author; 14 | 15 | -(NSString*)creator { 16 | return self.author; 17 | } 18 | @end 19 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /rest-kit-example/SimpleRestKit/SimpleRestKit-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'SimpleRestKit' target in the 'SimpleRestKit' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /restaurants-app/test/fixtures/reviews.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Asteroids 4 | // 5 | // Created by Edward Ruggeri on 8/23/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /AudioDemo/AudioDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // AudioDemo 4 | // 5 | // Created by Edward Ruggeri on 9/2/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DeviseProject/test/fixtures/diary_entries.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/Pods/Pods.xcconfig: -------------------------------------------------------------------------------- 1 | PODS_ROOT = ${SRCROOT}/Pods 2 | PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} 3 | ALWAYS_SEARCH_USER_PATHS = YES 4 | OTHER_LDFLAGS = -ObjC 5 | HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} 6 | PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/MBProgressHUD" 7 | PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/MBProgressHUD" -------------------------------------------------------------------------------- /PushDemoApp/PushDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // PushDemo 4 | // 5 | // Created by Edward Ruggeri on 9/16/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /TablesDemo/TablesDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // TablesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/17/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /VideoDemo/VideoDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // VideoDemo 4 | // 5 | // Created by Edward Ruggeri on 9/1/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/ViewsDemoProject-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ViewsDemoProject' target in the 'ViewsDemoProject' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /multiple-associations/test/fixtures/events.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /multiple-associations/test/fixtures/students.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Book.h: -------------------------------------------------------------------------------- 1 | // 2 | // Book.h 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "Artwork.h" 11 | 12 | @interface Book : NSObject 13 | @property (strong) NSString* title; 14 | @property (strong) NSString* author; 15 | @end 16 | -------------------------------------------------------------------------------- /restaurants-app/test/fixtures/restaurants.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /ArchiverDemo/ArchiverDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ArchiverDemo 4 | // 5 | // Created by Edward Ruggeri on 9/4/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /GameKitDemo/GameKitDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // GameKitDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Blackjack 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /intro-parse-app/ParseDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ParseDemo 4 | // 5 | // Created by Edward Ruggeri on 8/10/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Asteroids/Asteroids/Asteroid.h: -------------------------------------------------------------------------------- 1 | // 2 | // Asteroid.h 3 | // Asteroids 4 | // 5 | // Created by Edward Ruggeri on 8/23/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Asteroid : NSObject 12 | @property (readonly) CGRect frame; 13 | 14 | +(Asteroid*)asteroidAtPos:(CGPoint)pos withView:(UIView*)view; 15 | 16 | -(void)beginMove; 17 | -(void)destroy; 18 | @end 19 | -------------------------------------------------------------------------------- /FacebookLogin/FacebookLogin/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FacebookLogin 4 | // 5 | // Created by Edward Ruggeri on 9/16/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/FriendFinderDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'FriendFinderDemo' target in the 'FriendFinderDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /GesturesDemo/GesturesDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // GesturesDemo 4 | // 5 | // Created by Edward Ruggeri on 8/31/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /MBProgressHUDDemo/BlocksDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // BlocksDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/HelloViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // HelloViewController.h 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface HelloViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UILabel *messageLabel; 13 | @property (strong) NSString* message; 14 | @end 15 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/MapAnnotationDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'MapAnnotationDemo' target in the 'MapAnnotationDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /UIImagePickerDemo/UIImagePickerDemo/UIImagePickerDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'UIImagePickerDemo' target in the 'UIImagePickerDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/SizableExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'SizableExample' target in the 'SizableExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /ViewsApp/ViewsDemoProject/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ViewsDemoProject 4 | // 5 | // Created by Edward Ruggeri on 8/21/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /multiple-associations/test/fixtures/attending_students.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html 2 | 3 | # This model initially had no columns defined. If you add columns to the 4 | # model remove the '{}' from the fixture names and add the columns immediately 5 | # below each fixture, per the syntax in the comments below 6 | # 7 | one: {} 8 | # column: value 9 | # 10 | two: {} 11 | # column: value 12 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/CoreAnimationDemo2-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'CoreAnimationDemo2' target in the 'CoreAnimationDemo2' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/MapKitOverlaysDemo/MapKitOverlaysDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'MapKitOverlaysDemo' target in the 'MapKitOverlaysDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/Hand.h: -------------------------------------------------------------------------------- 1 | // 2 | // Hand.h 3 | // Blackjack 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class Deck; 12 | 13 | @interface Hand : NSObject 14 | -(NSString*)hiddenDealerDescription; 15 | -(int)handValue; 16 | -(void)returnCardsToDeck:(Deck*)deck; 17 | -(void)takeCardFromDeck:(Deck*)deck; 18 | @end 19 | -------------------------------------------------------------------------------- /rest-kit-example/SimpleRestKit/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // SimpleRestKit 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /AnimationDemo2/CoreAnimationDemo2/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // CoreAnimationDemo2 4 | // 5 | // Created by Edward Ruggeri on 8/22/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/BasicAuthClientDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'BasicAuthClientDemo' target in the 'BasicAuthClientDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /DeviseProject/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /NSMutableSetDemo/NSMutableSetExample/NSMutableSetExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'NSMutableSetExample' target in the 'NSMutableSetExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /PingWebApp/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /git-demo-app/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/Message.h: -------------------------------------------------------------------------------- 1 | // 2 | // Message.h 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Message : NSObject 12 | @property (strong) NSString* fromUser; 13 | @property (strong) NSString* toUser; 14 | @property (strong) NSString* title; 15 | @property (strong) NSString* body; 16 | @end 17 | -------------------------------------------------------------------------------- /rails-demo/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface ViewController : UIViewController 13 | - (IBAction)pushHelloController; 14 | @property (weak, nonatomic) IBOutlet MKMapView *mapView; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MapKitOverlaysDemo/MapKitOverlaysDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MapKitOverlaysDemo 4 | // 5 | // Created by Edward Ruggeri on 8/25/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /NSMutableSetDemo/NSMutableSetExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // NSMutableSetExample 4 | // 5 | // Created by Edward Ruggeri on 9/6/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /UIImagePickerDemo/UIImagePickerDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // UIImagePickerDemo 4 | // 5 | // Created by Edward Ruggeri on 8/24/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/NavigationExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'NavigationExample' target in the 'NavigationExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /restaurants-app/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/12/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /git-demo-app/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /multiple-associations/test/performance/browsing_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'rails/performance_test_help' 3 | 4 | class BrowsingTest < ActionDispatch::PerformanceTest 5 | # Refer to the documentation for all available options 6 | # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] 7 | # :output => 'tmp/performance', :formats => [:flat] } 8 | 9 | def test_homepage 10 | get '/' 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/Question.h: -------------------------------------------------------------------------------- 1 | // 2 | // Question.h 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface Question : NSObject 12 | @property (readonly, strong) NSString* prompt; 13 | @property (readonly, strong) NSString* response; 14 | 15 | +(Question*)withPrompt:(NSString*)prompt andResponse:(NSString*)response; 16 | @end 17 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /FacebookLogin/FacebookLogin/LoginController.h: -------------------------------------------------------------------------------- 1 | // 2 | // LogLogController.h 3 | // FacebookLogin 4 | // 5 | // Created by Edward Ruggeri on 9/17/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface LoginController : UIViewController 12 | +(void)loginWithViewController:(UIViewController*)viewController 13 | andCompletion:(void(^)(void))loginSuccessCompletion; 14 | @end 15 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | PingApp::Application.config.session_store :cookie_store, key: '_ping-app_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # PingApp::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // SizableExample 4 | // 5 | // Created by Tom Adriaenssen on 14/01/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /intro-parse-app/ParseDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // ParseDemo 4 | // 5 | // Created by Edward Ruggeri on 8/10/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UITextField *messageTextField; 13 | 14 | - (IBAction)saveMessage; 15 | - (IBAction)getMessage; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /restaurants-app/app/views/restaurants/show.html.erb: -------------------------------------------------------------------------------- 1 |

Restaurant info

2 |
    3 |
  • <%= @restaurant.name %>
  • 4 |
  • <%= @restaurant.cuisine %>
  • 5 |
  • <%= @restaurant.address %>
  • 6 |
7 | 8 |

Reviews

9 |
    10 | <% for review in @restaurant.reviews %> 11 |
  • <%= link_to review.title, review_url(review) %>
  • 12 | <% end %> 13 |
14 | 15 | <%= link_to "New review!", new_review_url(:restaurant_id => @restaurant.id) %> -------------------------------------------------------------------------------- /restaurants-app/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/MultiViewDeckExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'MultiViewDeckExample' target in the 'MultiViewDeckExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /multiple-associations/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. 4 | # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } 5 | 6 | # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. 7 | # Rails.backtrace_cleaner.remove_silencers! 8 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/SimpleAnnotation.h: -------------------------------------------------------------------------------- 1 | // 2 | // SimpleAnnotation.h 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface SimpleAnnotation : NSObject 13 | @property (nonatomic) CLLocationCoordinate2D coordinate; 14 | @property (copy, nonatomic) NSString* title; 15 | @end 16 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 27/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /blackjack-example/Blackjack/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Blackjack 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /git-demo-app/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | GitDemoApp::Application.config.session_store :cookie_store, key: '_git-demo-app_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # GitDemoApp::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /intro-parse-app/ParseDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ParseDemo 4 | // 5 | // Created by Edward Ruggeri on 8/10/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | DemoProject::Application.config.session_store :cookie_store, key: '_demo_project_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # DemoProject::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /restaurants-app/app/views/reviews/new.html.erb: -------------------------------------------------------------------------------- 1 |

Create new review for <%= @review.restaurant.name %>!

2 | 3 | <%= form_for(@review) do |f| %> 4 | <%= f.label :title %> 5 | <%= f.text_field :title %> 6 | 7 |
8 | 9 | <%= f.label :reviewer %> 10 | <%= f.text_field :reviewer %> 11 | 12 |
13 | 14 | <%= f.label :body %> 15 | <%= f.text_area :body %> 16 | 17 |
18 | 19 | <%= f.hidden_field :restaurant_id %> 20 | <%= f.submit "Review!" %> 21 | <% end %> -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/DiaryEntry.h: -------------------------------------------------------------------------------- 1 | // 2 | // DiaryEntry.h 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/13/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface DiaryEntry : NSManagedObject 14 | 15 | @property (nonatomic, retain) NSString * title; 16 | @property (nonatomic, retain) NSNumber * diaryEntryId; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | DeviseProject::Application.config.session_store :cookie_store, key: '_DeviseProject_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # DeviseProject::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MultiViewDeckExample 4 | // 5 | // Created by Tom Adriaenssen on 06/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char *argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ViewDeck/NavigationExample/NavigationExample/CenterViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // CenterViewController.h 3 | // NavigationExample 4 | // 5 | // Created by Tom Adriaenssen on 30/05/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA, 10to1. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "IIViewDeckController.h" 11 | 12 | @interface CenterViewController : UIViewController 13 | 14 | @property (nonatomic, assign) IIViewDeckNavigationControllerBehavior behavior; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /rest-kit-example/SimpleRestKit/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // SimpleRestKit 4 | // 5 | // Created by Edward Ruggeri on 8/14/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /restaurants-app/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | RestaurantsApp::Application.config.session_store :cookie_store, key: '_restaurants-app_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # RestaurantsApp::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /PingWebApp/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /rails-demo/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /DeviseProject/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /ViewDeck/SizableExample/SizableExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // SizableExample 4 | // 5 | // Created by Tom Adriaenssen on 14/01/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class ViewController; 12 | 13 | @interface AppDelegate : UIResponder 14 | 15 | @property (strong, nonatomic) UIWindow *window; 16 | 17 | @property (strong, nonatomic) ViewController *viewController; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /git-demo-app/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Movie.h: -------------------------------------------------------------------------------- 1 | // 2 | // Movie.h 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "Artwork.h" 11 | 12 | @interface Movie : NSObject 13 | @property (strong) NSString* title; 14 | @property (strong) NSString* director; 15 | @property (strong) NSArray* actors; 16 | @property int releaseYear; 17 | @end 18 | -------------------------------------------------------------------------------- /restaurants-app/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /FriendFinderDemo/FriendFinderDemo/Friend.h: -------------------------------------------------------------------------------- 1 | // 2 | // Friend.h 3 | // FriendFinderDemo 4 | // 5 | // Created by Edward Ruggeri on 8/30/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface Friend : NSManagedObject 13 | 14 | @property (nonatomic, retain) NSString * name; 15 | @property (nonatomic, retain) NSData * photoData; 16 | 17 | @property (nonatomic, strong) UIImage* photo; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // ViewDeckExample 4 | // 5 | 6 | #import 7 | 8 | @class ViewController; 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (retain, nonatomic) UIWindow *window; 13 | 14 | @property (retain, nonatomic) UIViewController *centerController; 15 | @property (retain, nonatomic) UIViewController *leftController; 16 | @property (retain, nonatomic) UIViewController *imageController; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /messenging-app/MessengerApp/MessageStore.h: -------------------------------------------------------------------------------- 1 | // 2 | // MessageStore.h 3 | // MessengerApp 4 | // 5 | // Created by Edward Ruggeri on 8/20/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MessageStore : NSObject 12 | +(void)initializeMessageStore; 13 | +(NSArray*)messagesForUser:(NSString*)userName; 14 | +(void)sendMessageToUser:(NSString*)toUser fromUser:(NSString*)fromUser title:(NSString*)title body:(NSString*)body; 15 | @end 16 | -------------------------------------------------------------------------------- /multiple-associations/.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | # 3 | # If you find yourself ignoring temporary files generated by your text editor 4 | # or operating system, you probably want to add a global ignore instead: 5 | # git config --global core.excludesfile ~/.gitignore_global 6 | 7 | # Ignore bundler config 8 | /.bundle 9 | 10 | # Ignore the default SQLite database. 11 | /db/*.sqlite3 12 | 13 | # Ignore all logfiles and tempfiles. 14 | /log/*.log 15 | /tmp 16 | -------------------------------------------------------------------------------- /multiple-associations/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | MultipleAssociations::Application.config.session_store :cookie_store, key: '_multiple-associations_session' 4 | 5 | # Use the database for sessions instead of the cookie-based default, 6 | # which shouldn't be used to store highly confidential information 7 | # (create the session table with "rails generate session_migration") 8 | # MultipleAssociations::Application.config.session_store :active_record_store 9 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/QuizViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // QuizViewController.h 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface QuizViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UILabel *questionTextField; 13 | - (IBAction)showQuestion; 14 | @property (weak, nonatomic) IBOutlet UILabel *answerTextField; 15 | - (IBAction)showAnswer; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /ViewDeck/MultiViewDeckExample/MultiViewDeckExample/UITableViewCell+AutoDequeue.h: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // UITableViewCell+AutoDequeue.h 4 | // Faering 5 | // 6 | // Created by Tom Adriaenssen on 12/02/12. 7 | // Copyright (c) 2012 10to1, Interface Implementation. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UITableViewCell (AutoDequeue) 13 | 14 | + (id)tableViewAutoDequeueCell:(UITableView*)tableView; 15 | + (void)tableViewRegisterAutoDequeueFromNib:(UITableView*)tableView; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /introduction-to-apis/bin/find_ice_cream: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require_relative '../lib/ice_cream_finder' 4 | require 'trollop' 5 | 6 | SF_LAT = 37.7750 7 | SF_LNG = -122.4183 8 | 9 | # optional 10 | opts = Trollop::options do 11 | opt :lat, "current latitude", :type => :float, :default => SF_LAT 12 | opt :lng, "current longitude", :type => :float, :default => SF_LNG 13 | opt :query, "place to find", :type => :string, :default => "ice cream" 14 | end 15 | 16 | puts find_places(opts[:lat], opts[:lng], opts[:query]) 17 | -------------------------------------------------------------------------------- /DeviseProject/app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | # Include default devise modules. Others available are: 3 | # :token_authenticatable, :confirmable, 4 | # :lockable, :timeoutable and :omniauthable 5 | devise :database_authenticatable, :registerable, 6 | :recoverable, :rememberable, :trackable, :validatable 7 | 8 | # Setup accessible (or protected) attributes for your model 9 | attr_accessible :email, :password, :password_confirmation, :remember_me 10 | 11 | has_many :diary_entries 12 | end 13 | -------------------------------------------------------------------------------- /DeviseProject/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /PingWebApp/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /git-demo-app/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Movie.m: -------------------------------------------------------------------------------- 1 | // 2 | // Movie.m 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import "Movie.h" 10 | 11 | @implementation Movie 12 | 13 | @synthesize title = _title; 14 | @synthesize director = _director; 15 | @synthesize actors = _actors; 16 | @synthesize releaseYear = _releaseYear; 17 | 18 | -(NSString*)creator { 19 | return self.director; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /rails-demo/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /restaurants-app/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /multiple-associations/test/test_helper.rb: -------------------------------------------------------------------------------- 1 | ENV["RAILS_ENV"] = "test" 2 | require File.expand_path('../../config/environment', __FILE__) 3 | require 'rails/test_help' 4 | 5 | class ActiveSupport::TestCase 6 | # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. 7 | # 8 | # Note: You'll currently still have to declare fixtures explicitly in integration tests 9 | # -- they do not yet inherit this setting 10 | fixtures :all 11 | 12 | # Add more helper methods to be used by all tests here... 13 | end 14 | -------------------------------------------------------------------------------- /BasicAuthClientDemo/BasicAuthClientDemo/DiaryStore.h: -------------------------------------------------------------------------------- 1 | // 2 | // DiaryStore.h 3 | // BasicAuthClientDemo 4 | // 5 | // Created by Edward Ruggeri on 9/12/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class DiaryEntry; 12 | 13 | @interface DiaryStore : NSObject 14 | +(void)setupDiaryStore:(NSString*)userName password:(NSString*)password; 15 | 16 | +(void)fetchDiaryEntries:(void(^)(void))completionBlock; 17 | +(void)saveDiaryEntry:(DiaryEntry*)diaryEntry; 18 | @end 19 | -------------------------------------------------------------------------------- /ArchiverDemo/ArchiverDemo/Museum.h: -------------------------------------------------------------------------------- 1 | // 2 | // Pope.h 3 | // ArchiverDemo 4 | // 5 | // Created by Edward Ruggeri on 9/4/12. 6 | // Copyright (c) 2012 Edward Ruggeri. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // NSCoding tells NSKeyArchiver how to store that raw data. 12 | //encodeWithCoder is the method to implement for it. 13 | @interface Museum : NSObject 14 | @property (strong) NSString* museumName; 15 | 16 | @property (strong) NSString* founderName; 17 | @property int foundingYear; 18 | @end 19 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | PingApp::Application.config.secret_token = 'b14691a8445ba5a1219b6aee24ac5862fafa88b730851e12dd7563cedae067d2b3e0fdb89e81e79b6d07ccf6f1c5b40baf44533a1d0167d3f89d41262ad66337' 8 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/TabbedExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'TabbedExample' target in the 'TabbedExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #import "AppDelegate.h" 15 | #endif 16 | 17 | #define tabbed ((AppDelegate*)[[UIApplication sharedApplication] delegate]) -------------------------------------------------------------------------------- /git-demo-app/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | GitDemoApp::Application.config.secret_token = 'afabc2d14ece0ec0bbfa3501dda4e1d717406f7053027edc525ffdf0e5052ee828229ee0eada08858466d4c46f3276b769bf8d8fa6312bdc3dd9ede14eb6578e' 8 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | DemoProject::Application.config.secret_token = 'e22caba21c0a536ff304a04556b58f11ce762477752a1d0df176ce831ccfb26eb58507827f75926534a2c336f880a6d1074e8cc0730a4c97c54d36cdc62fb177' 8 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | DeviseProject::Application.config.secret_token = 'ea28220709122a31a5e7cdf0a28ab4b2a0cb63fc57de92dea6694abe30a084c6d4d41518172e2cdc001f517bd3062df1370b68d0316ba670558998db91a2b2da' 8 | -------------------------------------------------------------------------------- /MapAnnotationDemo/MapAnnotationDemo/HelloViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // HelloViewController.m 3 | // MapAnnotationDemo 4 | // 5 | // Created by Edward Ruggeri on 8/15/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import "HelloViewController.h" 10 | 11 | @interface HelloViewController () 12 | @end 13 | 14 | @implementation HelloViewController 15 | @synthesize messageLabel; 16 | @synthesize message; 17 | 18 | - (void)viewDidLoad 19 | { 20 | [super viewDidLoad]; 21 | self.messageLabel.text = message; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /ViewDeck/TabbedExample/TabbedExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // TabbedExample 4 | // 5 | // Created by Tom Adriaenssen on 03/02/12. 6 | // Copyright (c) 2012 Adriaenssen BVBA. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | @property (strong, nonatomic) UITabBarController *tabBarController; 15 | 16 | - (UIViewController*)controllerForIndex:(int)index; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/ViewDeckExample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ViewDeckExample' target in the 'ViewDeckExample' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #import "AppDelegate.h" 15 | 16 | #define SharedAppDelegate ((AppDelegate*)[[UIApplication sharedApplication] delegate]) 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /git-demo-app/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /restaurants-app/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | RestaurantsApp::Application.config.secret_token = 'f6f79fc9aa410ea273dd319b19b5837e9d376aeaa2518569379804220e030719b913c19d242345ad9304527fd97d598c309374cd0eb73a66af6f2b2d0de8cea2' 8 | -------------------------------------------------------------------------------- /restaurants-app/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /multiple-associations/config/initializers/secret_token.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Your secret key for verifying the integrity of signed cookies. 4 | # If you change this key, all old signed cookies will become invalid! 5 | # Make sure the secret is at least 30 characters and all random, 6 | # no regular words or you'll be exposed to dictionary attacks. 7 | MultipleAssociations::Application.config.secret_token = '70cbdf38e7d6de81d4f54cb7c7437ed29b2a2d28f246541c0f77f8e47a522364d76322d489cb7fafcc7dc52add311ab705283262ff447169b23ad2e4fa69cd7c' 8 | -------------------------------------------------------------------------------- /multiple-associations/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | # 3 | # This file contains settings for ActionController::ParamsWrapper which 4 | # is enabled by default. 5 | 6 | # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. 7 | ActiveSupport.on_load(:action_controller) do 8 | wrap_parameters format: [:json] 9 | end 10 | 11 | # Disable root element in JSON by default. 12 | ActiveSupport.on_load(:active_record) do 13 | self.include_root_in_json = false 14 | end 15 | -------------------------------------------------------------------------------- /ViewDeck/FeaturesExample/ChoiceController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ChoiceController.h 3 | // FeaturesExample 4 | // 5 | 6 | #import 7 | 8 | @interface ChoiceController : UIViewController 9 | 10 | @property (nonatomic, retain) UIView* panningView; 11 | 12 | - (IBAction)pressedNavigate:(id)sender; 13 | - (IBAction)panningChanged:(id)sender; 14 | - (IBAction)centerHiddenChanged:(id)sender; 15 | - (IBAction)navigationChanged:(id)sender; 16 | - (IBAction)rotationChanged:(id)sender; 17 | - (IBAction)elasticChanged:(id)sender; 18 | - (IBAction)maxLedgeChanged:(id)sender; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /object-oriented-obj-c-demo/ObjectOrientedObjectiveC/Critic.h: -------------------------------------------------------------------------------- 1 | // 2 | // Critic.h 3 | // ObjectOrientedObjectiveC 4 | // 5 | // Created by Edward Ruggeri on 7/12/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "Artwork.h" 11 | #import "Movie.h" 12 | 13 | @interface Critic : NSObject 14 | @property (strong) NSString* name; 15 | 16 | -(void)rateMovie:(Movie*)m numStars:(int)stars; 17 | -(int)movieRating:(Movie*)m; 18 | 19 | -(void)praiseArtwork:(id)a; 20 | -(void)trashArtwork:(id)a; 21 | @end 22 | -------------------------------------------------------------------------------- /ViewDeck/ViewDeckExample/RightViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RightViewController.h 3 | // ViewDeckExample 4 | // 5 | 6 | #import 7 | 8 | @interface RightViewController : UIViewController 9 | 10 | @property (nonatomic, retain) IBOutlet UITableView* tableView; 11 | @property (nonatomic, retain) IBOutlet UIButton* pushButton; 12 | 13 | - (IBAction)defaultCenterPressed:(id)sender; 14 | - (IBAction)swapLeftAndCenterPressed:(id)sender; 15 | - (IBAction)centerNavController:(id)sender; 16 | - (IBAction)pushOverCenter:(id)sender; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /DeviseProject/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DeviseProject 5 | <%= stylesheet_link_tag "application", :media => "all" %> 6 | <%= javascript_include_tag "application" %> 7 | <%= csrf_meta_tags %> 8 | 9 | 10 | 11 | <% if user_signed_in? %> 12 | <%= render "shared/user_controls" %> 13 | <% else %> 14 | <%= link_to "sign in!", new_user_session_path %> 15 | <% end %> 16 | 17 |

<%= notice %>

18 |

<%= alert %>

19 | 20 | <%= yield %> 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /quiz-app/QuizApp/Question.m: -------------------------------------------------------------------------------- 1 | // 2 | // Question.m 3 | // QuizApp 4 | // 5 | // Created by Edward Ruggeri on 7/11/12. 6 | // Copyright (c) 2012 Hash Map Labs. All rights reserved. 7 | // 8 | 9 | #import "Question.h" 10 | 11 | @implementation Question { 12 | NSString* _prompt; 13 | NSString* _response; 14 | } 15 | 16 | @synthesize prompt = _prompt; 17 | @synthesize response = _response; 18 | 19 | +(Question*)withPrompt:(NSString*)prompt andResponse:(NSString*)response { 20 | Question* q = [Question new]; 21 | q->_prompt = prompt; 22 | q->_response = response; 23 | 24 | return q; 25 | } 26 | @end 27 | -------------------------------------------------------------------------------- /DeviseProject/config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # ActiveSupport::Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | # 12 | # These inflection rules are supported but not enabled by default: 13 | # ActiveSupport::Inflector.inflections do |inflect| 14 | # inflect.acronym 'RESTful' 15 | # end 16 | -------------------------------------------------------------------------------- /PingWebApp/config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # ActiveSupport::Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | # 12 | # These inflection rules are supported but not enabled by default: 13 | # ActiveSupport::Inflector.inflections do |inflect| 14 | # inflect.acronym 'RESTful' 15 | # end 16 | -------------------------------------------------------------------------------- /git-demo-app/config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # ActiveSupport::Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | # 12 | # These inflection rules are supported but not enabled by default: 13 | # ActiveSupport::Inflector.inflections do |inflect| 14 | # inflect.acronym 'RESTful' 15 | # end 16 | -------------------------------------------------------------------------------- /rails-demo/config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # ActiveSupport::Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | # 12 | # These inflection rules are supported but not enabled by default: 13 | # ActiveSupport::Inflector.inflections do |inflect| 14 | # inflect.acronym 'RESTful' 15 | # end 16 | -------------------------------------------------------------------------------- /DeviseProject/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- 1 | /* 2 | * This is a manifest file that'll be compiled into application.css, which will include all the files 3 | * listed below. 4 | * 5 | * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, 6 | * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. 7 | * 8 | * You're free to add application-wide styles to this file and they'll appear at the top of the 9 | * compiled file, but it's generally better to create a new file per style scope. 10 | * 11 | *= require_self 12 | *= require_tree . 13 | */ 14 | --------------------------------------------------------------------------------