... over wi-fi, but that can
be pushed much higher on a good network. Multiple streaming rates always choose
the optimal method for the current network interface—which brings us to the ques-
tion of ... we’ll look at more of the differences between web develop-
ment and the SDK so that you can better choose which of them to use for any individ-
ual development project.
10 CHAPTER 1 Introducing ... Mode
Figure 1.1 The iPhone supports
two dramatically different views,
landscape and portrait. Choosing
between them is not just a
question of which is easier to read,
but also requires thinking...
... end-all of
iPhone software. We feel there are genuinely places where web development is a bet-
ter choice.
We’ll argue the reasons that you might select web development over
SDK right
here, in ... have to look great. You can
develop them quickly using the web and then your administrators can choose whether
to input data from their iPhones or from their desktops. Conversely, you want to...
... what it looks like. You’ll be able to
choose whether to have status-like bars or bottom bars depending on the needs of
your program. Once you’ve made a choice, you can just pick the right class ... Generally, you shouldn’t have to
change these last three values for redeveloped web pages, as a viewer choosing how
your page looks is what the web is all about. However, if there are good
UI reasons ...
controlling scalability or if you think a page looks particularly bad at certain scales,
you may choose to modify them. On the other hand, you probably should turn scaling
off for web apps, as...
... animate changes between styles
56 CHAPTER 4 Advanced WebKit and textual web apps
First, you might choose to build a textual web app, which is an application that is
largely built on the fundamentals ... Apple’s WebKit. We’ll be discussing this programming
method in this chapter.
Second, you might choose to build an iPhone-
UI web app, which is an application
with a user interface that looks ... we’ll also cover i
UI, a programming library meant to make this task easier.
Third, you might choose to build a graphical web app, which is an application that
pushes the boundaries of web...
... class="group">Entered <? echo $recent[$i][entrydate]; ?>
<?
}
$lastdate = $recent[$i][entrydate];
?>
<li>
<a href="display-entry.phtml?mainid=<?
echo $recent[$i][mainid]; ... $recent[$i][mainid]; ?>" target="_self"><?
echo $recent[$i][title]; ?></a>
<i><? echo $recent[$i][authors]; ?></i>
<?
}
?>
</ul>
</body>
[XHTML?]
You ... (see table 5.4).
You’ve already seen the majority of these attributes. The
cancel
and
submit
anchor
types both appeared in our dialog box, though they can appear in any type of form.
They give...
... overlap.
lighter
Blending choice Where the shapes overlap, the color value is added.
darker
Blending choice Where the shapes overlap, the color value is subtracted.
xor
Blending choice Where the shapes ... of each other.
Value Type Summary
source-over
Stacking choice New shapes are drawn on top of existing content.
destination-over
Stacking choice New shapes are drawn behind existing content.
copy
New ... be drawn. With
createLinearGradient
you’re defining a
Table 6.4 By setting variables, you can choose how your fills and strokes look.
Property Type Value Summary
fillStyle
Style variable CSS3...
... a few minutes in Dashcode.
Step Description
1. Create a project. Select File > New Project.
Choose a Custom project.
2. Create a gauge. Drag a gauge from the Parts library to the top center ... include
a left-rounded push button, a push but-
ton, and a right-rounded push button.
You can choose to put these buttons in
one of two places.
First, you could opt to place them in
a header. ... buttons
rounded corners (15px) and the middle button unrounded corners (0px). Finally,
you may choose to change the color of the text and the button background for the
current page.
Once you’ve...
... variety of tools for debugging.
After you install Firebug, you can activate it at any time by choosing Open Firebug
from among your Firefox tools. When you do that, a panel will appear along ... browser to see how
your iPhone web pages really work. On the Macintosh you’ve got three great
choices—Safari, Firefox, and the iPhone Simulator. Each has its own debug-
ging advantages.
8.2.1 ... Develop menu. If the Develop menu doesn’t appear, you can activate
it in the Safari preferences: choose the Advanced tab, and check the “Show Develop
Table 8.1 Setting up your local Macintosh...
... lot like whatever language you’re familiar with. However, it
may vary from your web language of choice in how it deals with some big-picture
areas, such as declarations, memory management, file ... elements
C is full of other features that may or may not have turned up in your programming
language of choice. Among them are symbolic constants (which are permanent decla-
rations, typically used to...
... simple methods that you’d
expect. The setter method is by default of type
assign
, but you can choose a different
method using property attributes, which we’ll talk about down the road.
USING ... class’s default getter
and setter methods, as shown in the following three examples:
NSString *choosenType = [AppleTree appleType];
[AppleTree setAppleType:@"Washington Red"];
[AppleTree ... yourself). The following
are the dot syntax equivalents to the messages that we sent earlier:
NSString *ChoosenType = AppleTree.appleType;
AppleTree.appleType = @"Washington Red";
AppleTree.appleType...