... the Map
Kit framework, as shown in Figure 6- 6.
6. 6 Displaying Custom Pins on a Map View | 451
CHAPTER 8
Networking, JSON, XML and Twitter
8.0 Introduction
iOS apps, when connected to the internet, ... here:
448 | Chapter 6: Core Location and Maps
Figure 6 -5. A pin with an alternative color displayed on a map view
6. 6 Displaying Custom Pins on a Map View
Problem
Instead of the de...
... around 30% of iOS devices today are
running iOS versions that are about a year or a year and a half old. If today we are
working with iOS 5, there are still iOS devices out there running iOS, 3 for ... runs on iOS 5 out to the App Store.
Some of the classes that we use are available only on specific versions of iOS. For in-
stance, the NSJSONSerialization class is available onl...
... Xcode 65 3
13.2
Generating Class Files for Core Data Entities 65 8
13.3
Creating and Saving Data Using Core Data 66 1
13.4
Reading Data from Core Data 66 3
13 .5
Deleting Data From Core Data 66 6
13 .6
Sorting ... Setting, and Using Colors 749
15. 4
Drawing Images 754
15. 5
Drawing Lines 759
15. 6
Constructing Paths 766
15. 7
Drawing Rectangles 771
15. 8
Adding Shadows to Sha...
... 163
Figure 2-33. A navigation button added to a navigation bar
That was simple and easy. But if you are an iOS user, you probably have noticed that
the system apps that come preconfigured on iOS ... init] currencySymbol];
currencyLabel.font = self.myTextField.font;
2 06 | Chapter 2: Implementing Controllers and Views
Figure 2 -50 . A text view consuming the entire boundary of the screen...
... num = 1}
5. 5 Performing UI-Related Tasks with GCD | 3 75
});
});
In this chapter, you will learn all there is to know about GCD and how to use it to write
modern multithreaded apps for iOS and ... choose what you want to do at runtime and change the activity of a program. In
5. 0 Introduction | 355
See Also
XXX
5. 3 Invoking Block Objects
Problem
You've learned how to construct b...
... = ABMultiValueRef 0x684ad50 with 2 value(s)
0: _$!<Home>!$_ (0x684af00) - vandad.np@gmail.com (0x684af20)
1: _$!<Work>!$_ (0x684aee0) - iosandosx@gmail.com (0x684af90)
First Name ... YES;
}
10.3 Retrieving Properties of Address Book Entries | 55 5
9 .6 Playing Video Files
Problem
You would like to be able to play video files in your iOS application.
Solution
Use an instance...
... (second and third
generations), provided that the iOS on these devices has been updated to iOS 4.0 or
iOS 5. Furthermore, a device could have iOS 5. 0 or later installed on it, but the under-
lying ... "Saving_and_Loading_the_State_of_Multitasking _iOS_ AppsAppDelegate.h"
@implementation
Saving_and_Loading_the_State_of_Multitasking _iOS_ AppsAppDelegate
12 .6 Saving and...
... pixels.
15. 0 Introduction | 7 35
Figure 15- 4. Saving our Xcode project on disk
4. On the right side, select Objective-C class, and then press Next (see Figure 15- 5).
15. 0 Introduction | 739
Figure 15- 6. ... 739
Figure 15- 6. Creating a subclass of UIView
15. 0 Introduction | 741
Figure 15- 5. Creating a new Objective-C class in Xcode
5. In the next screen (Figure 15- 6) , make su...
... code.
See Also
Recipe 16. 1
16. 4 Detecting Shakes on an iOS Device
Problem
You want to know when the user shakes an iOS device.
16. 4 Detecting Shakes on an iOS Device | 8 25
... <UIImageView: 0x68221a0;
frame = (200 350 ; 100 100);
opaque = NO;
userInteractionEnabled = NO;
layer = <CALayer: 0x68221d0>>
8 06 | Chapter 15: Graphics and Animations
Figure 16- 3. Cre...