Atyrau, November 19 14:53
Evening clear-3, night: -4
Official exchange rates: $ 367.06  € 416.17  P 5.56

How to make a simple application for the iPhone

September 14 2016, 22:51

by Nuriden MAITANOV

Without financial investments and special knowledge.

Here is the simplest instruction on how to create an elementary iOS application and test it on your device. Starting from it you can further delve into the topic and create really useful programs.


Note for Windows users: To create applications for iOS, you need to install OS X on a virtual machine (VirtualBox, VMware). This process is by no means simple and requires a separate instruction for its implementation.
1. Go to the App Store and install the XCode development environment:


If you already have XCode, then you need to update it.
2. Start xCode and select the menu item File -> New -> Project:


3. Select the type of application:


4. Specify information about the project. Note that I chose the "Universal" application type:


5. Click on the New Folder button and specify the name of the folder in which we will store the application files:


6. Uncheck the Create Git Repository checkbox and click the Create button. As a result, you must get to the startup screen of the application:


7. Click on the item Main.storyboard in the right menu, drag the Label element to the main field and add the text Hello_world to it:


8. Now you need to make an icon for the application. We select a picture and load it on mapappicon.com:


9. We wait when the web application finishes the work and we specify our e-mail address for receiving the archive with the icons:


10. Return to XCode and in the left menu select the Assets.xassets:


11. Open the archive from the mail and drag the icons from there to the XCode workspace:


12. Choose one of the device simulators, click on the application launch button (black triangle) and turn it on your Mac Developer mode.


13. We repeat the attempt to start. We are waiting for the iOS to load on the simulator:


14. Make sure that the application is working:


Watch the finished application on the device
Now you can see how the application works. Before executing the instruction, that you have the latest versions of XCode and iOS.

1. Go to xCode -> Preferences -> Accounts and add your Apple ID.

2. Connect the iOS device to the computer:


3. Select the desired device in the list and click on the start button. We are waiting for some time.

4. If you have posted a message about the security problems, then go to iOS-view in Settings -> Basic -> Manage and allow applications from the developer using Apple ID

5. Go to the desktop and find the icon for the new application:


6. We start:


7. Disconnect the device from the computer. Now the application can be used.


Нашли ошибку? Выделите её мышью и нажмите Ctrl + Enter.
 

2884 viewsMain page Поделиться:

Подпишитесь и узнавайте о новостях первыми


Main page