Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 11-25-2010, 08:49 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1
p_100rabh is on a distinguished road
Unhappy UITableView data source update issue

I have UITableView which has edit button in all rows with tag as id of the data in corresponding row.In the first row i have button to insert new item when i click on button on first row to add new item,navigates to insert form,add data to database in that forms n bring back to original uitableview which i reload in viewDidAppear.New Item along with button can be seen in the table n also i can view (in my logs ofcourse ) my NSMutableArray get updated with new data n button with appropriate tag (i.e with new ID) ;which i have provided as data source to uitableview; while binding data. Now But when i tried to edit my newly added item i got correct ID for my Data at the button tag which is clicked, but surprisingly ,now , same array which i have observed being updated while binding,has short of new data in array but surprisngly visible on uitableview y is it so ????
p_100rabh is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone-sdk, tableviewdatasource

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 380
16 members and 364 guests
Brandt, coolman, fredidf, Free App Monster, givensur, iAppDeveloper, jbro, Kryckter, locombiano89, Mah6447, Meoz, simplymuzik3, stanny, stevenkik, Tomsky, WeaselPig
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,646
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, locombiano89
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:49 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0