ABach
ABach

Reputation: 3738

App Status Messages

The Background

I'm developing an app that has a Status Window; its purpose is to show various errors that might appear during the app's lifecycle:

Status Window

As you can see from my quick mockup, each error can be interacted with. For instance, touching an error related to settings might switch to the Settings UIViewController. Other errors might be "status-only" -- touching those might merely remove them from the Status Window.

The Question

Will you point me toward an appropriate method of storing these messages and their related actions? I'm swimming in the possibilities. I want these errors to be persistent, so something like Core Data seems to make sense (although, in my heart of hearts, Core Data seems really immense and perhaps unsuited for something this "simple").

Thanks for helping!

Upvotes: 2

Views: 58

Answers (1)

Mundi
Mundi

Reputation: 80271

Core Data seems overkill for this. I think the suggestion with NSUserDefaults is a reasonable one.

You could construct an NSArray and store in it the error dictionaries with numbers and strings. Seems straight-forward enough.

Upvotes: 1

Related Questions