iOS Development Session1

14
iOS TRAINING SESSION-1 By Ilyas Ahamed

description

Introduction to iOS Development for beginners.

Transcript of iOS Development Session1

Page 1: iOS Development Session1

iOS TRAINING SESSION-1

By Ilyas Ahamed

Page 2: iOS Development Session1

Overview

iOS Basics

iOS Architecture

Life Cycle Of View Controller

Application Sandbox

Database and Storage

Page 3: iOS Development Session1

iOS Basics

Objective C

iOS Architecture

Page 4: iOS Development Session1

iOS Architecture

Page 5: iOS Development Session1

Life Cycle Of View Controller

viewWillAppear: Called just before a controller’s view appears

viewDidAppear: Called after a controller’s view appears

viewWillDisappear: Called just before a controller’s view disappears

viewDidDisappear: Called after a controller’s view disappears

Page 6: iOS Development Session1
Page 7: iOS Development Session1

Application Sandbox

Application sandbox directories.

Page 8: iOS Development Session1

Database And Storage

Plist

Sqlite 3.0

Page 9: iOS Development Session1

Plist

When you persist an array or dictionary (i.e., a property list with multiple values), the plist’s underlying format is XML.

NSArray * myArray = [[NSArray alloc] initWithObjects:@"first", @"second",@"third",nil];

Page 10: iOS Development Session1

Plist File

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><array><string>first</string><string>second</string><string>third</string></array></plist>

Page 11: iOS Development Session1

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>Year Of Birth</key> <integer>1965</integer> <key>Pets Names</key> <array/> <key>Picture</key> <data> PEKBpYGlmYFCPA== </data> <key>City of Birth</key> <string>Springfield</string> <key>Name</key> <string>John Doe</string> <key>Kids Names</key> <array> <string>John</string> <string>Kyra</string> </array></dict></plist>

Page 12: iOS Development Session1

Sqlite 3.0

Page 13: iOS Development Session1
Page 14: iOS Development Session1

Thank You

Questions

http://www.youtube.com/watch?v=FirarNC85sU