Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature req: add a category to NSArray that mimics some of the NSManagedObject category methods #513

Closed
rayray opened this issue Jul 10, 2013 · 2 comments
Assignees
Milestone

Comments

@rayray
Copy link

rayray commented Jul 10, 2013

Hello,

In our workflow, sometimes we end up passing around arrays of NSManagedObjects. It'd be nice to grab the entire array in a specific context, or delete the array, rather than having to iterate over them, like [arrayOfManagedObjects MR_inContext] or [arrayOfManagedObjects MR_deleteEntities].

I've been toying around with the category, and I'll make a pull request soon. But I'd like to know if this is something you'd be open to.

@casademora
Copy link
Member

Thanks for the heads up. I think there may be more interesting things to do
with arrays (collections in general) of managed objects...looking forward
to seeing your pull request

Sent from my iPad

On Jul 10, 2013, at 6:38 AM, rmndk notifications@github.com wrote:

Hello,

In our workflow, sometimes we end up passing around arrays of
NSManagedObjects. It'd be nice to grab the entire array in a specific
context, or delete the array, rather than having to iterate over them,
like [arrayOfManagedObjects
MR_inContext] or [arrayOfManagedObjects MR_deleteEntities].

I've been toying around with the category, and I'll make a pull request
soon. But I'd like to know if this is something you'd be open to.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/513
.

@tonyarnold
Copy link
Contributor

Given the age of this issue, and the volume of issues we have to work through, I've decided to close this alongside a number of other older issues.

If you can still replicate the issue under the latest in-development version of MagicalRecord (3.0 at the time of writing), please feel free to re-open and one of @magicalpanda/team-magicalrecord will take another look. Thanks!

tonyarnold added a commit that referenced this issue Apr 8, 2014
…ed objects from other contexts

Closes #513 — thanks to @rmndk for this change
@tonyarnold tonyarnold added this to the 3.0.0 milestone Apr 8, 2014
@tonyarnold tonyarnold self-assigned this Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants