Beginning iOS Application Development with HTML and JavaScript 1st Edition Richard Wagner download
Beginning iOS Application Development with HTML and JavaScript 1st Edition Richard Wagner download
https://ebookname.com/product/beginning-ios-application-
development-with-html-and-javascript-1st-edition-richard-wagner/
https://ebookname.com/product/beginning-ios-application-
development-with-html-and-javascript-1st-edition-richard-wagner/
https://ebookname.com/product/beginning-windows-store-
application-development-html-and-javascript-edition-burns/
https://ebookname.com/product/beginning-javascript-and-css-
development-with-jquery-1st-edition-york/
https://ebookname.com/product/a-blues-bibliography-2nd-edition-
robert-ford/
Stem Cells and Regenerative Medicine Patents and
Clinical Trials Stem Cells Laboratory and Clinical
Research Series 1st Edition Philippe Taupin
https://ebookname.com/product/stem-cells-and-regenerative-
medicine-patents-and-clinical-trials-stem-cells-laboratory-and-
clinical-research-series-1st-edition-philippe-taupin/
https://ebookname.com/product/no-b-s-time-management-for-
entrepreneurs-1st-edition-dan-kennedy/
https://ebookname.com/product/habilitation-health-and-agency-1st-
edition-lawrence-c-becker/
https://ebookname.com/product/hormones-of-the-limbic-system-1st-
edition-gerald-litwack/
https://ebookname.com/product/pudd-nhead-wilson-webster-s-german-
thesaurus-edition-mark-twain/
Interfaceless Conscious Design for Spatial Computing
with Generative AI 1st Edition Diana Olynick
https://ebookname.com/product/interfaceless-conscious-design-for-
spatial-computing-with-generative-ai-1st-edition-diana-olynick/
www.it-ebooks.info
www.it-ebooks.info
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
www.it-ebooks.info
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381
www.it-ebooks.info
www.it-ebooks.info
Richard Wagner
www.it-ebooks.info
ISBN: 978-1-118-15900-2
ISBN: 978-1-118-22607-0 (ebk)
ISBN: 978-1-118-23751-9 (ebk)
ISBN: 978-1-118-26405-8 (ebk)
10 9 8 7 6 5 4 3 2 1
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,
electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108
of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization
through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers,
MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the
Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201)
748-6008, or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with
respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including
without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or
promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is
sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional
services. If professional assistance is required, the services of a competent professional person should be sought. Neither
the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is
referred to in this work as a citation and/or a potential source of further information does not mean that the author or the
publisher endorses the information the organization or Web site may provide or recommendations it may make. Further,
readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this
work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the
United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with
standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to
media such as a CD or DVD that is not included in the version you purchased, you may download this material at
http://booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com.
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress are
trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affi liates, in the United States and other coun-
tries, and may not be used without written permission. JavaScript is a registered trademark of Oracle America, Inc. All
other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product
or vendor mentioned in this book.
www.it-ebooks.info
www.it-ebooks.info
RICHARD WAGNER is Lead Product Architect of Mobile/Web at Maark, LLC. Previously, he was
the head of engineering for the Web scripting company Nombas and VP of Product Development
for NetObjects, where he was the chief architect of a CNET award-winning JavaScript tool named
NetObjects ScriptBuilder. He is an experienced web designer and developer and the author of
several Web-related books on the underlying technologies of the iOS application platform.
www.it-ebooks.info
www.it-ebooks.info
THE IPHONE AND IPAD HAVE EMERGED as my favorite pieces of technology I have ever owned. As
such, the topic of iOS application development has been a joy to write about. However, the book
was also a joy because of the stellar team I had working with me on this book. First and foremost,
I’d like to thank Kelly Talbot for his masterful role as project editor. He kept the project on track
and running smoothly from start to fi nish. I’d also like to thank Michael Gilbert for his insights and
ever-watchful eye that ensured technical accuracy in this book. Further, thanks also to Charlotte
Kughen for her editing prowess.
www.it-ebooks.info
INTRODUCTION xxiii
www.it-ebooks.info
Setting Up 66
Creating Your Index Page 66
Creating the Main Screen 67
Adding Detail Pages 70
CHAPTER 5: ENABLING AND OPTIMIZING WEB SITES
FOR THE IPHONE AND IPAD 79
Evolving UI Design 99
The iPhone Viewport 100
Exploring iOS Design Patterns 102
Categorizing Apps 103
Navigation List-based UI Design 104
Application Modes 105
Exploring Screen Layout 106
Title Bar 106
Edge-to-Edge Navigation Lists 107
Rounded Rectangle Design Destination Pages 108
xvi
www.it-ebooks.info
xvii
www.it-ebooks.info
Gradients 207
Creating CSS Gradients 207
Creating Gradients with JavaScript 210
Adding Shadows 212
Adding Reflections 213
Working with Masks 215
Creating Transform Effects 217
Creating Animations 218
CHAPTER 12: INTEGRATING WITH IOS SERVICES 223
xviii
www.it-ebooks.info
xix
www.it-ebooks.info
xx
www.it-ebooks.info
INDEX 381
xxi
www.it-ebooks.info
THE AMAZING SUCCESS OF THE IPHONE and iPad over the past four years has proven that
application developers are now smack deep in a brave new world of sophisticated, multifunctional
mobile applications. No longer do applications and various media need to live in separate silos.
Instead, mobile web-based applications can bring together elements of web apps, native apps,
multimedia video and audio, and the mobile device.
This book covers the various aspects of developing web-based applications for iOS. Specifically, you will
discover how to create a mobile application from the ground up, utilize existing open source frameworks
to speed up your development times, emulate the look and feel of built-in Apple applications, capture
finger touch interactions, and optimize applications for Wi-Fi and wireless networks.
www.it-ebooks.info
Such is the Quiché account of the creation of the earth and its
inhabitants and of the first years of the existence of mankind.
Although we find here described in the plainest and least equivocal
terms a supreme, all-powerful Creator of all things, there are joined
with him in a somewhat perplexing manner a number of auxiliary
deities and makers. It may be that those whose faith the Popol Vuh
represents, conceiving and speaking of their supreme god under
many aspects and as fulfilling many functions, came at times, either
unconsciously or for dramatic effect, to bring this one great Being
upon their mythic stage, sustaining at once many of his different
parts and characters. Or perhaps, like the Hebrews, they believed
that the Creator had made out of nothing or out of his own essence,
in some mysterious way, angels and other beings to obey and to
assist him in his sovereign designs, and that these 'were called
gods.' That these Quiché notions seem foolishness to us, is no
argument as to their adaptation to the life and thoughts of those
who believed them; for, in the words of Professor Max Müller, "the
thoughts of primitive humanity were not only different from our
thoughts, but different also from what we think their thoughts ought
to have been."[II-10]
Yet whatever be the inconsistencies that obscure
MEXICAN
COSMOGONY.
the Popol Vuh, we find them multiplied in the
Mexican cosmogony, a tangled string of meagre
and apparently fragmentary traditions. There appear to have been
two principal schools of opinion in Anáhuac, differing as to who was
the Creator of the world, as well as on other points—two veins of
tradition, perhaps of common origin, which often seem to run into
one, and are oftener still considered as one by historians to whom
these heathen vanities were matters of little importance. The more
advanced school, ascribing its inspiration to Toltec sources, seems to
have flourished notably in Tezcuco, especially while the famous
Nezahualcoyotl reigned there, and to have had very definite
monotheistic ideas. It taught, as is asserted in unmistakable terms,
that all things had been made by one God, omnipotent and invisible;
and to this school were probably owing the many gentle and
beautiful ideas and rites, mingled with the hard, coarse, and prosaic
cult of the mass of the people.[II-11]
The other school may be considered as more distinctively national,
and as representing more particularly the ordinary Mexican mind. To
it is to be ascribed by far the larger part of all we know about the
Mexican religion.[II-12] According to the version of this school,
Tezcatlipoca, a god whose birth and adventures are set forth
hereafter, was the creator of the material heaven and earth, though
not of mankind; and sometimes even the honor of this partial
creation is disputed by others of the gods.
One Mexican nation, again, according to an ancient writer of their
own blood, affirmed that the earth had been created by chance; and
as for the heavens, they had always existed.[II-13]
From the fragments of the Chimalpopoca
CHIMALPOPOCA
MANUSCRIPT.
manuscript given by the Abbé Brasseur de
Bourbourg we learn that the Creator—whoever he
may have been—produced his work in successive epochs. In the sign
Tochtli, the earth was created; in the sign Acatl was made the
firmament, and in the sign Tecpatl the animals. Man it is added, was
made and animated out of ashes or dust by God on the seventh day,
Ehecatl, but finished and perfected by that mysterious personage
Quetzalcoatl. However this account may be reconciled with itself or
with others, it further appears that man was four times made and
four times destroyed.[II-14]
This may perhaps be looked upon as proceeding from what I have
called for convenience the Toltecan school, though this particular
fragment shows traces of Christian influence. What follows seems
however to belong to a distinctively Mexican and ruder vein of
thought. It is gathered from Mendieta, who was indebted again to
Fray Andres de Olmos, one of the earliest missionaries among the
Mexicans of whom he treats; and it is decidedly one of the most
authentic accounts of such matters extant.
The Mexicans in most of the provinces were
AZTEC CREATION-
MYTHS.
agreed that there was a god in heaven called
Citlalatonac, and a goddess called Citlalicue;[II-15] and that this
goddess had given birth to a flint knife, Tecpatl. Now she had many
sons living with her in heaven, who seeing this extraordinary thing
were alarmed, and flung the flint down to the earth. It fell in a place
called Chicomoztoc, that is to say the Seven Caves, and there
immediately sprang up from it one thousand six hundred gods.
These gods being alone on the earth—though as will hereafter
appear, there had been men in the world at a former period—sent
up their messenger Tlotli, the Hawk, to pray their mother to
empower them to create men, so that they might have servants as
became their lineage. Citlalicue seemed to be a little ashamed of
these sons of hers, born in so strange a manner, and she twitted
them cruelly enough on what they could hardly help: Had you been
what you ought to have been, she exclaimed, you would still be in
my company. Nevertheless she told them what to do in the matter of
obtaining their desire: Go beg of Mictlanteuctli, Lord of Hades, that
he may give you a bone or some ashes of the dead that are with
him; which having received you shall sacrifice over it, sprinkling
blood from your own bodies. And the fallen gods having consulted
together, sent one of their number, called Xolotl,[II-16] down to
hades as their mother had advised. He succeeded in getting a bone
of six feet long from Mictlanteuctli; and then, wary of his grisly host,
he took an abrupt departure, running at the top of his speed. Wroth
at this, the infernal chief gave chase; not causing to Xolotl, however,
any more serious inconvenience than a hasty fall in which the bone
was broken in pieces. The messenger gathered up what he could in
all haste, and despite his stumble made his escape. Reaching the
earth, he put the fragments of bone into a basin, and all the gods
drew blood from their bodies and sprinkled it into the vessel. On the
fourth day there was a movement among the wetted bones and a
boy lay there before all; and in four days more, the blood-letting and
sprinkling being still kept up, a girl was lifted from the ghastly dish.
The children were given to Xolotl to bring up; and he fed them on
the juice of the maguey.[II-17] Increasing in stature, they became
man and woman; and from them are the people of the present day
descended, who, even as the primordial bone was broken into
unequal pieces, vary in size and shape. The name of this first man
was Iztacmixcuatl, and the name of his wife Ilancueitl,[II-18] and
they had six sons born to them, whose descendants, with their god-
masters, in process of time moved eastward from their original
home, almost universally described as having been towards Jalisco.
Now there had been no sun in existence for many years; so the gods
being assembled in a place called Teotihuacan, six leagues from
Mexico, and gathered at the time round a great fire, told their
devotees that he of them who should first cast himself into that fire,
should have the honor of being transformed into a sun. So one of
them called Nanahuatzin—either as most say, out of pure bravery, or
as Sahagun relates, because his life had become a burden to him
through a syphilitic disease—flung himself into the fire. Then the
gods began to peer through the gloom in all directions for the
expected light and to make bets as to what part of heaven he should
first appear in. And some said Here, and some said There; but when
the sun rose they were all proved wrong, for not one of them had
fixed upon the east.[II-19] And in that same hour, though they knew
it not, the decree went forth that they should all die by sacrifice.
The sun had risen indeed, and with a glory of the
HOW THE SUN WAS
PLACED IN THE
cruel fire about him that not even the eyes of the
HEAVENS. gods could endure; but he moved not. There he
lay on the horizon; and when the deities sent Tlotli
their messenger to him, with orders that he should go on upon his
way, his ominous answer was, that he would never leave that place
till he had destroyed and put an end to them all. Then a great fear
fell upon some, while others were moved only to anger; and among
the latter was one Citli, who immediately strung his bow and
advanced against the glittering enemy. By quickly lowering his head
the Sun avoided the first arrow shot at him; but the second and third
had attained his body in quick succession, when, filled with fury, he
seized the last and launched it back upon his assailant. And the
brave Citli laid shaft to string nevermore, for the arrow of the sun
pierced his forehead.
Then all was dismay in the assembly of the gods, and despair filled
their heart, for they saw that they could not prevail against the
shining one; and they agreed to die, and to cut themselves open
through the breast. Xolotl was appointed minister, and he killed his
companions one by one, and last of all he slew himself also.[II-20] So
they died like gods; and each left to the sad and wondering men
who were his servants, his garments for a memorial. And these
servants made up, each party, a bundle of the raiment that had been
left to them, binding it about a stick into which they had bedded a
small green stone to serve as a heart. These bundles were called
tlaquimilloli, and each bore the name of that god whose memorial it
was; and these things were more reverenced than the ordinary gods
of stone and wood of the country. Fray Andres de Olmos found one
of these relics in Tlalmanalco, wrapped up in many cloths, and half
rotten with being kept hid so long.[II-21]
Immediately on the death of the gods the sun began his motion in
the heavens; and a man called Tecuzistecatl, or Tezcociztecatl, who,
when Nanahuatzin leaped into the fire, had retired into a cave, now
emerged from his concealment as the moon. Others say that instead
of going into a cave, this Tecuzistecatl, had leaped into the fire after
Nanahuatzin, but that, the heat of the fire being somewhat abated,
he had come out less brilliant than the sun. Still another variation is,
that the sun and moon came out equally bright, but this not seeming
good to the gods, one of them took a rabbit by the heels and slung
it into the face of the moon, dimming its lustre with a blotch whose
mark may be seen to this day.
After the gods had died in the way herein related, leaving their
garments behind as relics, those servants went about everywhere,
bearing these relics like bundles upon their shoulders, very sad and
pensive and wondering if ever again they would see their departed
gods. Now the name of one of these deceased deities was
Tezcatlipoca, and his servant having arrived at the sea coast, was
favored with an apparition of his master in three different shapes.
And Tezcatlipoca spake to his servant saying: Come hither, thou that
lovest me so well, that I may tell thee what thou hast to do. Go now
to the House of the Sun and fetch thence singers and instruments so
that thou mayest make me a festival; but first call upon the whale,
and upon the siren, and upon the tortoise, and they shall make thee
a bridge to the sun.
Then was all this done; and the messenger went across the sea
upon his living bridge, towards the House of the Sun, singing what
he had to say. And the Sun heard the song, and he straitly charged
his people and servants, saying: See now that ye make no response
to this chant, for whoever replies to it must be taken away by the
singer. But the song was so exceeding sweet that some of them
could not but answer, and they were lured away, bearing with them
the drum, teponaztli, and the kettle-drum, vevetl. Such was the
origin of the festivals and the dances to the gods; and the songs
sung during these dances they held as prayers, singing them always
with great accuracy of intonation and time.
In their oral traditions, the Tezcucans agreed with
THE TEZCUCAN
ACCOUNT OF THE
the usual Mexican account of creation—the falling
CREATION. of the flint from heaven to earth, and so on—but
what they afterward showed in a picture, and
explained to Fray Andres de Olmos as the manner of the creation of
mankind, was this: The event took place in the land of Aculma, on
the Tezcucan boundary at a distance of two leagues from Tezcuco
and of five from Mexico. It is said that the sun, being at the hour of
nine, cast a dart into the earth at the place we have mentioned and
made a hole; from this hole a man came out, the first man and
somewhat imperfect withal, as there was no more of him than from
the arm-pits up, much like the conventional European cherub, only
without wings. After that the woman came up out of the hole. The
rest of the story was not considered proper for printing by Mendieta;
but at any rate from these two are mankind descended. The name
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com