پیشنهاد فرادرس

آموزش ساخت اپلیکیشن داستان تعاملی با Swift 

دسته بندی ها: برنامه نویسی موبایل ، آموزش های TreeHouse ، آموزش برنامه نویسی IOS ، آموزش Swift

یکی از اساسی ترین انواع اپلیکیشن هایی که می توانید ایجاد کنید، با یک مدل داده سلسله مراتبی و سبک ناوبری است. در این دوره قصد داریم دقیقا چگونگی انجام این کار را با ساخت یک اپلیکیشن داستان تعاملی آموزش دهیم. در این دوره با بررسی کنترلرهای ناوبری، مدل داده سلسله مراتبی، custom view controllers، پذیرش ورودی کاربر، چگونگی ایجاد و نمایش طرح بندی، نحوه پخش صدا و خیلی چیزهای دیگر آشنا می شوید.

سرفصل:

  • معرفی دوره
  • کنترلرهای اوبری
  • Root View Controllers
  • طراحی صفحه اصلی
  • افزودن Show Segue
  • ایجاد داستان
  • صفحات و داستان ها
  • بخش های داستان به عنوان اعضای Enum
  • ساختار صفحه
  • متدهای Helper
  • کنترلرهای صفحه
  • ایجاد Views با برنامه نویسی
  • نمایش داستان
  • رشته های اختصاصی
  • ایجاد رابط های کاربری با برنامه نویسی
  • Lazy Loading
  • URLs برای فایل های صدا
  • و غیره
آیا این نوشته را دوست داشتید؟
Build an Interactive Story App with Swift Course Publisher:TeamTreeHouse Author:Pasan Premaratne Level:Intermediate

One of the most fundamental types of apps you can create is one with a hierarchical data model and style of navigation. In this course we're going to learn exactly how to do that by building an interactive story app. We'll cover a lot of ground by exploring navigation controllers, hierarchical data models and custom view controllers.
We'll go over how to accept user input, how to create and layout views programmatically, how to play sound effects and much more. At the end of this course, you will have the knowledge to build many of the basic apps you see in the app store.
About this Course
One of the most fundamental types of apps you can create is one with a hierarchical data model and style of navigation. In this course we're going to learn exactly how to do that by building an interactive story app. We'll cover a lot of ground by exploring navigation controllers, hierarchical data models and custom view controllers.
We'll go over how to accept user input, how to create and layout views programmatically, how to play sound effects and much more. At the end of this course, you will have the knowledge to build many of the basic apps you see in the app store.
What you'll learn
UINavigationController
Notifications
Layout anchors and constraints
Audio APIsNavigating Through An Adventure
One of the most fundamental types of apps you can create is one with a hierarchical data model and style of navigation. In this course we're going to learn exactly how to do that by building an interactive story app. In the next set of videos we'll start by exploring what a navigation controller is, how to add one to our app and how to transition to different views.
6 steps
Introduction
1:58
Navigation Controllers
2:52
Root View Controllers
3:39
Designing the Main Screen
4:34
Adding a Show Segue
2:40
Navigating Through An Adventure
5 questions
Creating a Story
All apps need a model to work with and over the next set of videos we're going to build the model layer to power our story. Since the model involves many moving parts, we'll break things up by building a Story object to represent the narrative, a Page object to represent a page in a story and a wrapper object to create an adventure with the two components.
6 steps
Pages and Stories
3:41
Story Segments as Enum Members
7:35
Structure of a Page
5:47
Helper Methods
11:04
Creating an Adventure
7:48
Creating a Story
5 questions
Creating the User Interface Programmatically
So far we've only created and laid out views using a Storyboard scene but you can do every single thing that's possible in a Storyboard in code as well. Over the next few videos, we're going to create, position and size the entire user interface for the PageController in code. We'll learn how to use layout anchors and create constraints programmatically as well as how to add views to the navigation stack.
8 steps
Page Controllers
10:30
Prepare For Segue
6:06
Creating Views Programmatically
9:15
Displaying the Story
4:47
Attributed Strings
5:39
Making a Choice
2:55
Continuing Our Story
9:50
Creating the User Interface Programmatically
5 questions
Refactoring Our Code
We've got much of the logic in place in the ViewController, but our code is quite messy. The setup code for all the different views are spread across different properties and methods. Over the next few videos, let's refactor and consolidate all that into one place.
5 steps
Immediately Executing Anonymous Functions
8:40
Extensions and Computed Properties
5:40
Lazy Loading
5:25
Finishing Up the Refactor
6:21
Recap: Refactoring Our Code
3 questions
Personalizing the Story
Our app is essentially complete, but we'd like to offer users the ability to customize the story by inserting their name at certain points. For this we need to both refactor the model and add a new UI element. Over the next set of videos, we'll modify the Story enum to allow this and add a text field to the first page in our app. This won't be simple though and as you'll see we'll have to move the text field around to accommodate this new design.
7 steps
Adding Associated Values
4:02
User Input Through a Text Field
7:04
Handling Incorrect Input
2:55
Communicating Via Notifications
7:00
Modifying Constraints
6:22
Dismissing the Keyboard
5:07
Refactoring the Model Layer
5 questions
Adding Sound Effects
To round this course off let's add a fun feature where we play a sound every time a user selects a choice. We'll keep this short and simple and figure out how we can use the simplest (but not the safest!) audio API to play a system sound.
5 steps
Repositioning the Text Field
1:20
URLs for Sound Files
8:47
Playing a System Sound
6:48
Recap
2:10
Adding Sound Effects
3 questions

پیشنهاد فرادرس

لینک های دانلود حجم فایل: 349.0MB TeamTreeHouse Build an Interactive Story App with Swift Course_git.ir.rar