Despite the sentiment, I can still develop iPhone and iPad apps with nothing more than my PC. You only have to pay Apple if you want to go on their app store. Contrary to popular belief, developed programs still work just fine without Apple’s approval. So you want to develop an iOS application for your iPhone or iPad. Thinking of being the next big app to hit the appstore. Only one problem, developing applications for the iPhone and iPad require a Mac or more specifically a machine running Mac OS X. If you know how to trust an app on iPhone, you can install apps from outside the Apple App Store. Only trust apps from reputable sources, otherwise you could put your iPhone at risk. You must trust the developer and verify the app before you can load it onto your iPhone.
Jump Right In
Start Developing iOS Apps (Swift) is the perfect starting point for learning to create apps that run on iPhone and iPad. View this set of incremental lessons as a guided introduction to building your first app—including the tools, major concepts, and best practices that will ease your path.
Each lesson contains a tutorial and the conceptual information you need to complete it. The lessons build on each other, walking you through a step-by-step process of creating a simple, real-world iOS app.
As you make your way through the lessons and build the app, you’ll learn about concepts in iOS app development, gain a deeper understanding of the Swift programming language, and familiarize yourself with the many valuable features of Xcode, Apple’s integrated development environment (IDE).
Prerequisites
In these lessons, it is assumed that you are familiar with the Swift programming language. You do not need to be a Swift master to complete the lessons, but you will get more out of the lessons if you can comfortably read and understand Swift code.
If you are not yet comfortable with Swift, complete the Learn to Code exercises in the Swift Playgrounds app. Alternatively, you can work through A Swift Tour from The Swift Programming Language (Swift 3). Both give you a solid foundation in the Swift programming language.
About the Lessons
In these lessons, you’ll be building a simple meal-tracking app called FoodTracker. This app shows a list of meals, including a meal name, rating, and photo. A user can add, remove, or edit a meal. To add a new meal or edit an existing one, users navigate to a different screen where they can specify a name, rating, and photo for a particular meal.
The lessons are each accompanied by an Xcode project file that shows an example of how your code and interface should look at the end of the lesson. After you go through a lesson, you can download the project and check your work against it.
If you need to refer to the concepts you’ve learned throughout the lessons, use the glossary to refresh your memory. Glossary terms are linked throughout the lessons.
Get the Tools
To develop iOS apps using the latest technologies described in these lessons, you need a Mac computer (macOS 10.11.5 or later) running the latest version of Xcode. Xcode includes all the features you need to design, develop, and debug an app. Xcode also contains the iOS SDK, which extends Xcode to include the tools, compilers, and frameworks you need specifically for iOS development.
Download the latest version of Xcode on your Mac free from the App Store.
To download the latest version of Xcode
- Open the App Store app on your Mac (by default it’s in the Dock).
- In the search field in the top-right corner, type
Xcode
and press the Return key.The Xcode app shows up as the first search result. - Click Get and then click Install App.
- Enter your Apple ID and password when prompted.Xcode is downloaded into your
/Applications
directory.
Important
The lessons were written using Xcode 8.1, iOS SDK 10, and Swift 3. Try to use these versions while working on the tutorials. If you are using a different version, your screen may look different than what is shown in the screenshots. You may also need to make changes to your code to get it to compile.
Let’s get started!
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2016-12-08
This article is intended for system administrators for a school, business, or other organization.
Your organization can use the Apple Developer Enterprise Program to create and distribute proprietary enterprise iOS apps for internal use. You must establish trust for these apps before you can open them.
If you install an app by Mobile Device Management (MDM), trust is automatically established. If you manually install an app, you must also manually establish trust.
Apple recommends that you use an MDM solution to distribute the apps. This method is secure and doesn’t require user interaction. You can also install custom apps from a secure website that your organization operates. If you don’t install apps from your organization, download and install apps only from the Apple App Store. This is the best way to protect your iPhone, iPad, or iPod touch.
Manually install and trust an enterprise app
When you first open an enterprise app that you've manually installed, you see a notification that the developer of the app isn't trusted on your device. You can dismiss this message, but then you can't open the app.
After you dismiss this message, you can establish trust for the app developer. Tap Settings > General > Profiles or Profiles & Device Management. Under the 'Enterprise App' heading, you see a profile for the developer.
Tap the name of the developer profile under the Enterprise App heading to establish trust for this developer.
Then you see a prompt to confirm your choice. After you trust this profile, you can manually install other apps from the same developer and open them immediately. This developer remains trusted until you use the Delete App button to remove all apps from the developer.
How To Develop Ios App
You must be connected to the Internet to verify the app developer's certificate when establishing trust. If you're behind a firewall, make sure that it's configured to allow connections to https://ppq.apple.com. If you aren't connected to the Internet when you trust an app, the device displays 'Not Verified' instead. To use the app, connect to the Internet and tap the Verify App button.
How To Develop Iphone Apps Without A Macbook
After you verify an app for the first time, your iPhone, iPad, or iPod touch must reverify the app developer's certificate periodically to maintain trust. If you can't reverify, you may see a message that verification will expire soon. To maintain trust, connect your device to the Internet, then tap the Verify App button or launch the app.