Bo2SS

Bo2SS

Getting Started with iOS from "Xia Piao Piao" (1) — Location and Goals

In the past month, I have worked on three small projects at the company, one similar to "Xiao Hong Shu", one similar to opening a bank account, and the last one modeled after "Tao Piao Piao".
The last one is made in imitation of "Tao Piao Piao", and throughout the process, it can truly be said to be the most streamlined learning path for getting started with iOS! Let's begin to introduce you to iOS~

Our Positioning#

Aimed at those who understand a bit of OC (Objective-C) syntax and want to get started with iOS.

If you don't understand, that's okay; I will include some introductions to OC syntax at appropriate places.

PS: Here is a document on OC tools that you can refer to anytime: Objective-C Tutorialhttps://www.yiibai.com/objective_c)—— Yibai Tutorial.

Our Goal#

It's simple: to create the following "Xia Piao Piao" and get started with iOS!

Let me briefly introduce the past and present of Piao Piao~

Past Life: "Tao Piao Piao"#

First, let's take a look at the homepage and detail page of "Tao Piao Piao" (please delete if infringing❗️):

Tao Piao Piao

Next, let's analyze the functions that should be included on the homepage:

1️⃣ Launch - Load content within the page range;

2️⃣ Pull up - Load content outside the page range;

3️⃣ Pull down - Refresh and reload content within the page range;

4️⃣ Click the purchase button - The purchase button turns gray, and the text changes to "Purchased";

5️⃣ Click on a movie - Jump to the corresponding detail page.

PS: The relevant information about the movies is stored on the backend, which can be set up using python -m SimpleHTTPServer [port] (comes with Mac). Within the local area network, you can access the folder content where the service is located via http://ip:port/, which includes the movie list and details.

Present Life: "Xia Piao Piao"#

First, let me give you an expectation of what "Xia Piao Piao" looks like, which you are about to learn. Of course, by the end of the process, I believe you can do even better!

Xia Piao Piao V1.0

At this point, are you feeling excited? Or are you leaving disappointed? Feel free to leave a message with your thoughts and suggestions!

See You Next Time#

We will talk about:

  • A brief history of iOS (of course, we can't miss the story of iOS)
  • How to create an iOS project
  • Several important configurations in the project

Now You Can#

Do It#

  • Buy a Mac (https://www.apple.com.cn/mac/)
  • Install Xcode (App Store)
  • Give a like / favorite / follow (don't forget to check back for the next update)

Think About It#

  • What information should the backend store about the movies? What file should be used?
  • What other expectations do you have for this course? Feel free to leave a message!
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.