Data dodania Pytanie
2017-06-16 20:06 Steps to take in migrating data from Core Data to Realm? »
I was reading this article by Tim Oliver (Migrating an App from Core Data to Realm) and I came across the following paragraph, which has been the most...
(1) odpowiedzi
2017-06-13 16:06 Core Data optimistic locking error »
I am fetching a large amount of data from a web service that delivers JSON arrays back to my app, I am using two different web services, one for each ...
(1) odpowiedzi
2017-06-04 07:06 How to build subsections in an NSFetchedResultsController »
I'm building an expense tracker where an Expense can belong to only one Category but can have multiple Tags. This is my object graph: In the screen...
(2) odpowiedzi
2017-06-01 20:06 NSPrivateQueueConcurrencyType serial or concurrent? »
As the title says, the question is, if a NSManagedObjectContext with concurrency type NSPrivateQueueConcurrencyType is serial or concurrent. More sp...
(3) odpowiedzi
2017-05-27 23:05 Using UITableView to display each attribute of NSManagedObject dynamically »
I have a UITableView and an NSManagedObject and I want to display one attribute per cell in the UITableView, what is the best way to do that? I'm hav...
(1) odpowiedzi
2017-05-15 11:05 apple mach-o linker error linker command failed with exit code 1 (use -v to see invocation) »
I am working with objective c with core data, i got Error : Apple mach-o linker Error, Linker command failed with exit code 1 (use -v to see invocatio...
(2) odpowiedzi
2017-05-08 08:05 saving multiple objects to coredata, under a single name »
I'm working on a project in swift 3.0 where I have a UITableView with multiple selection option (each row has a URL). Thus, on top of the UITableView ...
(1) odpowiedzi
2017-04-22 21:04 UIButton that increments an array from Core Data, done from another class »
I have a button that whenever it is pressed is supposed to increment by one, which as a result will display a new string into a textfield. I have a Co...
(1) odpowiedzi
2017-04-15 15:04 One To Many Relationship setter »
this is my first time working with Core Data in swift. I'm really enjoying it but it's also a challenge making sure my Appdelegate saves etc. The Pro...
(2) odpowiedzi
2017-04-14 22:04 NSPredicate to filter Core Data Relationship NSSet by attribute »
I have a many-to-many relationship with two entities. One is Person, the other is Clubs. I want to be able to write a predicate that will find all Per...
(1) odpowiedzi
2017-03-22 14:03 Remove NSEntityDescription Objects from list of Core Data »
I wanted to remove all my NSEntityDescription objects from core data and release the memory. the reset function doesn't make any difference to to the ...
(1) odpowiedzi
2017-02-23 07:02 Swift 2: Populating a TableView with two CoreData entities »
This is my second question here on the site so any feedback is appreciated in regards to question format. With that being said here's my problem: I'm...
(1) odpowiedzi
2017-02-19 20:02 No data view in tableView using NSFetchedResultsController »
I am using NSFetchedResultsController in my tableview, and it works fine. My problem is, I want to create "no data view" when my _fetchedResultsContro...
(1) odpowiedzi
2017-02-15 13:02 Coredata crash while fetching »
I am getting some weird coredata error in the production app and I was able to get hold of the Crash Report. Its Crashing with the following message ...
(2) odpowiedzi
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