1 / 22

Einführung in die iPhone bzw. App Programmierung

Einführung in die iPhone bzw. App Programmierung. Universität zu Köln Historisch-kulturwissenschaftliche Informationsverarbeitung AM2: Humanities Computing vs. Humanities Computer Science II Hauptseminar: Medien zwischen Technologien und Gesellschaft Dozent: Herr Prof. Dr. Manfred Thaller.

dean-hart
Télécharger la présentation

Einführung in die iPhone bzw. App Programmierung

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Einführung in die iPhone bzw. App Programmierung Universität zu KölnHistorisch-kulturwissenschaftliche InformationsverarbeitungAM2: Humanities Computing vs. Humanities Computer Science IIHauptseminar: Medien zwischen Technologien und GesellschaftDozent: Herr Prof. Dr. Manfred Thaller

  2. Betriebssystem • angepasstes Mac OS X • iOS – iPhone OS

  3. iPhone SDK • = Software Development Kid • Xcode • Instruments • Dashcode • Simulator • Interface Builder • Cocoa Touch

  4. Programmieren einer einfachen App (http://cdn1.raywenderlich.com/wp-content/uploads/2012/09/Screen-Shot-2012-09-18-at-5.45.40-PM.png)

  5. Projekt: Hello World (http://kurzvoracht.files.wordpress.com/2008/12/bild-21.png%3Fw%3D300%26h%3D233)

  6. HelloWorldViewController.xib (http://kurzvoracht.files.wordpress.com/2008/12/bild-4.png?w=203&h=300)

  7. Interface HelloWorldViewController.h (http://kurzvoracht.files.wordpress.com/2008/12/bild-5.png?w=300&h=114)

  8. Implementation File: HelloWorld.ViewController.m (http://kurzvoracht.files.wordpress.com/2008/12/bild-7.png?w=700)

  9. Ergebnis:

  10. Storyboards in iOS 5

  11. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-DasStoryboard-300x131.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-DasStoryboard-300x131.png)

  12. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-NeuesProjektOptionen.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-NeuesProjektOptionen.png)

  13. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-ProjektDatei.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-ProjektDatei.png)

  14. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-StoryboardEditor.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-StoryboardEditor.png)

  15. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-ErsterViewController1.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-ErsterViewController1.png)

  16. (http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-NavigationController3.png)(http://www.iosdevgermany.de/wp-content/uploads/2011/11/Tutorial6-NavigationController3.png)

  17. UIGestureRecognizer

  18. (http://cdn3.raywenderlich.com/wp-content/uploads/2011/11/ImageViewsInStoryboard.png)(http://cdn3.raywenderlich.com/wp-content/uploads/2011/11/ImageViewsInStoryboard.png)

  19. ViewController.h -(IBAction)handlePan:(UIPanGestureRecognizer *)recognizer; ViewController.m -(IBAction)handlePan:(UIPanGestureRecognizer *)recognizer { CGPoint translation =[recognizer translationInView:self.view]; recognizer.view.center = CGPointMake(recognizer.view.center.x + translation.x, recognizer.view.center.y + translation.y); [recognizer setTranslation:CGPointMake(0, 0) inView:self.view]; }

  20. (http://cdn1.raywenderlich.com/wp-content/uploads/2011/11/MonkeyMove.png)(http://cdn1.raywenderlich.com/wp-content/uploads/2011/11/MonkeyMove.png)

  21. Vielen Dank für eure Aufmerksamkeit!

  22. Quellen • Sadun, Erica: Das iPhone Entwicklerbuch. München 2009. • http://www.raywenderlich.com/tutorials# • http://kurzvoracht.wordpress.com/2008/12/28/hello-world-einfaches-iphone-tutorial/ • http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1;# • http://www.iosdevgermany.de/tutorial/iphone-sdk-tutorial-deutsch-6-storyboard-part-1-grundlagen/ • http://www.raywenderlich.com/6567/uigesturerecognizer-tutorial-in-ios-5-pinches-pans-and-more

More Related