Saturday, 15 May 2010

ios - using the same uitableview to reload data and use back button -



ios - using the same uitableview to reload data and use back button -

dont know how else explain im using uitableview load data(core data) , have limitless lists , items. instance list1 nutrient contains candy, starches, meat, , meat may contain beef, chicken, etc. if click through tableviews , chicken, how utilize button go previous. using "reload data" instead of multiple tableviews in storyboard. there improve way this???

i started set 3 values prevparentlist, subparentlist, , parentlist. end losing prevparentlist when go deep , 1 level....didnt think through.....please help

you don't "reuse" tableviews.

if storyboard gets messy in sentiment best way creating custom viewcontroller (including xib), set original nsmanagedobjectcontext (as property) , provide nspredicate meets criteria.

then you'll force viewcontroller navigation stack.

arc take care of releasing viewcontroller , corresponding view if setup properties correctly.

ios objective-c xcode uitableview storyboard

No comments:

Post a Comment