Current location - Education and Training Encyclopedia - Graduation thesis - How to develop an iOS social app with swift?
How to develop an iOS social app with swift?
Prepare to use swift to develop iOS social applications;

1, development environment construction: Xcode 6.0

Download and install Xcode 6.0 beta in official website.

Xcode 6.0 beta can be saved with Xcode 5***. I didn't download it from the AppStore (I downloaded and installed it using the official website link). If I download OSX 10. 10, I will use the AppStore to download it.

That is to say, to install Xcode 6.0, Mac OS X 10. 10 is not needed, and official website said that it needs more than 10.8.

2. Playground

The first option of Xcode 6.0 is to create a playground file. You can write the code and preview it in real time on the right. ?

3. Select the second option to create the project. This is the same as the previous process of creating a project using OC. A single-view application is used here.

After creation, the directory structure is as follows: