use UIManagedDocument to persist data