Graphics Reference
In-Depth Information
FIGURE 13-3
Main Nib
FIGURE 13-4
Change the Size Dimensions
The last change you want to make is to set the background color of the UIWindow itself to
black and the text color of the label to white. The final result will look like Figure 13-5.
Adding the QuartzCore Framework and Binding the Objects
Back in Xcode, we need to add the QuartzCore framework to the project. To do this open
the targets section in the source list; right-click on the target and select Add > Existing
Frameworks in the context menu. In the sheet that opens to the Frameworks folder,
scroll down and select QuartzCore.framework; then click the Add button. After the
framework has been added to the project, you can compile against its headers without
warnings. As with the desktop implementation, you either need to add #import
<QuartzCore/CoreAnimation.h> to the top of each class or add it to the Prefix.pch file to
insure it is included in all class files for the project.
Search WWH ::




Custom Search