iOS CoreData技術學習資源彙總

1、CoreData學習指引

1. 蘋果官方:Core Data Programming Guidehtml

  什麼是CoreData?ios

  建立託管對象模型swift

  初始化Core Data堆棧多線程

  提取對象app

  建立和修改自定義託管對象ide

2.Core Data在 macOS 10.12 , iOS 10.0, tvOS 10.0和watchOS 3.0中的新特性性能

 

國內比較好的CoreData學習資源:學習

如下資源來自:blog.csdn.net/hello_hwc ui

彙總目錄:spa

http://blog.csdn.net/column/details/huangwenchen-ios-sdk.html

 

iOS 數據持久化之CoreData(一)堆棧與基本概念

iOS 數據持久化之CoreData(二)堆棧創建和基本操做Demo

iOS 數據持久化之CoreData(三)NSFetchedResultsController +Demo

iOS CoreData詳解(四)Faulting and Uniquing

iOS CoreData詳解(五)多線程

iOS CoreData詳解(六)深刻理解數據模型

iOS CoreData詳解(七)性能相關

 

2、CoreData對象明細

官方說明:https://developer.apple.com/reference/coredata

import CoreData.NSAtomicStore
import CoreData.CoreDataDefines
import CoreData.CoreDataErrors
import CoreData
import CoreData.NSAtomicStoreCacheNode
import CoreData.NSAttributeDescription
import CoreData.NSBatchDeleteRequest
import CoreData.NSBatchUpdateRequest
import CoreData.NSEntityDescription
import CoreData.NSEntityMapping
import CoreData.NSEntityMigrationPolicy
import CoreData.NSExpressionDescription
import CoreData.NSFetchRequest
import CoreData.NSFetchRequestExpression
import CoreData.NSFetchedPropertyDescription
import CoreData.NSFetchedResultsController
import CoreData.NSIncrementalStore
import CoreData.NSIncrementalStoreNode
import CoreData.NSManagedObject
import CoreData.NSManagedObjectContext
import CoreData.NSManagedObjectID
import CoreData.NSManagedObjectModel
import CoreData.NSMappingModel
import CoreData.NSMergePolicy
import CoreData.NSMigrationManager
import CoreData.NSPersistentStore
import CoreData.NSPersistentStoreCoordinator
import CoreData.NSPersistentStoreRequest
import CoreData.NSPersistentStoreResult
import CoreData.NSPropertyDescription
import CoreData.NSPropertyMapping
import CoreData.NSRelationshipDescription
import CoreData.NSSaveChangesRequest
import Foundation

extension NSCocoaError {
    public static var ManagedObjectValidationError: NSCocoaError { get }
    public static var ValidationMultipleErrorsError: NSCocoaError { get }
    public static var ValidationMissingMandatoryPropertyError: NSCocoaError { get }
    public static var ValidationRelationshipLacksMinimumCountError: NSCocoaError { get }
    public static var ValidationRelationshipExceedsMaximumCountError: NSCocoaError { get }
    public static var ValidationRelationshipDeniedDevareError: NSCocoaError { get }
    public static var ValidationNumberTooLargeError: NSCocoaError { get }
    public static var ValidationNumberTooSmallError: NSCocoaError { get }
    public static var ValidationDateTooLateError: NSCocoaError { get }
    public static var ValidationDateTooSoonError: NSCocoaError { get }
    public static var ValidationInvalidDateError: NSCocoaError { get }
    public static var ValidationStringTooLongError: NSCocoaError { get }
    public static var ValidationStringTooShortError: NSCocoaError { get }
    public static var ValidationStringPatternMatchingError: NSCocoaError { get }
    public static var ManagedObjectContextLockingError: NSCocoaError { get }
    public static var PersistentStoreCoordinatorLockingError: NSCocoaError { get }
    public static var ManagedObjectReferentialIntegrityError: NSCocoaError { get }
    public static var ManagedObjectExternalRelationshipError: NSCocoaError { get }
    public static var ManagedObjectMergeError: NSCocoaError { get }
    public static var ManagedObjectConstraintMergeError: NSCocoaError { get }
    public static var PersistentStoreInvalidTypeError: NSCocoaError { get }
    public static var PersistentStoreTypeMismatchError: NSCocoaError { get }
    public static var PersistentStoreIncompatibleSchemaError: NSCocoaError { get }
    public static var PersistentStoreSaveError: NSCocoaError { get }
    public static var PersistentStoreIncompvareSaveError: NSCocoaError { get }
    public static var PersistentStoreSaveConflictsError: NSCocoaError { get }
    public static var CoreDataError: NSCocoaError { get }
    public static var PersistentStoreOperationError: NSCocoaError { get }
    public static var PersistentStoreOpenError: NSCocoaError { get }
    public static var PersistentStoreTimeoutError: NSCocoaError { get }
    public static var PersistentStoreUnsupportedRequestTypeError: NSCocoaError { get }
    public static var PersistentStoreIncompatibleVersionHashError: NSCocoaError { get }
    public static var MigrationError: NSCocoaError { get }
    public static var MigrationCancelledError: NSCocoaError { get }
    public static var MigrationMissingSourceModelError: NSCocoaError { get }
    public static var MigrationMissingMappingModelError: NSCocoaError { get }
    public static var MigrationManagerSourceStoreError: NSCocoaError { get }
    public static var MigrationManagerDestinationStoreError: NSCocoaError { get }
    public static var EntityMigrationPolicyError: NSCocoaError { get }
    public static var SQLiteError: NSCocoaError { get }
    public static var InferredMappingModelError: NSCocoaError { get }
    public static var ExternalRecordImportError: NSCocoaError { get }
}
相關文章
相關標籤/搜索