Data dodania Pytanie
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
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