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

non-unique-instances to unique2 #131

Open
mjmsmith opened this issue Oct 18, 2015 · 0 comments
Open

non-unique-instances to unique2 #131

mjmsmith opened this issue Oct 18, 2015 · 0 comments

Comments

@mjmsmith
Copy link

Hi, I'm moving my app from the non-unique-instances branch to unique2. A couple of questions:

  • save

My model objects have custom initializers that make sure they're fully constructed. I added a category to FCModel that provides the old save behavior:

- (BOOL)save {
  return [self save:^{}];
}

Am I likely to run into any problems initializing and saving this way rather than using the save: block?

  • migrations

On app start, I used to call FCModel's openDatabaseAtPath:schemBuilder: on a background thread so that I could show a spinner on the UI thread. Is there any way to do this with the unique2 branch, or should I just call the method while the static launch view is displayed?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant