Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 16, 2008, 06:45 AM   #1
pashik
macrumors member
 
Join Date: Jul 2008
Transfer selected value from custom UIPickerView to main ViewController

Hi.
i have view with 2 buttons each calls certain UIPickerView (with own number of elements).
I created class CustomPicker: UIPickerView <UIPickerViewDelegate>
So this class has method didSelectRow where i can receive selected value.


In a controller SomeController:UIViewController<UIPickerViewDelegate> i created 2 pickers (one is created inside this controller and i can receive selected value in didSelectRow method but another is created from CustomPicker).

So problem is how i can get selected value of CustomPicker in SomeController?
Is it way to access didSelectRow from CustomPicker?

thanx for reply.
pashik is offline   0 Reply With Quote
Old Aug 16, 2008, 09:42 AM   #2
pashik
Thread Starter
macrumors member
 
Join Date: Jul 2008
Possibly there is way to redefine UIPickerDelegate?
and call it in another way?
pashik is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
I have a new MBP. Best way to move *select* data from old MBP? tenmiler Mac OS X 1 Jun 10, 2011 06:32 AM
Transfer an app from iTunes to iPhone 4 buggsy2 iPhone Tips, Help and Troubleshooting 0 Jan 3, 2011 04:20 PM
Transferring Files from macbook pro to imac womenintec iMac 1 Nov 17, 2010 05:26 PM
Passing values from View Controller to View sm4ck iPhone/iPad Programming 3 Dec 22, 2009 08:36 AM
Transferring selected files from/to macs adm531 Mac Basics and Help 1 Jun 13, 2009 04:20 PM


All times are GMT -5. The time now is 12:30 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC