Getting Started in iOS

New to iOS development in Swift with SwiftUI? The following are some good resources and lectures to get started with programming in Swift and creating awesome user interfaces with SwiftUI. Please note: SwiftUI is more or less a new technology (introduced in 2019) and gets updates all the time. Things might have changed since the resources below have been published.

Setup local development environment

For iOS development, you will need a computer running MacOS (preferrably one of the latest versions). Next, install the latest version of XCode through the Mac AppStore.

Normally, for local developing and testing, you do not need a personal paid developer license from Apple. For this project, the university provides us a developer license, you should go ahead and add that account in XCode. You can find the login information in the Keepass file in the commons repository.

Now, to start with the project, clone the iOS repository with git

git clone git@gitlab.uni-ulm.de:SE/UniApp/iOS.git
cd ./iOS

The app uses CocoaPods for dependency management, so go ahead and install that tool

sudo gem install cocoapods

After that, you can download all dependencies with the following command

pod install

Now, you just need to open the .xcworkspace file with XCode, and we are ready to start developing

open UniApp.xcworkspace