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

SW-201 Fix CoreData Persistence #170

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

AdamRa97
Copy link
Contributor

@AdamRa97 AdamRa97 commented Apr 22, 2024

Removed unnecessary inMemory lines from Persistence.swift, also changed/removed an initialization to make sure the NSPersistentObject is correctly called and the same one is used throughout the app

Fixed the issue of the CoreData entities/attributes not saving correctly when closing and reopening app.

The user should now be able to see the past workouts even after closing out of the app.

…ed/removed an initialization to make sure the NSPersistentObject is correctly called and the same one is used throughout the app
@AdamRa97 AdamRa97 changed the title Removed unnecessary inMemory lines from Persistence.swift, also chang… SW-201 Fix CoreData Persistence Apr 22, 2024
Copy link
Contributor

@SlowMiata SlowMiata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you Adam

Copy link
Contributor

@jtstanczak7 jtstanczak7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Copy link
Contributor

@DanielEap DanielEap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So good it blew my socks off

@AdamRa97 AdamRa97 merged commit 528dffc into testing Apr 23, 2024
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

Successfully merging this pull request may close these issues.

4 participants