9
Stichwortverzeichnis Jan Tittel, Jochen Baumann Apps für iOS entwickeln Am Beispiel einer realen App ISBN (Buch): 978-3-446-43192-8 ISBN (E-Book): 978-3-446-43314-4 Weitere Informationen oder Bestellungen unter http://www.hanser-fachbuch.de/978-3-446-43192-8 sowie im Buchhandel. © Carl Hanser Verlag, München

Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

Stichwortverzeichnis

Jan Tittel, Jochen Baumann

Apps für iOS entwickeln

Am Beispiel einer realen App

ISBN (Buch): 978-3-446-43192-8

ISBN (E-Book): 978-3-446-43314-4

Weitere Informationen oder Bestellungen unter

http://www.hanser-fachbuch.de/978-3-446-43192-8

sowie im Buchhandel.

© Carl Hanser Verlag, München

Page 2: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

Symbole@dynamic 162@end 47@implementation 48@interface 47@property 49@selector 105@synthesize 50, 95#pragma 91#warning 91

AAblaufsteuerung 51accessoryButton 166action 131Action 38Action Segue – modal 72 – push 73

Action Sheet 123, 142actionSheet:clickedButtonAtIndex: 124, 143addAnnotation: 181addAttachmentData 125addButtonWithTitle: 142addGestureRecognizer: 131addObject – NSMutableArray 51

addObserver 105, 176addPersistentStoreWithType: 164addQuadCurveToPoint:controlPoint: 138addSubview: 134Aktualisierung 7alertBody 190

Alert View 121allowsEditing 145Android 2animateWithDuration:animations: 109Anmerkung 178App – bereitstellen 212 – Oberfläche 32 – validieren 211 – veröffentlichen 210

App-Icon 202App-ID 205App plays audio 151App registers for location updates 184App Store 2AppDelegate 31Application supports iTunes file sharing 115applicationDidBecomeActive: 189applicationDidEnterBackground: 185application:didFinishLaunchingWithOptions:

185application:didReceiveLocalNotification: 193applicationWillTerminate: 201Arbeitsumgebung 9ARC 49Archive 210Array 51arrayByAddingObject: 123Assistant editor 36Attribute 160Attributes inspector 33attributesOfItemAtPath:error: 99Audios abspielen 150Audios aufnehmen 149

Index

Page 3: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

216   Index

Audios im Hintergrund 150Audio-Ausgang 155Audio-Eingang 154Audio Sessions 149audioPlayerDidFinishPlaying:successfully: 151audioPlayerEndInterruption:withOptions: 151audioRecorderBeginInterruption: 151audioRecorderDidFinishRecording:successfully:

151Ausgang 153Autolayout 33Automatic Reference Counting 49Autorisierung 178AVAudioPlayer 150AVAudioPlayerDelegate 151AVAudioRecorder 149AVAudioRecorderDelegate 151AVAudioSessionCategoryRecord 149AVAudioSessionPortDescription 155AVAudioSessionRouteChangeNotification 154AVFoundation 149

BBackground 64, 94Back-Navigation 75badge value 194badgeValueDidChange: 194Banner 192Bar Button Item 70, 128 – Identifier 70

becomeFirstResponder 108beginBackgroundTaskWithExpirationHandler:

186beginReceivingRemoteControlEvents 153Beispielprojekt 4Benachrichtigungen 190 – Hintergrund 192 – Vordergrund 193

Bibliothek 142Bilddateien 60Bilder 132Black Translucent 111Block 106Bonuskapitel 7Border Style 128Build Settings 210Bundle Identifier 206

Button – Info Light 71buttonIndex 125buttonTitleAtIndex: 144

CcancelButtonIndex 143cancelLocalNotification 190canSendMail 120Capitalization 94CFBundleDisplayName 200CFBundleName 200CGAffineTransformScale() 140CGAffineTransformTranslate() 140CGColor 137CGColorCreateCopyWithAlpha() 137CGColorRef 137CGContextAddLineToPoint() 138CGContextBeginPath() 138CGContextFillRect() 134CGContextMoveToPoint() 138CGContextSetRGBFillColor() 134CGContextStrokePath() 138CGPoint 137, 181CGRect 109, 133CGSize 145CLGeocoder 181CLLocation 181CLLocationCoordinate2D 181CLLocationManager 179CLLocationManagerDelegate 174, 184CLPlacemark 181Cocoa Touch 78Code Signing 210compare: 106Connections inspector 39Constant 108Constraint 108contentSize 134contentsOfDirectoryAtPath 99convertPoint:toCoordinateFromView: 181coordinate 177, 181copy 49Core Data 158Core Graphics 133Core Location 177CoreLocation 174createDirectoryAtPath 99

Page 4: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

Index  217

currentDevice 186currentRoute 155Custom Class 84

DData Model 158Data Model inspector 160dataWithContentsOfFile: 133Datei 89 – automatisch speichern 201 – hinzufügen 66 – löschen 107 – öffnen, erstellen, speichern 101

Dateifreigabe 115Datenbank 158Datenmodell 159Datensätze – abfragen 164 – erstellen 164 – löschen 166

defaultCenter 105Delegate 108deleteObject: 166Deployment Target 58dequeueReusableCellWithIdentifier:

forIndexPath: 100destinationViewController 101Did End On Exit 110didRotateFromInterfaceOrientation: 134Disclaimer 208dismissViewControllerAnimated:completion:

87, 121distanceFromLocation: 187Distribution Provisioning Profile 209Document Outline 59Dokumentation installieren 14Done-Button 70Doppelpunkt 44drawInRect: 138Drehen 134

EeditingStyle 107Eigenschaften 45 – definieren 49

Eingang 153

E-Mails versenden 119endReceivingRemoteControlEvents 153Entität 160Entwicklerprogramm 15Entwicklungsumgebung 9Ereignisse 40executeFetchRequest:error: 165Exit 86

FFarbe 137Fehlerbehandlung 53File inspector 29File’s Owner 39fileExistsAtPath: 99fileModificationDate 100filteredArrayUsingPredicate: 169filtern 169fireDate 190Fixed Space Bar Button Item 111Flexible Space Bar Button Item 128for-Schleife 52Fotos 132, 141frame 134

GGerät freischalten 22Gesten 130Gesture Recognizer 130, 179Getter 47Grafik 132Grafischer Designer 32

HhasChanges 201Headphones 155Hides Bottom Bar on Push 93Hintergrund 150Hintergrunddienst 186Hintergrundtask 184Hochformat 41horizontalAccuracy 177, 187Horizontal Center 35

Page 5: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

218   Index

IIBAction 38if:else 51Image Picker 145imagePickerController:

didFinishPickingMediaWithInfo: 145Image View 118imageWithData: 133Implementierung 47Indexed 161indexPathForSelectedRow 106initWithContentsOfFile 102initWithContentsOfURL: 163initWithManagedObjectModel: 164inputAccessoryView 113inputIsAvailable 156inputs 155instantiateViewControllerWithIdentifier: 175Instanzmethoden 47Interface Builder 58iOS Application Target 58iOS Development Certificate 21iOS Distribution Certificate 21iOS-Entwicklerprogramm 15iOS Provisioning Portal 18, 205iPhone 2isKindOfClass: 178isMultitaskingSupported 186isSourceTypeAvailable: 142Issue Navigator 203iTunes 115iTunes Connect 207

KKamera 142Karte 178kCLAuthorizationStatusAuthorized 179kCLLocationAccuracyNearestTenMeters 185Keyboard 108Klassen erstellen 46, 77Klassenmethoden 47Kommentare 51Koordinate 177Kopfhörer 153

LLabel 32layoutIfNeeded 110LinearPCM 149lineWidth 138Linie zeichnen 138Linked Frameworks and Libraries 119locality 181Localizable.strings 197, 200Localizable Strings 199, 200locations 187locationInView: 132, 137locationManager:didChangeAuthorizationStatus:

179, 189locationManager:didUpdateLocation: 187Logging 50Lokalisierung 197 – aktivieren 200 – hinzufügen 199

MMail-App 119mailComposeController:didFinishWithResult:

