ios development session1

Post on 22-Apr-2015

515 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Introduction to iOS Development for beginners.

TRANSCRIPT

iOS TRAINING SESSION-1

By Ilyas Ahamed

Overview

iOS Basics

iOS Architecture

Life Cycle Of View Controller

Application Sandbox

Database and Storage

iOS Basics

Objective C

iOS Architecture

iOS Architecture

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

Application Sandbox

Application sandbox directories.

Database And Storage

Plist

Sqlite 3.0

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];

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>

<?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>

Sqlite 3.0

Thank You

Questions

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

top related