Rawnet Lightning Talk - Swift iOS Development

Post on 22-Jan-2018

183 views 1 download

Transcript of Rawnet Lightning Talk - Swift iOS Development

Swift iOS DevelopmentSwift is a multi-paradigm, compiled programming language created for iOS, OS X, etc by Apple Inc

This is The Swift

logo

Swift SyntaxQuick overview, don’t wanna bore ya’ll...Shout out to the Japanese kid I stole these slides from

See more here;

http://goo.gl/k24JLc

Xcode / in a nutshell...

★ An integrated development environment (IDE)

★ Includes developer documentation

★ Interface Builder - used to construct graphical user interfaces.

★ Features include "Playgrounds" and live debugging tools

Interface Builder

Case Study

My first app - postbox locations.I know, awesome idea.

PostboxtronLOL

Postboxtron / Challenges

★ User coordinates accuracy

★ Shit loads of postboxes in the UK

★ Multi-threading

★ Parsing JSON data was a bitch

Postboxtron / Solution

★ MKMapView - renders the map, add “pins”

★ CLLocationManager - gets the user's’ location

★ Web Service API - written in PHP

★ SwiftyJSON - parses API data, stores in Swift object

Case Study

Pop Music Quiz

Quiz

Pop Quiz

Pop QuizQUIZ MASTER MODE

Pop Quiz / Challenges

★ Interface Builder “constraints”

★ #StopTheLag / #IntroduceTheLag

★ What views to use

★ Design

★ Multi-selecting config items

Pop Quiz / Solution

★ View Controller - basic screen with buttons

★ Table View - settings screen

★ Eureka - epic form builder, saves hours of time

★ Web Service API - written in PHP

★ SwiftyJSON - parses API data, stores in Swift object

In summary...

★ Swift - easy language to learn and understand

★ Xcode IDE - great but quirky / annoying / frustrating

★ iOS UI - strict standards, not as flexible as web

★ Baller. Next up; Android development in Java...

Learn more about Rawnet