error: 121MapKit 174Map View 174, 177mapView:didSelectAnnotationView: 178mapView:didUpdateUserLocation: 177Master-Detail Application 57Member Center 16, 205MessageUI.framework 119Methoden aufrufen 44MFMailComposeViewController 120MFMailComposeViewControllerDelegate 120mimeType 125Mitteilungszentrale 193MKCoordinateRegion 177MKCoordinateRegionMakeWithDistance 177MKMapViewDelegate 174MKPointAnnotation 178MKUserLocation 178modalTransitionStyle 145, 175moveToPoint: 138Multimedia-Ereignisse 152Multitasking 186

Page 6: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

Index  219

NName der App lokalisieren 200Navigation 66Navigation Bar 65 – Style 65

Navigation Controller 61navigationItem 105Navigationsschaltflächen 69newLineCharacterSet 114NeXTStep 44nil 53nonatomic 49Note 81NSComparisonResult 106NSData 125, 133NSDateFormatter 100NSDeletedObjectsKey 190NSDocumentDirectory 99NSEntitityDescription 165NSError 53NSFetchRequest 165NSFileManager 99NSInferMappingModelAutomaticallyOption

163NSLayoutContraint 108NSLog() 50NSManagedObject 161NSManagedObjectContext 162NSManagedObjectModel 162NSMigratePersistentStoresAutomaticallyOption

163NSMutableArray 51, 90NSNotificationCenter 105, 176NSNumber 161NSObject 47NSPersistentStoreCoordinator 162NSPredicate 165, 169NSSearchPathForDirectoriesInDomains 99NSSQLiteStoreType 164NSString 44NSTemporaryDirectory() 149NSTimeInterval 109NSTimer 184, 189NSUpdatedObjectsKey 190NSURL 122, 163NSValue 109NULL 53numberOfButtons 143

numberOfSectionsInTableView: 91, 100numberOfTouches 132

OobjectAtIndex – NSMutableArray 52

objectAtIndex: 106Objective-C 42 – Schnelleinstieg 25

Objective-C class 78Object library 29Objekte erzeugen 46openURL: 122Optional 161Organizer 21Orientation 134Orte markieren 179Ortsbestimmung 177Ortung – Genauigkeit 185 – Hintergrund 183 – Projekteinstellungen 184

Ortungsdienste 178otherButtonTitles 124Outlet 36, 95outputs 155

PPan Gesture Recognizer 131Parameter 44pause 150performSelector:withObject:afterDelay: 182Pfad zeichnen 138Picker 174Pinch Gesture Recognizer 131placemarks 181play 150Play Store 2portType 155Positionierung 32postalCode 181postNotificationName 176predicateWithFormat: 169prepareForSegue:sender: 98, 101prepareToRecord 149presentLocalNotificationNow: 188, 193

Page 7: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

220   Index

presentViewController:animated:completion: 121, 176

Progress View 148Project Navigator 29Projekt – anlegen 26, 55 – Dateien 31 – Einstellungen 29 – Informationen 30 – Optionen 28 – Vorlagen 57

Property 95Protokolle 108Prototype Cells 92Provisioning Profiles 21, 210Punktnotation 45

QQuerformat 42

Rrange.location 113readonly 49readwrite 49record 150recordForDuration: 150Region 177rekursiv 102Relationship Segue 66reloadData 106remoteControlReceivedWithEvent: 152Remote-Controls 152removeItemAtPath:error: 104, 107removeObject: 166Required background modes 151, 184resignFirstResponder 110reverseGeocodeLocation:completionHandler:

181Reverse Geocoding 179rightBarButtonItem 105, 123Rotation Gesture Recognizer 148Round Rect Button 32, 70

SSafari 122save: 165, 166Save-Button 70scale 140Scale To Fill 134scheduled Notifications 190scheduledLocalNotifications 190scheduleLocalNotification: 190Schleifen 51Schlüsselbundverwaltung 19Schnittstelle 46scrollen 140scrollEnabled 113Scrolling Enabled 132scyte notes 4Segmented Control 111, 168Segues 60, 97 – erstellen 66 – Identifier 97

selectAnnotation:animated: 182selectedRange 113Selection Segue – push 68

selector 105Separator 91setAffineTransform: 140setBadgeValue: 194setCurrentTime: 150setDateStyle:, 100setDesiredAccuracy: 185setMaximumNumberOfTouches: 131setMinimumNumberOfTouches: 131setNumberOfTapsRequired: 131setPausesLocationUpdatesAutomatically: 185setPersistentStoreCoordinator: 163setRegion:animated: 177setSubject 120Setter 47setToRecipients 120sharedInstance 150show 121showFromTabBar: 124Simulated Metrics 33, 129Simulator 40 – installieren 13

