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

Reply
 
LinkBack Thread Tools Display Modes
Old 05-30-2010, 05:11 AM   #1 (permalink)
Registered Member
 
vincefried's Avatar
 
Join Date: Apr 2010
Location: Hamburg, Germany
Posts: 38
vincefried is on a distinguished road
Default iPad SplitView with an updating label

Hello!

I have a question: I created an iPad-App with a splitview. in the tableview, there are about 20 cells. In the detailview is a label. I want, when i select a cell in the tableview, that the label changes its word in a word, that i delegated to the cell. So, for example, when i click on the cell 1, the label changes in "one", when i click on the cell 2, the label changes in "two", and so on. can anybody help me please?

vincefried
vincefried is offline   Reply With Quote
Old 05-31-2010, 08:56 AM   #2 (permalink)
Registered Member
 
vincefried's Avatar
 
Join Date: Apr 2010
Location: Hamburg, Germany
Posts: 38
vincefried is on a distinguished road
Default

Can anybody help me please?? It's the last thing I need to know. When I know, how to do that, my App will be finished.
vincefried is offline   Reply With Quote
Old 05-31-2010, 02:41 PM   #3 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 183
bugnote is on a distinguished road
Default

you hit the nail with 'delegation'
this is what you want to do.
iPhone SDK Essential Training: Delegation in Cocoa
this will give you a nice over, then you can google for the detail.
__________________
Burnsoft Ltd. Apps for your iOS device.
bugnote is offline   Reply With Quote
Old 06-05-2010, 01:28 PM   #4 (permalink)
Registered Member
 
vincefried's Avatar
 
Join Date: Apr 2010
Location: Hamburg, Germany
Posts: 38
vincefried is on a distinguished road
Default Thanks

Thank you, but I know how to delegate this on the iPhone. But I tried it on the iPad, and because its a splitview, and it has two views, its different. I googled all the day, I tried it hours and hours. I had some good working codes, but it still was kind of crab. I have no idea, how to do it...
vincefried is offline   Reply With Quote
Old 06-06-2010, 12:13 PM   #5 (permalink)
Registered Member
 
vincefried's Avatar
 
Join Date: Apr 2010
Location: Hamburg, Germany
Posts: 38
vincefried is on a distinguished road
Default I got it!

If anyone cares about the answer... after days of searching, I found the perfect tutorial for me

iPad for iPhone Developers 101: UISplitView Tutorial | Ray Wenderlich

vincefried
vincefried is offline   Reply With Quote
Reply

Bookmarks

Tags
detailview, label, splitview, tableview, update

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: 325
9 members and 316 guests
ajay123123, ashaman64, baja_yu, ChrisYates, HemiMG, newDev, Objective Zero, pkIDSF, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,878
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

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