Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Desenvolvimento iOS Primeiros passos
Search
Leandro Richard
May 18, 2015
Programming
35
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desenvolvimento iOS Primeiros passos
Palestra realizada na Faculdade FASAM na Semana do Curso de Sistemas de Informação
Leandro Richard
May 18, 2015
Other Decks in Programming
See All in Programming
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
140
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
130
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
510
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
R8 の設定見直しでアプリサイズ削減
andpad
0
220
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
残高管理から台帳サービスへの進化
artoy
1
200
Railsバージョンを4倍にした話
optim
0
440
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
590
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
Embracing the Ebb and Flow
colly
88
5.2k
Done Done
chrislema
187
17k
Music & Morning Musume
bryan
48
7.4k
Transcript
Mini Curso - iOS FASAM - Maio/2015
Iniciando... • Arquitetura; • Linguagens; • Ferramentas de Desenvolvimento; •
Apple Developer Program; • App Store;
Arquitetura Toda a arquitetura do iOS está dividida em camadas
Cocoa Touch Nesta camada encontramos diversos recursos chaves que podem
facilmente serem utilizados, como por exemplo, event-drive, agenda de contados. • AddressBookUI; • EventKitUI; • GameKit; • MapKit; • MessageUI; • NotificationCenter; • PhotosUI; • Twitter; • UIKit; • WatchKit; • iAd;
Media Frameworks para construção das melhores experiencias multimidias disponiveis no
dispositivo. • AVFoundation; • AssetsLibrary; • AudioToolbox; • AudioUnit; • CoreAudio; • CoreGraphics; • CoreImage • CoreMIDI; • CoreText; • CoreVideo; • GLKit; • GameController; • ImageIO; • MediaAccessibility; • MediaPlayer; • Metal; • OpenAL; • OpenGLES; • Photos; • QuartzCore; • SceneKit; • SpriteKit;
Core Services Frameworks para utilização de serviços fundamentais do iOS.
Por exemplo, acesso a arquivos, network sockets e muito mais. • Accounts; • AdSupport; • AddressBook; • CFNetwork; • CloudKit; • CoreData; • CoreFoundation; • CoreLocation; • CoreMedia; • CoreMotion; • CoreTelephony; • EventKit; • Foundation; • HealthKit; • HomeKit; • JavaScriptCore; • MobileCoreServices; • MultipeerConnectivity; • NewsstandKit; • PassKit; • PushKit; • QuickLook; • Social; • StoreKit; • SystemConfiguration; • UIAutomation; • WebKit;
Core OS Gerenciamento de mémoria virtual do sistema, arquivos de
sistema, rede, comunicação com dispositivos externos, por exemplo, comunicação via Bluetooth. • Accelerate; • CoreBluetooth; • ExternalAccessory; • LocalAuthentication; • Security; • System;
Linguagens • [[self Objective-C] alloc] init]; • let swift =
Swift()
Similar com C Declaração de variáveis int i = 0;
int j = 0; int k = i + j;
Similar com C Loop: for(int i = 0; i <=
n; i++){ NSLog(@"Hello world!"); //printf } ! Condições: if(i == 1) { NSLog(@"i is 1"); } elseif(i == 2) { NSLog(@"i is 2"); } else { NSLog(@"i is neither 1 or 2"); }
Algumas diferenças Strings: NSString *string = @"Hello World!"; Printing to
console: NSLog(@"Hello World!"); NSParaTudo... : NSString, NSArray, NSDictionary ...
Algumas diferenças Declaração de métodos: - (void) sayHelloWorld { NSLog(@"Hello
World %@", myName); } ! - (int) addInt: (int)intA with:(int)intB { return intA + intB; } ! - (returnType) methodName: (parameterType) parameterA labelParameterB: (parameterType) parameterB
Algumas diferenças Chamadas de métodos: ! [self sayHelloWord]; [self addInt:
10 with: 2];
Objective - C #import <Foundation/Foundation.h> ! @interface Cat : NSObject
{ NSString *color; NSString *name; int age; } ! - (void) meow; ! @end #import "Cat.h"; ! @implementation Cat ! - (void) meow { NSLog(@"Meowww"); } ! @end Interfaces/Declaration - .h Implementation - .m
Objective - C Declaração: ! Cat *myCat = [[Cat alloc]
init]; ! Atribuição de propriedades: myCat.age = 2; ! Chamadas de métodos: [myCat meow];
XCode IDE • Source Editor; • Version Editor; • Asset
Catalog; • Interface Builder; • iOS Simulator; • Debug; • Complete Documentation; • Continuous Integration;
None
Vamos ao código...
Apple Developer Programs • iOS Develper Program: • Individual: $99
/ Year; • Company: $99 / Year, D-U-N-S required; • Enterprise: $99 / Year, D-U-N-S required;
App Store • iTunes Connect; • Conjunto de ferramentas para
submissão e gerenciamento de aplicativos para serem disponibilizados na App Store. ! ! ! • App Store Review;
Links • https://developer.apple.com/ • http://www.devmedia.com.br/conheca-o-ios-8-para-desenvolvedores/32351 • http://www.raywenderlich.com/ • http://www.appcoda.com/ •
https://iosdevweekly.com/
Livros Livro - Desenvolvendo para iPhone e iPad - 3ª
edição
Contato • Skype: leandro.richard.go • Facebook: Leandro Richard • Twitter:
@leandrorichard_ • E-mail:
[email protected]