Get the updated objects in coredata for rollback

Solution:

        print(appdel.getContext().updatedObjects)


It will display the updated objects that are changed after the last commit.If you are tried with 

Comments

Popular posts from this blog

Convert NsNumber, NSDate to String in iOS Swift

store cgpoint in userdefaults iOS swift