Single View Application 26size.height 109

Page 8: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

Index  221

Size inspector 94size.width 109Skalierung 135Slider 128Smartphone 2sortUsingComparator: 106sortUsingSelector: 188soundName 190sourceType 145Spalten 160Speaker 155Speicherverwaltung 49SQLite 158Startbild 202startUpdatingLocation 186state 132Statusleiste 203Steuerelemente konfigurieren 34stop 150stopUpdatingLocation 185Storyboard 55 – lokalisieren 199

Storyboard ID 175stringByDeletingPathExtension 102String File 197stroke 138strong 49Subclass of 79Subklasse 161 – erstellen 77

subThoroughfare 180Subtitle 92superview 134

TTab Bar Controller 60 – Icons 69

Tabbed Application 56Tabelle 160Tabellen 89 – anpassen 91

Table View 61, 90Table View Cell 92tableView:cellForRowAtIndexPath: 91tableView:commitEditingStyle:forRowAtIndexPath:

91tableView:numberOfRowsInSection: 91, 100

Tap Gesture Recognizer 131Text 89Text View 93textView:shouldChangeTextInRange:

replacementText: 114thoroughfare 180timeIntervalSinceNow 187Timer 186timestamp 187Tint 128Title 92Toolbar 111Top Left 134Touch Down 38Touchscreen 130Transition 73Transparenz 137

UÜbergänge 60UIActionSheet 124UIActionSheetDelegate 123UIAlertView 121UIApplicationStateActive 188UIApplicationWillTerminateNotification 201UIBackgroundTaskIdentifier 184UIBackgroundTaskInvalid 189UIBarButtonItem 123UIBarButtonSystemItemAction 123UIBezierPath 137UIColor 137UIDevice 186UIGestureRecognizerStateBegan 137UIGestureRecognizerStateChanged 137UIGraphicsBeginImageContext() 133UIGraphicsGetCurrentContext() 133UIGraphicsGetImageFromCurrentImageContext()

134UIImage 133UIImageJPEGRepresentation() 136UIImagePickerController 142, 145UIImagePickerControllerDelegate 142UIImagePickerControllerEditedImage 145UIImagePickerControllerSourceTypeCamera

142UIImagePickerControllerSourceTypePhotoLibrary

143

Page 9: Apps für iOS entwickeln – Am Beispiel einer realen App;files.hanser.de/Files/Article/ARTK_STV_9783446433144_0001.pdf · CoreLocation 174 createDirectoryAtPath 99. ... MapKit 174

222   Index

UIImageView 133UIKeyboardFrameEndUserInfoKey 109UIKeyboardWillHideNotification 109UIKeyboardWillShowNotification 109UILocalNotification 188, 190UILocalNotificationDefaultSoundName 188UIModalTransitionStylePartialCurl 175UINavigationControllerDelegate 142UIPanGestureRecognizer 131UISegmentedControl 112UITabBarController 82UITableViewCell 100UITableViewCellEditingStyleDelete 107UITableViewController 82, 90UITapGestureRecognizer 131UITextField 95UITextView 95UITextViewDelegate 114UIToolbar 112UIViewController 82Unterbrechungen 151Unwind Segues 85URLByAppendingPathComponent: 163URLWithString: 122Use Base Internationalization 198userInfo 109userLocation 177Utilities 32

VValue Changed 112Variablen 43Vertical Center 35Verweise 36Verzweigungen 51View Controller 60, 61 – Subklasse 81

ViewController 31View Controller Scene 64viewDidAppear 108viewDidLoad 90Views 60viewWillAppear 106

WWarnmeldung 203weak 49Webseiten aufrufen 122Wiederholungen 51Wildcard-Profil 24willMoveToParentViewController: 153writeToFile 104writeToFile:atomically: 136

XXcode – Download 9 – Installation 10 – Konfiguration 11 – Provisioning Profiles 21 – Schnelleinstieg 25 – Startbildschirm 13

Zzeichnen 136Zellen anpassen 92Zertifikate 18Zertifikatsassistent 19Zielversion 58zoomen 140