Satyam
Satyam

Reputation: 15894

iOS - NSDictionary - Reading plist file

I've a plist file which has a menu to be shown (related to a restaurant) I added the dictionary items in the order they have to be shown. But when I'm reading the plist file into NSDictionary, the same order in plist is not being maintained. Why? How should I display it in the same order as that in the plist?

Upvotes: 0

Views: 590

Answers (1)

Satyam
Satyam

Reputation: 15894

Instead of dictionary, we've to create nsarray which will read same and so we can display the same.

Upvotes: 0

Related Questions