ios - Where should I put utility method to parse PLIST file? -


(relatively new ios developer)

i building drill-down table , data read plist file. data dictionary @ root of plist needed order maintained.

it's array, @ expense of needing additional formatting extract data.

there 2 view controllers (master/detail) need access method.

there 2 options i'm thinking unsure implement:

  1. create utility class class helper methods can go okay have class contains mixed bag of methods utility use?

  2. create category on viewcontroller. category used 2 view controllers , there 1 method in category.

i learn if there better practices out there this?

thank you!

this may answering more general question asking but: if have not come across take @ model-view-controller (mvc) design pattern advocated apple.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -