ios - Best Approach for Send Value for Swift -
i don't have problem sending values between view controllers
, i don't approach this, use prepareforsegue
method send values between view controllers
today realized , didn't it.
lets think this, if have 3 view controllers
, fetched values somewhere on internet parse.com in first view controller
in array
of someobjects
, have reuse array of someobjects in third view controller
because i don't want refetch objects on network. used prepareforsegue
method passing value second view controller
, after used again approach pass value third view contoller
, realized what if have 10 view controller or more ?
what best approach in case ? how can store values in global property ?
thank !
Comments
Post a Comment