آموزش مقدماتی و پیشرفته Objective-C
زبان برنامه نویسی Objective-C کاربرد گسترده در در برنامه نویسی برای محصولات شرکت Apple از جمله برنامه نویسی برای iOS دارد.
همانطور که قول داده بودیم دوره آموزش مقدماتی و پیشرفته زبان برنامه نویسی Objective-C را در سایت قرار دادیم.
- فصل اول: مبانی Objective-C و طریقه نوشتن کدهای Objective-C
- فصل دوم: Object ها در Objective-C
- فصل سوم: مدیریت حافظه در Objective-C
- فصل چهارم: پروتکل ها
- فصل پنجم: مبانی فریمورک
- فصل ششم: مدیریت خطاها
- فصل هفتم: Block ها
- فصل هشتم: قابلیت توسعه کلاس های موجود
- فصل نهم: Key Value Coding و Key Value Observing
- فصل دهم: کار با Thread
- فصل یازدهم: توسعه Design Pattern
- فصل دوازدهم: Serialization داده ها
- فصل سیزدهم: بهترین تمرین ها
ليست سرفصل هاي اين دوره آموزشي:
Lesson 1 Lesson 1 (Fundamentals): Basic Objective-C Syntax Lesson 1, “Basic Objective-C Syntax,” covers the basics of Objective-C syntax. Viewers learn about statements and expressions and how to use them to build their programs. They also learn about the basic types of C and Objective-C. Viewers learn how to declare and use functions. They learn ways to change the flow of their program using if, else, for and while. Finally, viewers learn about the Objective-C preprocessor.
Lesson 2 Lesson 2 (Fundamentals): Objects in Objective-C Lesson 2, “Objects in Objective-C,” focuses on the object-oriented parts of Objective-C. Viewers learn how to implement classes and objects and how to use these tools to create code that is modular and reusable. The video discusses how classes and objects work in Objective-C and how Objective-C implements inheritance and polymorphism. Viewers learn how to create objects in code. Lesson 2 finishes by having viewers learn how to declare their own classes, including how to write class methods and object methods to use in their own code.
Lesson 3 Lesson 3 (Fundamentals): Objective-C Memory Management Lesson 3, “Objective-C Memory Management,” addresses memory management, which is a complicated subject in any programming language. This lesson provides a set of tools for easily handling memory management in Objective-C. Vewers learn about traditional Objective-C memory management and are provided with tips for handling memory management correctly. They also learn how to use autorelease pools to solve specific problems related to reference counting. Finally, viewers learn about a new tool in Objective-C, Automatic Reference Counting (ARC), that automates the memory management of Objective-C objects.
Lesson 4 Lesson 4 (Fundamentals): Protocols Lesson 4, “Protocols,” covers the problems that protocols were designed to solve, how to implement protocols in code and how to create protocols. Viewers learn about the formal Protocol design pattern. They learn how to use formal protocols within their own classes and how to declare that a class implements a specific protocol. Viewers learn how to create their own formal protocols and how to use those protocols in their own code. Finally, viewers learn about the concept of informal protocols and how to use them.
Lesson 5 Lesson 5 (Fundamentals): The Foundation Framework Lesson 5, “The Foundation Framework,” discusses a collection of classes from the Foundation framework, how to use those classes and how to explore the documentation of those classes. The lesson begins with how to use strings. Next, viewers learn how to use the most commonly used collection classes, NSArray and NSDictionary and some other lesser known collection classes. Viewers learn how to Box Scalar Values using the NSNumber class. Viewers get a tour of the other frameworks that ship with Mac OS X and iOS so that they are familiar with the tools available to them on those platforms.
Lesson 6 Lesson 6 (Fundamentals): Errors Lesson 6, “Errors,” covers the toolset available in Objective-C to handle runtime errors. Viewers learn how to classify errors and how to choose the right error handling mechanism. They also learn how to use the simplest of error handling systems–return codes. Viewers learn when and how to use exceptions. Finally, viewers learn when and how to use NSError.
Lesson 7 Lesson 1 (Advanced): Blocks Lesson 1, “Blocks,” covers this important technology that really sets Objective-C apart from other C-based languages. First viewers learn about blocks, including how they are defined and what they look like in Objective-C. Viewers then learn how to declare and use blocks and they learn about block scope. Finally, the lesson teaches when to use blocks and when to use other technologies that serve similar purposes in Objective-C.
Lesson 8 Lesson 2 (Advanced): Extending Existing Class Capabilities Lesson 2, “Extending Existing Class Capabilities,” covers the subject of Categories, a technology that enables developers to extend the capabilities of existing classes without altering the source code of those classes and without using inheritance. Viewers learn how to declare categories and how to implement those category methods. Then, the lesson covers a design pattern with categories. Viewers also learn how to implement protocols with categories and how to use anonymous categories. Finally, the lesson covers the gotchas to watch out for and avoid when working with categories.
Lesson 9 Lesson 3 (Advanced): Key Value Coding and Key Value Observing Lesson 3, “Key Value Coding and Key Value Observing” covers why key value coding matters. First, viewers learn how to declare Key Value Coding (KVC) compliant properties. Next, viewers learn how to access the values in properties using key value coding. Following that, the lesson covers how to observe changes on objects using key value observing (KVO) and how to implement manual notifications. Finally, the lesson covers how to avoid common KVO gotchas.
Lesson 10 Lesson 4 (Advanced): Threads Lesson 4, “Threads,” emphasizes the importance of understanding threads. Viewers are introduced to Grand Central Dispatch, the core of the Objective-C threading model. The lesson covers how to use the low-level Grand Central Dispatch interface (C API) to submit jobs to the dispatch queue system. Viewers learn how to use the Objective-C interface to the Grand Central Dispatch system, NSOperation and NSOperationQueue.. Viewers then learn how to write thread safe code to ensure two threads can’t conflict while running. . Finally, the lesson goes into more depth on an aspect of properties related to threading, atomic accessors.
Lesson 11 Lesson 5 (Advanced): Objective-C Design Patterns Lesson 5, “Objective-C Design Patterns,” covers the concept of design patterns and why it’s beneficial for developers to learn them. The lesson goes into the types of design patterns that exist in Objective-C and why they are important to understanding the language as a whole. Then, viewers are shown how to implement the Singleton design pattern in Objective-C, which is one of the most commonly used design patterns. After that, viewers learn about the Delegate pattern and the Observer pattern.
Lesson 12 Lesson 6 (Advanced): Data Serialization Lesson 6, “Data Serialization,” covers how to write data out to disk, send data up to a network service or web service, or receive data from a web service, all of which require serialization. First, viewers learn how to use the NSCoding protocol in objects to serialize custom objects and write them out to a disk. Next, viewers learn about property lists which store Dictionaries and arrays easily. Finally, viewers are shown the JSON serializer, which is a new addition to Objective-C. Using this system framework, developers can convert objects into correctly formed JSON strings and vise versa.
Lesson 13 Lesson 7 (Advanced): Objective-C Best Practices Lesson 7, “Objective-C Best Practices,” covers ideas that will help viewers to write code that is cleaner and more flexible. First, the lesson covers the changes that Objective-C has gone through in the last few years and, as a result, how the code developers write can be cleaner and clearer. Next, viewers learn how to best encapsulate their data in classes. Viewers then learn how to properly use properties and dot notation. Finally, viewers learn how to prevent non-ARC code from using your ARC code.
حجم فايل: 4.49GB