HTML 5 - Our Second iPhone App




CS75

Chris Pollett

Sep 8, 2014

Outline

Objectice-C Types, Foundation Kit

Memory Management in Objective-C

What is Reference counting

Remarks on Memory Management

Quiz

Which of the following is true?

  1. The Android Run Time (ART) is a BSD Operating System that is being replaced by Dalvik in Android L.
  2. GUI elements in iOS can only be constructed using XCode's Interface Builder.
  3. The AndroidManifest.xml has attributes for the application's minimum and target SDK.

Introducing HTML 5

A Template HTML 5 Document with jQuery Mobile

<!DOCTYPE html>
<html> 
    <head> 
    <title>Hello HTML 5</title> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
</head> 
<body> 

<div data-role="page">

    <div data-role="header">
        <h1>My First HTML APP!</h1>
    </div><!-- /header -->

    <div data-role="content">    
        <p>This is an HTML 5 app.</p>        
    </div><!-- /content -->

</div><!-- /page -->

</body>
</html>

Hello HTML 5 app.

General formal of a document

The Head of a Document

The Body of a Document

Where to Find Examples

Starting a Second Project

A Second Project