NEW: SwiftUI Series - Core Data in SwiftUI

所在平台: Udemy

课程主页: https://www.udemy.com/course/swiftui-series-core-data-in-swiftui/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:新:SwiftUI系列 - SwiftUI中的Core Data 概述: 本课程旨在教授如何在SwiftUI中使用Core Data。这一课程专为需要在Swift和ViewController方法中处理Core Data的开发者而更新。如果您对SwiftUI不熟悉,建议您先学习一些基本的SwiftUI开发知识,可以参考我的其它课程《SwiftUI系列 - SwiftUI基础》。 Core Data是什么?为什么要学习Core Data? Core Data是Apple为开发人员提供的一种强大框架,主要用于管理应用程序中的模型层对象。它提供了一种通用和自动化的解决方案,用于处理与对象生命周期和对象图管理相关的常见任务,包括持久化存储。如果您热衷于学习使用SwiftUI的移动开发并希望提升iOS开发技能,Core Data应该是首要学习内容。 课程内容: 本课程将带领您深入了解Core Data的各个重要方面,包括: - 实体(Entity) - 实体继承(Entity Inheritance) - 属性类型(Attribute Type) - 关系(Relationships) - 管理对象上下文(ManagedObjectContext) - 管理对象(ManagedObject) - 持久化容器(PersistentContainer) - 使用Codable进行JSON解析 - 组件谓词(Predicate)和复合谓词(Compound Predicate) - 批量获取和更新(Batch Fetching and Update) - 对象删除(Object Deletion) - 异步获取(Asynchronous Fetching) - NSFetchedResultsController - 聚合函数(Aggregate Functions)和分组(Grouping) - 缓存(Caching) - 数据模型版本控制(Data Model Versioning) - 自动轻量级迁移(Automatic Lightweight Migration) - 使用模型映射的手动迁移(Manual Migration with Model Mapping) - 后台处理过程(Background process) - 自动子类和类扩展生成(Automatic Subclass and Class Extension Generation) - CloudKit集成 课程中,我们将一步一步构建一个简单的应用,使用Core Data框架,创建自己的持久化容器,并将不同的Core Data特性集成到我们的应用中。在学习Core Data版本控制、迁移和iCloud集成的过程中,我会指导您开发5个iOS应用,并展示如何将这些组件整合到Core Data中。 课程的显著更新包括: - JSON解析使用Codable,不再使用字典映射。 - 将在一个项目中演示如何将CloudKit集成到我们的应用中,跨设备同步数据。 - 使用键路径(KeyPath)构建谓词以避免潜在的拼写错误。 所有视图、模型和服务类均为SwiftUI构建。您将学习到在构建Core Data应用中的SwiftUI开发技巧。 自行学习的节奏: 每个学生的学习方法不同,本课程将提供起始和最终的Xcode项目解决方案,您可以选择按照每一步进行跟随,也可以直接跳转到最终解决方案。完成课程后,您将对任何Core Data项目充满信心,并更加接近成为全面的iOS开发者。 目标受众: 希望提高技能的所有iOS开发者。 课程要求: - 一台Mac笔记本或iMac - Xcode - 一些SwiftUI开发知识会很有帮助。

课程评论(0条)

课程详情

SwiftUI Series - Core Data in SwiftUIThis course was created and updated for Core Data with SwiftUI. If your project is dealing with Core Data in Swift with ViewController approach, or you intend to learn the previous version, my other course CoreData for Swift Development is the course you want. I am new to SwiftUI, is this the right course for me?Although prior SwiftUI experience is not required, it is recommended. If you are new to SwiftUI, it would be helpful to learn some fundamental in SwiftUI development. Udemy has lots of SwiftUI course. You may also check my SwiftUI course SwiftUI Series - SwiftUI Fundamentals to get yourself up-to-speed with SwiftUI development.What is Core Data? Why should I know about Core Data?Core Data is one of the most powerful framework that Apple has provided for developer. "Core Data is a framework that you use to manage the model layer objects in your application. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence." - Source from Apple". If you are passionate about learning mobile development with SwiftUI and looking to take your iOS development skills to the next level, Core Data framework should be at the top of your list.What's in it for me?In this course I will take you on a journey in the world of Core Data. We will cover all the important aspects of Core Data:EntityEntity InheritanceAttribute TypeRelationshipsManagedObjectContextManagedObjectPersistentContainerJSON parsing with Codable to NSManagedObjectPredicateCompoundPredicateFetchingBatch Fetching and UpdateObject DeletionAsynchronous FetchingNSFetchedResultsControllerAggregate FunctionsGroupingCachingData Model VersioningAutomatic Lightweight MigrationManual Migration with Model MappingBackground processAutomatic Subclass and Class Extension GenerationCloudKit IntegrationThroughout this course we will look in detail the Core Data framework to provide data storage functionality in iOS applications. We will start by creating a simple app that is utilizing Core Data framework, building our own Persistence Container and eventually using all different Core Data features into our application. Along with Core Data versioning, migration and iCloud integration, I will take you on developing 5 iOS applications and how we can integrate all of these components into Core Data.Some notable updates from the previous version of Core Data course:JSON Parsing with Codable.. bye bye Dictionary Mapping!!We will look into several different techniques to parse JSON response (from sample and live API call) and transform them using Codable protocol directly into Core Data NSManagedObject. No more using dictionary mapping to build our Core Data object. We will cover this for simple Core Data Entities all the way to Entities with inheritance.CloudKitIn one of the projects, we will demonstrate how to integrate the CloudKit into our app and to sync our data across multiple devices. Apple has done a wonderful job to make this process simple. We will also discuss some caveats so you will have an informed decision when integrating CloudKit to your project.Predicate using KeyPathIn building our predicates, we will be using KeyPath approach to avoid any potential typo when creating the predicate arguments. It will map directly to object property using the dot notation.All SwiftUIAll views, models and services class are built for SwiftUI. Along the way, you will also learn the SwiftUI development techniques in building Core Data applications.Do at your own paceLots of students have different methods of learning. Through out this course I will provide both the starter and final Xcode project solution, so you can either follow along one step at a time or you can jump directly to the final solution. By the time you are done with SwiftUI Series - Core Data in SwiftUI course, you will be ready and very confident to take on any Core Data project coming your way. On top of that, you will be one step closer to become a well rounded iOS developer.Target Audience: All iOS developer that would like to take their skills to the next level.What are the requirements?A Mac laptop or iMacXcodeSome knowledge of SwiftUI development would be helpful

课程标签

0人关注该课程

主题相关的课程