Lectures iOS

Before you continue on this page: Do you have to refresh your skills in Java/OOP? Java Crash Course.

iOS readings and exercises

Readings are found at https://developer.apple.com Links to an external site.

There are also great books available for free on Apple's books store:

  • The Swift Programming Language
  • Develop in Swift Fundamental
  • Develop in Swift Exploration  

 

Apple computer 

You need an Apple computer to run Xcode that is the IDE used to develop for iOS. You also need an iOS device for the sections about sensors and Bluetooth. You can borrow an iPhone and/or iPad Pro, for the length of this course.  An IPad Pro can if needed can be used for development however then you need to do the development through Playground (a lightweight IDE). Contact Anders Lindström or Jonas Willén.

Additional iOS resources

Link to Stanford course Developing Apps for iOS. https://cs193p.sites.stanford.edu Links to an external site.

 

Lectures and exercises

Before the first lecture, download and install Xcode from Appstore

iOS Intro

SwiftUI First App

NBack_skeleton - walkthrough 

Tic-Tac-Toe-SwiftUI - walkthrough

 

 

Presentations

Lecture slides Readings

Exercises, hands-on
Black = focus

Nov 2

Last years videos

Play media comment.

Play media comment.

iOS2021.pdf Download iOS2021.pdf 

 

 

 

 

 

SwiftUI tutorial Links to an external site.

https://gits-15.sys.kth.se/jwi/JokeTheApp

 

SwiftUI walkthrough v2

Play media comment.

UIKit walkthrough

Play media comment.

General Information 

OurUIKitApp.zip Download OurUIKitApp.zip

 

SimpelSwiftUIExample.zip Download SimpelSwiftUIExample.zip

test 2.zip Download test 2.zip

https://gits-15.sys.kth.se/jwi/TicTacToeStoryboard.git

SwiftUI tutorial Links to an external site.

 

 

 

 

Interesting, but not covered

Coming up soon ...

Public repositories on KTH Github

There are some repositories related to the lectures on KTH Github, https://gits-15.sys.kth.se/anderslmLinks to an external site. (tab "Repositories). You may use parts of these in your solutions, provided you add a reference in your source code.

NB: It might not always be possible to (easily) run a cloned project from the repository, it might for example be that my SDK version is different than yours. The examples are primarily intended as this, examples.

If you run into problems when running the projects, you could try let gradle rebuild the project on your machine, or (a bit more tedious) create an empty project and add the source and xml-files to your project (in this case also add the Volley library to your projects build.gradle).