در این آموزش تصویری با Swift 2 آشنا می شوید. در این آموزش تصویری برنامه نویسی Swift 2 را برای IOS و Mac OS X فرا خواهید گرفت. در ادامه نحوه کار با متغیرها ، ثابت ، انواع داده ها، آرایه ها ، کلاس ها ، توابع ، نحوه ذخیره سازی و بازیابی داده ها را می آموزید.

این دوره آموزشی محصول موسسهLynda است.

سرفصل های این دوره:

  • اصطلاحات
  • دستورات شرطی
  • حلقه
  • چالش: کاوش حلقه
  • راه حل: کاوش حلقه
  • توابع
  • استفاده از توابع از پیش تعریف شده
  • نوشتن توابع تعریف شده توسط کاربر
  • چالش: کار با توابع
  • راه حل: کار با توابع
  • کلاس ها، ساختمانها، و Enum ها
  • ایجاد کلاس، ساختمانها و انواع شمارشی
  • استفاده از ارث و پروتکل
  • چالش: ساخت ساختمان داده
  • راه حل: ساخت ساختمان داده
  • رابط ساز
  • اتصال نمایش کنترل
  • برقراری ارتباط بین استوری بورد و کد
  • ایجاد یک جدول View_Based
  • راه اندازی نمایش جدول در استوری بورد
  • داده های جدول
  • مشاهده جدول segues
  • اضافه کردن ردیف به جدول
  • حذف ردیف از جدول
  • ذخیره و بازیابی اطلاعات
  • چالش: ادامه ساخت برنامه
  • راه حل: ادامه ساخت برنامه
  • و …

عنوان دوره: Lynda Learn Swift 2: The Basics

مدت دوره: 2 ساعت و 55 دقیقه

نویسنده: John Nastos


Lynda Learn Swift 2: The Basics

John Nastos
2h 55m

Learn Swift 2. These tutorials take you through the basics of Swift, the fast, interactive codebase for programming iOS, Mac OS X, tvOS, and even Watch OS apps. Swift is ideal for new programmers who want to build their first apps, as well as experienced developers who are migrating from Objective-C.
First, learn how to install Xcode, the IDE designed for Apple developers, and use Swift playgrounds, an innovative coding environment that displays results as you code. Author John Nastos then dives deep into Swift syntax: the variables and constants, data types, arrays, loops, classes, and functions that make your apps run. Next, discover how to build an engaging app interface with storyboards and Interface Builder, connect the interface and code, and use table views to present lists. John shows how to store and retrieve data, and interact with Objective-C, the original app development language that still integrates beautifully with Swift. Using the exercise files provided with the course, you'll assemble a complete working app with Swift while gaining the skills to go create the next one on your own.
Topics include:
Downloading and installing Xcode
Using Swift playgrounds
Understanding Swift syntax
Debugging Swift code
Controlling flow with expressions, conditional statements, and loops
Using and writing Swift functions
Creating classes, structs, and enums
Using storyboards in Interface Builder
Building an app with table views
Storing and retrieving data
Interacting with Objective-C

3m 15s
Conditional statements
6m 46s
5m 11s
Challenge: Explore loops
Solution: Explore loops
1m 27s
5. Functions
9m 43s
Using predefined functions
2m 56s
Writing user-defined functions
4m 0s
Challenge: Work with functions
Solution: Work with functions
1m 50s
6. Classes, Structs, and Enums
29m 26s
When to use what type
2m 35s
Creating classes, structs, and enums
9m 11s
Using inheritance and protocols
8m 6s
Challenge: Build data structures
Solution: Build data structures
8m 49s
7. Interface Builder
14m 6s
Introducing storyboards
4m 43s
Connecting view controllers
2m 0s
Communicating between storyboards and code
7m 23s
8. Building a Table View_Based App
27m 21s
Understanding table views
1m 25s
Setting up table views in storyboards
3m 32s
Populating the table data
10m 58s
Table view segues
6m 48s
Adding rows to the table
2m 33s
Deleting rows from the table
2m 5s
9. NSUserDefaults
17m 35s
Understanding NSUserDefaults
1m 30s
Storing and retrieving data
10m 12s
Challenge: Continue building the app
Solution: Continue building the app
5m 12s
10. Interacting with Objective-C
11m 32s
How Swift and Objective-C interact
2m 34s
Accessing Objective-C APIs
3m 50s
Using Objective-C and Swift in the same project
5m 8s
Next steps