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 07-05-2009, 04:53 AM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 140
ozzie is on a distinguished road
Default Multiple views

I'm having a bit of trouble creating an application with multiple views and viewcontrollers where the views switch at the push of a button without an animation. Does anyone know how to do this or know of any easy to use tutorials that will help me do it?
ozzie is offline   Reply With Quote
Old 07-26-2009, 01:17 AM   #2 (permalink)
Tutorial Author
 
Join Date: Jul 2009
Posts: 49
MaXiMuM is on a distinguished road
Default

Ok so create a new View-Based application (i will call it Clock). then create a UIViewController subclass. name this SecondViewController. Now goto your ClockViewController.h
and put

Code:
#import "SecondViewController.h"


Now we will create an IBOulet, put this under the @interface



Code:
IBOutlet SecondViewController *secondViewController;
now above the @end line create a IBAction for the switch so
Code:

Code:
-(IBAction)goToSecondView;
@end
We can now move on to the ClockViewController.m all we have to do is state what the IBAction does so right under the @implementation line put
Code:

Code:
-(IBAction)goToSecondView{
	[self presentModalViewController:secondViewController animated:NO];
}

Now lets move onto the SecondViewController.h
all we have to do is put an IBAction for returning to the First View
so right above the @end line put
Code:

Code:
-(IBAction)goBackToFirst;
OK now go to SecondViewContoller.m we have to define the IBAction so put
Code:

Code:
-(IBAction)goBackToFirst{

	[self dismissModalViewControllerAnimated:NO];
}
And your Done. Have Fun.
MaXiMuM is offline   Reply With Quote
Old 07-26-2009, 01:49 PM   #3 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Here's a slightly different way using
Code:
if.. else
on the button sender...

You could do a switch and then fire off different functions based on a characteristic of the sender button (I used title):

