magicalrecord Questions

6

Solved

I need to save my array to Core Data. let array = [8, 17.7, 18, 21, 0, 0, 34] The values inside that array, and the number of values are variable. 1. What do I declare inside my NSManagedObjec...
Idea asked 23/4, 2015 at 13:53

2

This is the code, I save the model via Magical Record: MagicalRecord.saveWithBlock({ (localContext) -> Void in var localNotification = CDNotification.MR_findFirstByAttribute("notificationID", ...

6

Solved

I have an app that is using MagicalRecord for its Core Data handling and this works nice. However I have different users that can login in the app and when another user logs in, the core data datab...
Kinaesthesia asked 28/12, 2012 at 12:26

2

Solved

I'm using MagicalRecord for the first time. I've set it up like this: [MagicalRecord setupCoreDataStackWithStoreNamed:@"test"]; where test is the filename of my Core data file ( test.xcdatamode...
Macneil asked 8/8, 2014 at 12:58

2

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 at times *** error for object 0x17e400000: F...
Relator asked 15/2, 2017 at 12:7

2

Solved

I have a following crash report from my released app: synchronizeMyWords method fetches the entities from database, creates private queue context with main context parent and finally saves resul...
Moccasin asked 10/12, 2016 at 7:39

3

Solved

We have been trying to debug a Core Data multiple-context/threading issue wherein merging a Core Data save notification into our main thread NSManagedObjectContext is sporadically crashing the app....
Sharlasharleen asked 14/1, 2015 at 22:33

2

Solved

How do I find the replacement method in MagicalRecord for this (which has been deprecated)? I have looked at Google, SO and the docs; nothing seems to be a replacement, and of course, nothing in th...
Morette asked 12/12, 2013 at 5:1

3

Solved

I have an app that uses MagicalRecord, and I'm pre-populating the database with a large amount of data that is used for reference. Within that same data model, I have user-definable information per...
Arnst asked 20/6, 2012 at 16:21

4

Solved

I am using Magical Record: https://github.com/magicalpanda/MagicalRecord I am trying to save records that I get the from my website to the sqllite database using Magical Record and Core Data, but ...
Doctorate asked 7/12, 2012 at 17:24

2

Solved

After upgrading from Xcode 6.4 to Xcode 7 (and now 7.0.1) my project crashes when starting unit tests. My iOS project is using Magical Record and the app crashes at this assertion: + (NSManagedOb...
Ribeiro asked 5/10, 2015 at 15:17

4

Solved

I just started using MagicalRecord, and this might be a stupid question, but it's really bothering me... I am using MagicalRecord with sqlite, and when I initiate MagicalRecord, I used [MagicalRe...
Lukelukens asked 16/10, 2012 at 6:14

2

Updated: I have prepared the sample which is reproduce the issue without magical record.Please download the test project using following URL: https://www.dsr-company.com/fm.php?Download=1&FileT...
Acree asked 1/10, 2015 at 12:43

1

Solved

I need some help understanding CoreData. Let's say I have MagicalRecords and RestKit installed, and I also have a server, which can return me some posts. Then I need to save some of those p...
Pantheon asked 2/11, 2015 at 17:6

5

Turning MagicalRecord logging off requires a #define to be made before it is first included in the project, but in the case of a project managed by Cocoapods I have no access to add a #define in th...
Hero asked 7/3, 2013 at 23:41

3

Solved

I have hit a brick wall trying to setup lightweight migration of Core Data using MagicalRecord. I have looked at all of the posts on this subject, using Google and SO. I understand how the persiste...
Donohue asked 30/5, 2013 at 16:17

0

We have an iOS app that uses MagicalRecord for CoreData. I've been working on freeing up our main thread and putting more of our processing onto background threads. We had been using the MR_context...
Sideways asked 15/7, 2015 at 3:33

2

Here's what I'm up to: I now have An iPhone app A WatchKit Extension A Cocoa Touch Framework that holds all my shared classes What I would like to accomplish, is having a persistent storage (C...
Delanadelancey asked 27/6, 2015 at 23:29

4

Solved

CoreData: Ubiquity: Invalid option: the value for NSPersistentStoreUbiquitousContentNameKey should not contain periods: com.YashwantChauhan.Outis -PFUbiquitySwitchboardEntryMetadata setUseLoca...
Engelbert asked 6/10, 2013 at 13:40

2

Solved

I was struggling all the last days in order to enable iCloud support for the data I'm managing with MagicalRecord framework. I did everything regarding provisioning profile, and all the setup in ...
Mathes asked 8/4, 2015 at 8:27

3

Solved

I use MagicalRecords but by some reason MR_SHORTHAND does not work for me. I have added these lines below to Prefix.pch #define MR_SHORTHAND #import "CoreData+MagicalRecord.h" In case when app ...
Poulenc asked 24/2, 2014 at 11:2

2

Solved

I need to unit test (XCTest) some of my methods that include reference to CoreData models. The following line execute correctly : var airport: AnyObject! = Airport.MR_createEntity() (lldb) po ai...
Hydrostatic asked 15/5, 2015 at 12:21

2

Solved

I have a project setup using the UnitTest template provided by Apple. Too I added MagicalRecord to Prefix header. When I am running on the device and Simulator everything is working fine. Except th...
Hitchhike asked 15/4, 2013 at 6:31

1

I'm using Core Data with MagicalRecord, my model has two configurations: PrefilledConfiguration has four entities, UserDataConfigurations has six. Now I would like to merge them all in the defau...
Concoct asked 1/4, 2015 at 5:33

2

Solved

We made some changes to our CoreData model and looks like the auto migration is failing. Even when we set the current model to be the original model that we used to generate the data there's still...
Grounder asked 5/9, 2014 at 10:5

© 2022 - 2024 — McMap. All rights reserved.