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:
create utility class class helper methods can go okay have class contains mixed bag of methods utility use?
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
Post a Comment