Chapter 2 iPhone App Store and App Business Issues - PowerPoint PPT Presentation

About This Presentation
Title:

Chapter 2 iPhone App Store and App Business Issues

Description:

Title: BNF Author: Villanova Last modified by: yao Created Date: 1/31/2001 10:55:18 PM Document presentation format: On-screen Show (4:3) Company: Test – PowerPoint PPT presentation

Number of Views:66
Avg rating:3.0/5.0
Slides: 8
Provided by: Vill127
Learn more at: https://www.tnstate.edu
Category:

less

Transcript and Presenter's Notes

Title: Chapter 2 iPhone App Store and App Business Issues


1
Chapter 2 iPhone App Store and App Business
Issues
2
1. iPhone Application Development Tool
  • Xcode free downloadable. Xcode is an Integrated
    Development Environment (IDE) containing a suite
    of software development tools developed by Apple
    for developing software for OS X and iOS. First
    released in 2003, the latest stable release is
    version 4.4.1 and is available via the Mac App
    Store free of charge for Mac OS X Lion and OS X
    Mountain Lion users.

3
2. iPhone Developer Program Setting up your
profile for Testing and Submitting Apps
  • Setting up your iPhone development team
  • https//developer.apple.com/
  • Team Agent has all primary responsibilities for
    the account.
  • Getting an iPhone Development Certificate
  • Register Devices for Testing
  • Creating App IDs
  • Create a Provisioning Profile
  • Using the Provisioning Profile to Install an App
    on an iPhone, iPad, or iPod Touch
  • Submitting Your App for Distribution

4
Model-View-Controller Design Pattern.h file
declare variables, define class
  • import ltUIKit/UIKit.hgtint count // global
    variable
  • _at_interface ViewController UIViewController
  • IBOutlet UILabel number // variable
  • - (IBAction)add // method declaration
  • - (IBAction)subtract - (IBAction)reset -
    (IBAction)dbl - (IBAction)opposite _at_end

Key word
Superclass
Subclass
Method name
Return type
- instance method static method
5
Model-View-Controller Design Pattern.m file
implementation of class
Key word
  • _at_implementation ViewController- (IBAction)add
    count number.text NSString
    stringWithFormat_at_"i", count
  • _at_end

NSString object
string C-style string
6
NSString Class Reference
  • https//developer.apple.com/library/mac/documenta
    tion/Cocoa/Reference/Foundation/Classes/NSString_C
    lass/Reference/NSString.html
  • The NSString class declares the programmatic
    interface for an object that manages immutable
    strings. An immutable string is a text string
    that is defined when it is created and
    subsequently cannot be changed. NSString is
    implemented to represent an array of Unicode
    characters, in other words, a text string.
  • NSString class contains 146 methods.
  • stringWithFormat
  • Returns a string created by using a given format
    string as a template into which the remaining
    argument values are substituted.
  • (id)stringWithFormat(NSString )format, ...

7
UILabel Class Reference
  • The UILabel class implements a read-only text
    view. You can use this class to draw one or
    multiple lines of static text, such as those you
    might use to identify other parts of your user
    interface.
  • See below for detail
  • https//developer.apple.com/library/ios/documenta
    tion/UIKit/Reference/UILabel_Class/Reference/UILab
    el.html
Write a Comment
User Comments (0)
About PowerShow.com