Azeven
Azeven

Reputation: 138

Using URL schemes to internally navigate an app

I'm at the architecture planning stage of an iOS app. I've never used URL schemes before, but would like to incorporate them with this app.

This got me thinking. Instead of pushing and popping View Controllers from other View Controllers, what if I were to control the View state of my app internally using URL schemes. Specifically, building some sort of abstract manager that intercepts the URLs and displays the correct View Controller.

Basically, I'm looking for reasons that this isn't a good approach as I'm sure it violates MVC principles. The advantage I'm seeing is that if the app is built foundationally in this way, any view or state of view is accesible through a URL.

Upvotes: 1

Views: 733

Answers (1)

Cyupa
Cyupa

Reputation: 1135

Have you tried Three20? It offers something similar. http://three20.info/article/2010-10-06-URL-Based-Navigation

Upvotes: 2

Related Questions