Data dodania Pytanie
2017-02-12 18:02 IOS/Objective-C: can't save CoreData values into NSArray »
I'm trying to save CoreData values into an array for later display it in a table view. But so far, the logs show me that the array is empty (null) tho...
(1) odpowiedzi
2017-02-10 15:02 NSFetchedResultsController "cannot access fetched objects before -performFetch:" crash when calling objectAtIndexPath: »
I my crashlogs, I found an interesting crash which I can't figure out why it happened. Neither I'm able to replicate it. It crashed when on the follo...
(1) odpowiedzi
2017-01-27 08:01 Create NSManagedObject class in Xcode 8.1 showing error »
I've created NSManagedObject class for entity in Xcode 8 using edition->create NSManagedObject subclass. It creates 2files one with +CoreDataProperti...
(2) odpowiedzi
2017-01-22 10:01 PUSH not getting stored in core data when app is in Terminated/not running state on App Icon Launch After receiving notification »
Push notification is received from remote server and it is showing in notification centre/tray. When Tapping on notification the Notification data is ...
(0) odpowiedzi
2017-01-04 19:01 UIActivityIndicator stopping animating before NSFetchedResultsController finishes fetch »
I have a core data request being made through a NSFetchedResultsController. The expected outcome of this code is that a UIActivityIndicator will start...
(1) odpowiedzi
2016-12-30 23:12 Save contacts into tableview using core data »
I have an app that uses the Contacts framework for iOS 9+. I have made a tableview that holds some selected contacts by the users. I want to be able t...
(1) odpowiedzi
2016-12-29 05:12 How To Match object value of NSSet in CoreData? »
I Have Made One Core Data ONE TO MANY Relationships. A person can have multiple Bank’s Accounts. Now I have add Person and bank account linked wit...
(1) odpowiedzi
2016-12-19 19:12 Can I use this converted Swift 3 code directly for supporting core data on older versions? »
I'm very much new to iOS Development, actually my project is ready but recently I came across an issue regarding CoreData support for older iOS versio...
(0) odpowiedzi
2016-12-16 02:12 Is this a valid way of debugging CoreData concurrency issues? »
Like many iOS developers, I use CoreData, and like many iOS developers that use CoreData, I have hard-to-track-down thread violation errors. I'm tryin...
(3) odpowiedzi
2016-12-12 20:12 How is this CoreData fetch in swift 3? »
This is a fetch, which will bring me the data of a specific entity, but in swift 2 and i need it in swift 3.. func fetchProfile(){ let fetchReque...
(1) odpowiedzi
2016-12-11 04:12 Core Data - Editing, Incrementing and Saving Attribute to already exisiting Entity »
Ok, so i'm new to CoreData and using NSNumber (about a Day) and I watched a tutorial on CoreData and managed to store a number of different Achievemen...
(1) odpowiedzi
2016-11-24 20:11 Core data breaks randomly with nil »
NSManaged Object data core data fails on relation entity fetch. I am loading data with fetchRequest.includesPropertyValues = true fetchR...
(0) odpowiedzi
2016-11-16 12:11 How to store data in Core data from Data model in iOS and get in the format of data model »
I want to store data as data model in iOS. I am trying this but it is not working. My data model class class FileSaveModel: NSManagedObject { @...
(1) odpowiedzi
2016-11-13 11:11 array items not saved properly in core data entity »
I have the problem that only the last item of my string array is saved in the required core data entity. I have a multi-dimensional array called "ite...
(2) odpowiedzi
2016-11-09 09:11 Error in countForFetchRequest in swift 2.3 migration »
I migrated my code to swift 2.3 which resulted in "Extra argument 'error' in call" for the line: var count:Int = moc.countForFetchRequest(fetchReques...
(0) odpowiedzi
2016-11-04 10:11 My all data are not getting stored in Coredata »
I'm fetching values from Server and storing them to Coredata.The issue is coming that when i fetch data from server and store them in coredata, it sho...
(1) odpowiedzi
2016-10-28 16:10 Core Data auto increment number »
Hey evryone I want to set a number attribute in every entity as autoincrement. how can I do it? PS: I'm not using this number value as an Identifier...
(0) odpowiedzi
2016-10-28 12:10 NSOrderedSet response from server and Core Data »
I want to show data as it came from the backend So let's have an example json file: { "fonts": [ { "name": "Helvetica", "styleIdent...
(1) odpowiedzi
2016-10-26 12:10 How to remove recive memory warning issue when inserting large amount of data into core data? »
I am using this function for betch insertion but i am facing received memory Waring issue. I am going to save local identifier of image path of image...
(0) odpowiedzi
2016-10-10 13:10 FetchedResultsController Swift 3 API Misuse: Attempt to serialize store access on non-owning coordinator »
I'm attempting to use a fetchedResultsController to handle the results in my UITable. It works initially when the program starts up. Then when I swi...
(1) odpowiedzi
2016-10-10 11:10 Core Data Multiple ManagedObjectContext »
How the multiple ManagedObjectContext (MOC) works in core data(Swift 2, iOS 9). I have been through lots of links & material online and answers on...
(1) odpowiedzi
2016-10-02 22:10 Need Help displaying Core Data in a UITableView in Swift »
Please forgive if this is a duplicate question. I did search as thoroughly as I could, but none of the other questions that I've seen regarding core d...
(2) odpowiedzi
2016-09-24 08:09 How to handle empty objects with Swift? »
I have an app that keeps track of monthly expenses. I have an Expense entity with a month attribute that keeps track of current month expense is creat...
(2) odpowiedzi
2016-09-07 03:09 How to correct predicate CoreData Fetched property for Chat and Messages weak relationship? »
I have a simple chat with typically relations chat and messages. Chat entity have property chatId - type Integer Message entity have property chatId...
(1) odpowiedzi
2016-08-25 20:08 NSFileProtectionComplete doesn't encrypt the core data file »
I am using Xcode 7.3 for iOS 9.3 to try and encrypt a Core Data file. I am trying to use NSPersistentStoreFileProtectionKey and set it to NSFileProtec...
(1) odpowiedzi
2016-08-19 17:08 Passing Core Data objects from DetailViewController to another View Controller »
Is there a way to pass Core Data objects from DetailViewController to another View Controller to allow Editing? From MasterViewController navigate to...
(1) odpowiedzi
2016-07-31 13:07 Crashing when using 'filteredSetUsingPredicate' on CoreData NSSet (NSInvalidArgumentException: set argument is not an NSSet) »
Let's say I have NSManagedObject Zoo, and he got connection oneToMany to 'Cat' named cats, this connection is NSSet. When I use the function 'filtered...
(0) odpowiedzi
2016-07-27 12:07 Where to add `addPersistentStoreWithType:configuration:URL:options:error:` in Swift Core Data Application? »
I created a new Swift application from the Core Data document based template. The application is working fine, but for a new version I would like to a...
(2) odpowiedzi
2016-07-24 22:07 Fetch request on single Transformable attribute (Swift) »
I have a Core Data entity (type) called NoteEntity. It has a managed variable called noteDocument, which is of the custom type NoteDocument (my subcla...
(1) odpowiedzi
2016-07-17 15:07 Core Data, Concurrency and GCD »
I'm having difficulties trying to figure out how to use Core Data concurrently and properly. I have to clear Core Data of an entity before adding new...
(1) odpowiedzi
2016-07-03 20:07 Swift - Core Data Relationship - Album Style »
I have been working on establishing a working Core Data relationship for days now. I have made a bit of progress, but nothing substantial, so I am hop...
(1) odpowiedzi
2016-06-13 11:06 Core Data is persistent after I remove it and restart my app »
Good morning, I'm working for the first time using CoreData with Swift 2.2. At the moment, I can add objects to my entity "Item" and I can remove all...
(1) odpowiedzi
2016-06-10 08:06 CoreData: Transformable Type in Entity | Fetch Failed »
I have an Entity; UserDefaults which has an Attribute; user_contacts, i.e is a list of Contacts (NSManagedObject models). I save it comfortably in my...
(1) odpowiedzi
2016-05-26 13:05 NSFetchedResultsController complex fetch request and model »
I'm trying to design my CoreData model for this situation: We have Song object which have to-many relationship with some List. Each List have name...
(1) odpowiedzi
2016-05-26 09:05 NSManagedObject subclass generated +CoreDataProperties.m files not actually required? »
When generating an NSManagedObject subclass xcode creates two extra files MyObject+CoreDataProperties.h & MyObject+CoreDataProperties.m to keep th...
(1) odpowiedzi