Code:
-(IBAction)buttonPressed:(id)sender
{
	
	UIButton *pressedButton = (UIButton *)sender;
	
	NSLog(@" The button's title is %@.", pressedButton.currentTitle);
	
	
	if ([pressedButton.currentTitle isEqualToString:@"1"])
	{
		[view2 removeFromSuperview];
		[view3 removeFromSuperview];
		[view4 removeFromSuperview];
		[view5 removeFromSuperview];
		
		[self.view addSubview:view1];
		
				
		
	}

	else if ([pressedButton.currentTitle isEqualToString:@"2"])
	{.........
Just a different way...
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 07-26-2009, 09:16 PM   #4 (permalink)
Tutorial Author
 
Join Date: Jul 2009
Posts: 49
MaXiMuM is on a distinguished road
Default

Sorry forgot to add the fact that you have to link the IBActions to UIButtons in Interface Builder.
MaXiMuM is offline   Reply With Quote
Old 08-20-2009, 06:54 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Hey,

Thanks for redirecting me to your tutorial. However, this is great for a View-Based App. but what about in a Window Based App. Do you have to include something in the delegate? I'm still stuck. I used your tut, and it builds fine. However, once in simulator, if I click on my toolbar button to go to the page where the button is located that switches to another view, it crashes. Any help is appreciated.

Thanks,
kiambogo
kiambogo is offline   Reply With Quote
Old 08-20-2009, 06:59 AM   #6 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Hi,

I think you'll get a 1000 times better response by posting some code on this forum.

Code:
Like this!
Put your text in here, select it and then click the # sign in the editor window to wrap the CODE tags around it.

Cheers

Quote:
Originally Posted by kiambogo View Post
Hey,

Thanks for redirecting me to your tutorial. However, this is great for a View-Based App. but what about in a Window Based App. Do you have to include something in the delegate? I'm still stuck. I used your tut, and it builds fine. However, once in simulator, if I click on my toolbar button to go to the page where the button is located that switches to another view, it crashes. Any help is appreciated.

Thanks,
kiambogo
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 08-20-2009, 07:58 AM   #7 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Okay, thanks. I am new so, again, I am not completely sure how things work around here.

So again, I have AlgebraView and I want to press a button and make it go to LogarithmsView.

Under AlgebraViewController.h

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




@interface AlgebraViewController : UIViewController {
	UIButton *logarithmsButton;
	IBOutlet LogarithmsViewController *logarithmsViewController;

}

@property (nonatomic, retain) IBOutlet UIButton *logarithmsButton;


- (IBAction)goToLogarithmsView;

@end
Under AlgebraViewController.m

Code:
#import "AlgebraViewController.h"
#import "LogarithmsViewController.h"





@implementation AlgebraViewController;
@synthesize logarithmsButton;

- (IBAction)goToLogarithmsView{
	[self presentModalViewController:logarithmsViewController animated:NO];
}
- (void)didReceiveMemoryWarning {
	
    [super didReceiveMemoryWarning];
	
}
- (void)viewDidUnload {

}


- (void)dealloc {
	[logarithmsButton release];
    [super dealloc];
}


@end
Under LogarithmsViewController.h

Code:
#import <UIKit/UIKit.h>


@interface LogarithmsViewController : UIViewController {
}

-(IBAction)goBackToFirst;
@end
Under LogarithmsViewController.m
Code:
#import "LogarithmsViewController.h"


@implementation LogarithmsViewController
- (IBAction)goBackToFirst {
	[self dismissModalViewControllerAnimated:NO];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}

- (void)viewDidUnload {
}
- (void)dealloc {
    [super dealloc];
}


@end
I don't have any code in my delegate files for the button or switch. With this current code, I can load my app, but if press a button (toolbar) to go to AlgebraView, it crashes. However, if i open AlgebraView.xib, and then select the button and make it NOT the LogarithmsButton, then it loads fine, but pressing the button does nothing.

Thanks,
kiambogo
kiambogo is offline   Reply With Quote
Old 08-20-2009, 07:23 PM   #8 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Thanks for posting the code,

Many questions don't get answered here, but usually it helps to have code samples.

Are you getting any errors or warnings when you try to build?


I will put some suggestions in Red. I'm a newbie, too so can't say if it will work. If you want to post your project file / PM me with it, I can probably better help if these suggestions don't work...

This is just for the AlgebraViewController header and implementation files, let me know if that helps at all, if not I will look at the LogarithmsViewController, too. Also, put some simple NSLog's in so you can see what event it is crashing on (check the debugging Console to see your messages.... I put these in blue for you to try.

If you're still crashing, copy and paste your console output here so I can better see where it is crashing.


Quote:
Originally Posted by kiambogo View Post
Okay, thanks. I am new so, again, I am not completely sure how things work around here.

So again, I have AlgebraView and I want to press a button and make it go to LogarithmsView.

Under AlgebraViewController.h

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




@interface AlgebraViewController : UIViewController {
	IBOutlet UIButton *logarithmsButton;
	IBOutlet LogarithmsViewController *logarithmsViewController;

}

@property (nonatomic, retain) IBOutlet UIButton *logarithmsButton;


- (IBAction)goToLogarithmsView:(id)sender;

@end
Under AlgebraViewController.m

Code:
#import "AlgebraViewController.h"
#import "LogarithmsViewController.h"





@implementation AlgebraViewController;
@synthesize logarithmsButton;

- (IBAction)goToLogarithmsView:(id)sender{
NSLog(@"goToLogarithmsView Entered");
	[self presentModalViewController:logarithmsViewController animated:NO];
NSLog(@"goToLogarithmsView Leaving");
}
- (void)didReceiveMemoryWarning {
	
    [super didReceiveMemoryWarning];
	
}
- (void)viewDidUnload {

}
- (void)viewDidLoad {
NSLog(@"View Did Load Called");
}

- (void)dealloc {
	[logarithmsButton release];
    [super dealloc];
}


@end
Under LogarithmsViewController.h

Code:
#import <UIKit/UIKit.h>


@interface LogarithmsViewController : UIViewController {
}

-(IBAction)goBackToFirst;
@end
Under LogarithmsViewController.m
Code:
#import "LogarithmsViewController.h"


@implementation LogarithmsViewController
- (IBAction)goBackToFirst {
	[self dismissModalViewControllerAnimated:NO];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}

- (void)viewDidUnload {
}
- (void)dealloc {
    [super dealloc];
}


@end
I don't have any code in my delegate files for the button or switch. With this current code, I can load my app, but if press a button (toolbar) to go to AlgebraView, it crashes. However, if i open AlgebraView.xib, and then select the button and make it NOT the LogarithmsButton, then it loads fine, but pressing the button does nothing.

Thanks,
kiambogo
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 08-20-2009, 08:13 PM   #9 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Hey,

Well, I have included what you suggested. It did not work. Included is a copy of the console when I run the app. You will notice that it says "Unknown class SwitchViewController in Interface Builder file." I think that this is the problem, but you are the expert to decide that, not me

Console:

Code:
kill
quit

The Debugger has exited with status 0.
[Session started at 2009-08-20 21:08:59 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 245.
2009-08-20 21:09:02.580 Math Tools[245:20b] Unknown class SwitchViewController in Interface Builder file.
2009-08-20 21:11:44.972 Math Tools[245:20b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0xd1af10> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key logarithmsButton.'
2009-08-20 21:11:44.973 Math Tools[245:20b] Stack: (
    807902715,
    2417475131,
    808061681,
    810717848,
    810716389,
    816538544,
    807805711,
    816533170,
    816541363,
    815230552,
    815224116,
    815223834,
    815274694,
    815269866,
    815277278,
    815276638,
    814709201,
    816561977,
    814709201,
    815110321,
    815119058,
    815110248,
    814709201,
    815110321,
    815119058,
    815114270,
    814813151,
    814722763,
    814748641,
    839148405,
    807687520,
    807683624,
    839142449,
    839142646,
    814752238,
    9316,
    9170
)
(gdb)
I put it in "code" format. I think that this is just a stupid mistake that I have made, but if you could help me at all, that would be appreciated.

Thanks,
kiambogo
kiambogo is offline   Reply With Quote
Old 08-20-2009, 08:18 PM   #10 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Hmm, maybe something iffy with your connections.

I'll PM you my email address, you can send me your project if you like

(make a copy of your project folder, delete everything in the Build folder, then turn it into a zip to make it really small file size)

Quote:
Originally Posted by kiambogo View Post
Hey,

Well, I have included what you suggested. It did not work. Included is a copy of the console when I run the app. You will notice that it says "Unknown class SwitchViewController in Interface Builder file." I think that this is the problem, but you are the expert to decide that, not me

Console:

Code:
kill
quit

The Debugger has exited with status 0.
[Session started at 2009-08-20 21:08:59 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 245.
2009-08-20 21:09:02.580 Math Tools[245:20b] Unknown class SwitchViewController in Interface Builder file.
2009-08-20 21:11:44.972 Math Tools[245:20b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0xd1af10> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key logarithmsButton.'
2009-08-20 21:11:44.973 Math Tools[245:20b] Stack: (
    807902715,
    2417475131,
    808061681,
    810717848,
    810716389,
    816538544,
    807805711,
    816533170,
    816541363,
    815230552,
    815224116,
    815223834,
    815274694,
    815269866,
    815277278,
    815276638,
    814709201,
    816561977,
    814709201,
    815110321,
    815119058,
    815110248,
    814709201,
    815110321,
    815119058,
    815114270,
    814813151,
    814722763,
    814748641,
    839148405,
    807687520,
    807683624,
    839142449,
    839142646,
    814752238,
    9316,
    9170
)
(gdb)
I put it in "code" format. I think that this is just a stupid mistake that I have made, but if you could help me at all, that would be appreciated.

Thanks,
kiambogo
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 08-20-2009, 08:32 PM   #11 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Hey,

Okay, I solved my this problem. For some reason my AlgebraViewController was set to SwitchViewController. Thanks for the tip about console, I never knew about it, but it's great! So now the page loads fine, but the problem is, that when I push the button, LogarithmsView still does not load. Here is the console.

Code:
[Session started at 2009-08-20 21:27:05 -0400.]
2009-08-20 21:27:10.336 Math Tools[564:20b] View Did Load Called
2009-08-20 21:27:13.741 Math Tools[564:20b] goToLogarithmsView Entered
2009-08-20 21:27:13.743 Math Tools[564:20b] Application tried to present a nil modal view controller on target <AlgebraViewController: 0xd18d20>.
2009-08-20 21:27:13.744 Math Tools[564:20b] goToLogarithmsView Leaving
2009-08-20 21:27:28.821 Math Tools[564:20b] goToLogarithmsView Entered
2009-08-20 21:27:28.822 Math Tools[564:20b] Application tried to present a nil modal view controller on target <AlgebraViewController: 0xd18d20>.
2009-08-20 21:27:28.824 Math Tools[564:20b] goToLogarithmsView Leaving
I think there is a problem with the code of the transition, but I'm not sure. Thanks so much for everything so far...I would be lost without you!

Thanks,
kiambogo
kiambogo is offline   Reply With Quote
Old 08-20-2009, 08:45 PM   #12 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Cool. Logging stuff will help solve most all of your problems. Try to always implement the "Entering" and "Leaving" logs throughout all of your functions when you get stuck. It will make the program a bit heavy, so remove them / comment them out when you dont need them (my personal iPhone dev mentor blogs about them here:
Code:
http://clingingtoideas.blogspot.com/2009/08/it-nslog-nslog.html
)

The error you have now is very likely due to a broken connection in IB. Check all your connections are pointing to the right places.

I'll need to see a project file to help you any more with that error as I'm not so fluent with Xcode yet (only a couple of months experience yet)

Quote:
Originally Posted by kiambogo View Post
Hey,

Okay, I solved my this problem. For some reason my AlgebraViewController was set to SwitchViewController. Thanks for the tip about console, I never knew about it, but it's great! So now the page loads fine, but the problem is, that when I push the button, LogarithmsView still does not load. Here is the console.

Code:
[Session started at 2009-08-20 21:27:05 -0400.]
2009-08-20 21:27:10.336 Math Tools[564:20b] View Did Load Called
2009-08-20 21:27:13.741 Math Tools[564:20b] goToLogarithmsView Entered
2009-08-20 21:27:13.743 Math Tools[564:20b] Application tried to present a nil modal view controller on target <AlgebraViewController: 0xd18d20>.
2009-08-20 21:27:13.744 Math Tools[564:20b] goToLogarithmsView Leaving
2009-08-20 21:27:28.821 Math Tools[564:20b] goToLogarithmsView Entered
2009-08-20 21:27:28.822 Math Tools[564:20b] Application tried to present a nil modal view controller on target <AlgebraViewController: 0xd18d20>.
2009-08-20 21:27:28.824 Math Tools[564:20b] goToLogarithmsView Leaving
I think there is a problem with the code of the transition, but I'm not sure. Thanks so much for everything so far...I would be lost without you!

Thanks,
kiambogo
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 08-20-2009, 08:53 PM   #13 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Hey,

Thanks for the fast responses, I really appreciate that. Is it alright if I send you the project file? And would you just need the .project file or whatever it is called? And where do I send it to. I'm a little hesitant to post it here as I hope to publish this to the App Store sometime in the far future.

Thanks,
kiambogo
kiambogo is offline   Reply With Quote
Old 08-20-2009, 08:58 PM   #14 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 59
iphonatic is on a distinguished road
Default

Check above post:

Quote:
I'll PM you my email address, you can send me your project if you like

(make a copy of your project folder, delete everything in the Build folder, then turn it into a zip to make it really small file size)
I'll need to see the whole folder, but the contents of the build folder can and should be deleted as they store sometimes a lot of cache data which isn't needed when running the app somewhere else.

ie, my current app is like 40kb when I remove the build folder's contents, if I don't, it's about 2MB for a simple app!

Quote:
Originally Posted by kiambogo View Post
Hey,

Thanks for the fast responses, I really appreciate that. Is it alright if I send you the project file? And would you just need the .project file or whatever it is called? And where do I send it to. I'm a little hesitant to post it here as I hope to publish this to the App Store sometime in the far future.

Thanks,
kiambogo
__________________
"The attraction of knowledge would be small if one did not have to overcome so much shame on the way" - iNietzsche iPhone App
iphonatic is offline   Reply With Quote
Old 09-04-2009, 10:32 PM   #15 (permalink)
Registered Member
 
Join Date: Feb 2009
Posts: 35
scburns123 is on a distinguished road
Default

Were either of you able to find out why the SecondViewController (LogarithmsView) was not loading when the button was pressed?

I seem to be running into the same issue that here seems to be some disconnect in that the second view is not loading when the button is pressed. The application does not crash, it just does not load at all like its not connected properly in IB, however my connections appear to be correct.

I went through and verified the code listed in MaXiMuM post at the beginning of the thread is the same as what I have in my project.

Any suggestions?

Thanks!
scburns123 is offline   Reply With Quote
Old 09-15-2009, 11:19 AM   #16 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Kijabe, Kenya | Stoney Creek, Hamilton
Age: 19
Posts: 30
kiambogo is on a distinguished road
Default

Quote:
Originally Posted by scburns123 View Post
Were either of you able to find out why the SecondViewController (LogarithmsView) was not loading when the button was pressed?

I seem to be running into the same issue that here seems to be some disconnect in that the second view is not loading when the button is pressed. The application does not crash, it just does not load at all like its not connected properly in IB, however my connections appear to be correct.

I went through and verified the code listed in MaXiMuM post at the beginning of the thread is the same as what I have in my project.

Any suggestions?

Thanks!
Hey,

First of all, are you running a Window based app or a View based app? I switched to a View based and had no problems, I am not sure what to do about a Window based. My code for the transition between the views is here:
Code:
-(IBAction)goTo******View:(id)sender {
	[UIView beginAnimations:nil context:nil];
	[UIView setAnimationDuration:1.0];
	[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:[self view] cache:YES];
	[[self view] addSubview:*******View];
	[UIView commitAnimations];
}
Replace the ** with your view name that you want to go to. This will give a nice curl down animation. Change the duration to whatever you would like.

Hope this helps.

kiambogo
kiambogo is offline   Reply With Quote
Old 12-11-2009, 04:15 PM   #17 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 2
notnathan is on a distinguished road
Default please help total noob

I am just trying to get a simple 2 view application to work. I tried to use the code from above.

ClockViewController.h
Code:
#import <UIKit/UIKit.h>
#import "SecondViewController.h"

@interface ClockViewController : UIViewController {
	IBOutlet SecondViewController *secondView;
}

-(IBAction)goToSecondView;

@end
ClockViewController.m
Code:
#import "ClockViewController.h"

@implementation ClockViewController

-(IBAction)goToSecondView{
	NSLog(@"Entering go to second");
	[self presentModalViewController:secondView animated:NO];
}

- (void)viewDidLoad {
		NSLog(@"Entering first view did load");
    [super viewDidLoad];
}
SecondViewController.h

Code:
#import <UIKit/UIKit.h>


@interface SecondViewController : UIViewController {

}

-(IBAction)goBackToFirst;

@end
SecondViewController.m
Code:
#import "SecondViewController.h"


@implementation SecondViewController

-(IBAction)goBackToFirst{
	NSLog(@"Entering go back to first");
	[self dismissModalViewControllerAnimated:NO];
}

- (void)viewDidLoad {
		NSLog(@"Entering second view did load");
    [super viewDidLoad];
}

I get this in the log, and nothing changes on the screen.
Code:
2009-12-11 14:12:13.271 Clock[68071:20b] Entering first view did load
2009-12-11 14:12:20.959 Clock[68071:20b] Entering go to second
2009-12-11 14:12:20.960 Clock[68071:20b] Application tried to present a nil modal view controller on target <ClockViewController: 0x3d21280>.
notnathan is offline   Reply With Quote
Old 12-11-2009, 05:51 PM   #18 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
jsd is on a distinguished road
Default

You haven't connected a SecondViewController to the secondView IBOutlet in Interface Builder.
jsd is offline   Reply With Quote
Old 12-11-2009, 07:02 PM   #19 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 2
notnathan is on a distinguished road
Default

Quote:
Originally Posted by jsd View Post
You haven't connected a SecondViewController to the secondView IBOutlet in Interface Builder.
Thank You!!! I knew I was missing something.
notnathan is offline   Reply With Quote
Old 03-26-2010, 06:38 PM   #20 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 1
tamarasaurus is on a distinguished road
Default

Quote:
Originally Posted by notnathan View Post
Thank You!!! I knew I was missing something.
Hi, I'm having the same problem, but I can't figure out how to connect the secondView outlet to the SecondViewController in interface builder. How did you do it?
tamarasaurus 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: 333
9 members and 324 guests
chiataytuday, coolman, givensur, ipodphone, jbro, mtl_tech_guy, Punkjumper, vilisei, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,881
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:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0