Swift for iOS 5 lessons
  1. 1 Building for iPhone from a Windows country
  2. 2 The Swift language sign in to open
  3. 3 Building an interface with SwiftUI sign in to open
  4. 4 Data, networking and storage sign in to open
  5. 5 Shipping to the App Store sign in to open
Course overview
Data: video · change

This lesson: 122KB

Swift for iOS · Lesson 1 of 5

Building for iPhone from a Windows country

Face the practical obstacle first.

Swift is Apple's language and iOS development has a hard requirement that has to be stated before anything else: building and submitting an iOS app requires macOS. Xcode does not run on Windows or Linux, and there is no supported alternative.

So the first question is access to a Mac. The options, honestly.

Buy one, including second hand, which is the reliable route and a real cost in this market.

Use a cloud Mac service, rented by the hour or month. This works, it is the practical answer for somebody learning, and the cost accumulates.

Use a shared machine, which several people learning together arrange more often than is discussed.

Or write cross platform with Flutter or React Native, developing on Windows, and only needing a Mac at the point of building and submitting. For many people in Pakistan this is the sensible route, and the Flutter course in this catalogue is the other half of it. You still need a Mac eventually to submit.

The developer account is a yearly fee in dollars, required to put anything on the App Store, and payable with a card that works internationally, which is its own obstacle here.

Why do it anyway. The iOS market pays. Apps earn more per user, international clients frequently want iOS first, and the supply of iOS developers in Pakistan is much smaller than the supply of Android developers, which is favourable for anybody who does it.

Lab — try it yourself

Decide your Mac access route before writing any code. This is the practical blocker and deciding it early saves wasted effort.

Check what you learned

Create your free BvLogic ID to take the quiz and record your score.

Create your BvLogic ID
Continue to lesson 2 Up next 2. The Swift language