• After more than 15 years covering everything Apple, it’s with a heavy heart we announce that we will no longer be publishing new content on iMore and the iMore forums will be closing as of November 1st, 2024.

iMore

I was wondering if someone can help me with the design of a seemingly simple yet starting to feel very complex memory model.
I want to finish writing an application where the user can choose several pathways after reading a text. After reading the text and choosing a path, the reader has another text to read and more choices and so on and so on etc

The problem is how do you put this into memory/file in an intelligent way?

If each choice leads you to different texts then what way can one think of to model the data into memory or files so that it can be called into the iphone app in an intelligent way?

Any ideas would be most welcome!:confused: