quellish

Los Angeles, CA

Mar
21
comment 'NSObjectInaccessibleException' - CoreData sharing with TodayViewExtension
According to Apple, accessing Core Data iCloud functionality from an extension is not supported in iOS 8. devforums.apple.com/message/1050891#1050891
Mar
16
comment Storing CLLocationCoordinates in Core Data
@Steve , can you clarify why you're suggesting to not use scalars? Scalars have been supported on managed object subclasses for quite some time. The author's "solution" used scalars and was entirely correct.
Mar
16
answered 'NSObjectInaccessibleException' - CoreData sharing with TodayViewExtension
Mar
16
comment Progressive migration with Encrypted Core Data
Can you post the stack trace of the exception?
Mar
12
comment newObjectIDForEntity in NSIncrementalStore
It's 'new' in the sense that this belongs to a method family that should return an object with a +1 retain count. In general in Objective-C you should avoid direct pointer comparison on objects and instead use isEqual:. This method is not contracted to return the same instance every time, or even something that isEqual to an object returned by the same method previously. It is meant to return an NSManagedObjectID with retain count +1 that represents the reference object.
Mar
6
comment WatchKit Core Data Sync Up
Give every context the -reset message.
Mar
5
awarded Nice Answer
Mar
5
comment Kalman Filter for iOS
Core Location already does Kalman filtering, so this may not be useful to you. Filtering on top of filtering generally doesn't work very well.
Mar
5
comment Glucose profile - IOS
"Core Bluetooth doesn't offer specific support for heart-rate monitors either" HealthKit, though, does. Pairing a device with a BTLE HRM will make that HRM available as a source for HealthKit. Other health/fitness related devices... may... behave similarly.
Mar
5
comment iOS Core Data encryption
That is why the answer does not use the default
Mar
1
comment Update Core Data store location to support App Groups
Yes, I saw your several posts on the apple forums. In most cases iCloud ubiquitous content will not work with app groups. There are several past threads at the apple forum that detail why
Feb
22
awarded Necromancer
Feb
21
comment Do Apple Watch Apps require an accompanying iOS app to have a full user interface?
"In this case it seems counterproductive to create an app that replicates behavior and UI of the watchkit for it." This is why it's recommended to implement this as a framework that both share.
Feb
17
comment Core Data How would I use core data to keep the user logged in?
Actually, for this use case (at least as OP describes it) NSURLCredentialStorage is a better choice than to use the Keychain directly. Always prefer the higher level abstraction.
Feb
17
answered How to create standalone instance of Core Data NSManagedObject - not managed
Feb
17
comment How to create standalone instance of Core Data NSManagedObject - not managed
This can result in undefined behavior.
Feb
16
comment Modularize a big iOS app using CocoaPods
@hajder A framework is just a way of packaging a reusable component, and it has long been a practice to build frameworks into applications even if they are not going to be shared with or loaded by other applications. Frameworks have the same uses as libraries as well as a few more because they can contain resources. The "What are Frameworks?" portion of the Frameworks Programming Guide explains this.
Feb
11
comment message sent to deallocated instance error
Please post more of your managed object implementation. Are you overriding an accessor? Are you accessing a primitive value? CoreData uses KVO extensively . It appears that there are unbalanced calls to some of CoreData's internal methods which is very unusual and appears to be the source of the problem
Feb
7
comment How to notify main MOC, changes in background MOC
The Apple sample code is very outdated. Use queue confinement and parent-child contexts. The child context will push changes to the parent.
Jan
30
comment Core Data Transformable Attributes (NSArray) is empty
The reason you see that only in the test is that your test never initializes route or immutableRoute.
1 2 3 4 5