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 12-27-2009, 03:35 PM   #1 (permalink)
Registered Member
 
geeo's Avatar
 
Join Date: Nov 2009
Posts: 30
geeo is on a distinguished road
Default PageControl and ScrollView and UIView

Hi,

I've been through the Apple's PageControl tutorial but didn't find an answer to my question.

Is it possible to go through different View (created with IB) on a View.

I have a tab bar application, in one of the tab bar view, I would like the user to be able to flip through many other view.

Is this possible ? If yes, how ?

TIA
geeo is offline   Reply With Quote
Old 12-28-2009, 02:51 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 78
Jamvert is on a distinguished road
Default

Yes, that is possible.

One way to do it, if I have understood what you want correctly, would be to have a UIScrollView as that view and add the various views they will flip though to it as subViews. You would probably want pagingEnabled = YES for the scroll view.

I don't know how to implement that in IB though because I don't know how to use IB. I just do views manually myself.
__________________
My iPhone/iPod Touch Games:
Staunch Defense
Staunch Defense Lite
Jamvert is offline   Reply With Quote
Old 12-28-2009, 03:26 AM   #3 (permalink)
Registered Member
 
geeo's Avatar
 
Join Date: Nov 2009
Posts: 30
geeo is on a distinguished road
Default

Ok thanks, if needed, I can bypass IB, I'll probably learn more this way.

And if I manually program subviews, I can add whatever UI elements I need on them ?
geeo is offline   Reply With Quote
Old 12-28-2009, 03:41 AM   #4 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 78
Jamvert is on a distinguished road
Default

Quote:
Originally Posted by geeo View Post
Ok thanks, if needed, I can bypass IB, I'll probably learn more this way.

And if I manually program subviews, I can add whatever UI elements I need on them ?
Yes, you can add any elements to subviews that you make manually. I don't know of anything that you can't do manually.
__________________
My iPhone/iPod Touch Games:
Staunch Defense
Staunch Defense Lite
Jamvert is offline   Reply With Quote
Old 12-28-2009, 03:42 AM   #5 (permalink)
Registered Member
 
geeo's Avatar
 
Join Date: Nov 2009
Posts: 30
geeo is on a distinguished road
Default

A last request, have you any good tutorial about UI programming ? Because for the moment, I've been using IB exclusively.
geeo is offline   Reply With Quote
Old 12-28-2009, 04:32 AM   #6 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 78
Jamvert is on a distinguished road
Default

I don't have a good tutorial for creating them programatically, unfortunately. From what I remember, most of apple's tutorials are for IB, though I think a lot of the sample codes are done programatically.

This link here shows you how to add stuff like buttons and labels to a view programatically: Sign in with your Apple ID - Apple Developer Connection. That is about all I have got.
__________________
My iPhone/iPod Touch Games:
Staunch Defense
Staunch Defense Lite
Jamvert is offline   Reply With Quote
Reply

Bookmarks

Tags
pagecontrol, scrollview

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: 329
12 members and 317 guests
akacaj, alexP, ClerurcifeDer, Duncan C, givensur, GraffitiCircus, guusleijsten, JmayLive, NetGuru, Paul Slocum, Punkjumper, Sloshmonster
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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