Data dodania Pytanie
2017-10-10 18:10 Cannot read coredata from extension »
I have an app that stores some information in coredata and reads them. I'm writing a message extension of this application and I'd like to have this e...
(1) odpowiedzi
2017-09-20 04:09 CoreData: annotation: Failed to load optimized model at path with Xcode 9 GM »
Failed to load OMO warning (potential crash): Project with xcode 9 following warning is observed in the console during debug/release builds (iOS 11 G...
(1) odpowiedzi
2017-09-11 18:09 CoreData: How to properly set created entity attributes »
I have a Core Data Entity, let's call it "Record", and I have several attributes that I need to set with data from other objects/entities (as well as ...
(1) odpowiedzi
2017-09-01 19:09 iOS 11 - Core Data - UIColor no longers works as transformable attribute »
I store colours in my binary Core Data store using a transformable attribute, specifying the class of the attribute as UIColor like so: #import "Core...
(0) odpowiedzi
2017-08-12 20:08 Set relationship and inverse with one statement or two »
In core data, if you set the relationship in one direction, do you need to also set the inverse relationship or is it set automatically? I have a one...
(1) odpowiedzi
2017-08-08 18:08 CoreData - fetch objects by relationship in a batch for better performance »
Introduction Whenever possible, I'm trying to use find-or-create pattern in core data. When I'm doing this for a set of items that are identifiable b...
(1) odpowiedzi
2017-07-31 07:07 CoreData: Object being released in block "error: Mutating a managed object after it has been removed from its context" »
This code relies on the CoreData setup from an older forked version of Robbie Hanson's XMPPFramework. I am retrofitting a data structure to be backed...
(0) odpowiedzi
2017-07-27 23:07 Making only some rows deletable in a UITableView [Swift 3.0 - Xcode 8] »
I have an array fruit = ["Apple", "Orange", "Pear", "Kiwi"] that has Entity FOOD and is presented in an UItableView. Is there a way to make some conte...
(1) odpowiedzi
2017-07-01 08:07 Core data delete vs reset »
If I create a core data object, then decide to discard the changes instead of saving it, how should I achieve that? As far as I know, both of the foll...
(2) odpowiedzi
2017-06-26 16:06 Error upon core data change processing »
I am working on a coin collection app, and I have recently started integrating core data into my app. I have a core data database which stores custom ...
(1) odpowiedzi
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