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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 08-08-2008, 10:52 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 75
Default UIPickerView help

Hey I'm having some issues getting a UIPickerView to overlay a UITableView

My app looks like this pretty much

RootView has a listing of
- Latest
- Popular
- Random

If you click popular it loads BrowsePopularViewController which is a sub class of BrowseBaseViewController which is a subclass of UITableViewController

So here is a screenshot of a compile error for BrowsePopularViewController.m



Here is my BrowsePopularViewController.h

Code:
#import <UIKit/UIKit.h>
#import "BrowseBaseViewController.h"

@interface BrowsePopularViewController : BrowseBaseViewController <UIPickerViewDelagate> {
	UIPickerView *rangePicker;
	NSArray *rangeArray;
}

@property (nonatomic, retain) UIPickerView *rangePicker;
@property (nonatomic, retain) NSArray *rangeArray;


@end
I can't figure out how to setup the pickerViewDelagate.. I can't really do it in IB since the only nib I have created was for the MainWindow

thanks

Last edited by hijinks; 08-08-2008 at 10:55 AM.
hijinks is offline   Reply With Quote
Old 11-26-2008, 01:42 PM   #2 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 2
Default

Quote:
Originally Posted by hijinks View Post
Hey I'm having some issues getting a UIPickerView to overlay a UITableView
I am having a similar issue. I tried creating a separate view controller that would hold the picker view and the array that would populate it.

After creating the view I would try to add it as a subview to the table and it did nothing. Even when I would try to bring the subview to the front, it did nothing.

Since this is in a navigation controller I was able to get something to work where the picker is in a completely seperate view that is pushed into the stack, but I would much rather prefer it just slides up from the bottom on top of the table view.

Were you able to figure this out?

Thanks.
chrizbo is offline   Reply With Quote
Old 11-26-2008, 02:46 PM   #3 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 3
Lightbulb UIImagePicker

I was having a similar problem until I found the following sample: Picking Images with the iPhone SDK UIImagePickerController | Trails in the Sand

Now, I'm trying to figure out how to map this image i've picked to a 2d Open GL ES texture!?!!
dlpwhitespace is offline   Reply With Quote
Old 11-26-2008, 02:50 PM   #4 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 3
Talking Wow!

Actually, got it now!

Just a matter of removing some brackets and a UIImage.

Funny how when you write the question you usually find the answer.
dlpwhitespace is offline   Reply With Quote
Old 11-26-2008, 03:33 PM   #5 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 2
Default

dlpwhitespace, I was looking for help with UIPicker (the slot machine interface for doing single select from a list) being overlaid on a UITableView, rather than UIImagePickerController (photo picking).

Or did I misunderstand your response?

Thanks in advance.
chrizbo is offline   Reply With Quote
Old 11-28-2008, 10:04 AM   #6 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 98
Default

: BrowseBaseViewController <UIPickerViewDelagate>?

That is in your code. That should be Delegate, not delAgate.
XCHG is offline   Reply With Quote
Old 12-02-2008, 09:55 AM   #7 (permalink)
New Member
 
Join Date: Nov 2008
Posts: 3
Default

chrizbo, correct I was talking about UIImagePicker.
dlpwhitespace is offline   Reply With Quote
Reply

Bookmarks

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: 416
9 members and 407 guests
AppleSteve, banatary70, DaveDee, ilmman, iOSguru, johnRambo, maryrobertson, Objective Zero, Oral B
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 157,853
Threads: 88,914
Posts: 379,297
Top Poster: BrianSlick (7,072)
Welcome to our newest member, banatary70
Powered by vBadvanced CMPS v3.1.0

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