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 04-13-2011, 04:43 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 54
bebus77 is on a distinguished road
Default SIGABRT in switching xib

hi everyone,

I was able to switch xibs simply using this code since yesterday evening:
Code:
GameView *gm = [[GameView alloc] initWithNibName:@"GameView" bundle:nil];
[self presentModalViewController:gm withAnimatedTransition:UIViewControllerAnimationTransitionPushFromRight];
Today I continued working on my project but when I call the method, the app crashes and I get a SIGABRT error

Please help with any suggestion,
Thanks.
bebus77 is offline   Reply With Quote
Old 04-13-2011, 06:40 AM   #2 (permalink)
Is this a peanut, doctor?
 
Join Date: Apr 2011
Location: Copenhagen
Posts: 254
teCma is on a distinguished road
Default

Crash is not a term in the programming world. We are no mind readers... Show your error log message? Try restarting xcode and resetting your iOS device.
teCma is offline   Reply With Quote
Old 04-13-2011, 10:22 AM   #3 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

Check your connections in Interface Builder, you probably have some bad ones in the nib.
baja_yu is offline   Reply With Quote
Old 04-13-2011, 11:29 AM   #4 (permalink)
Is this a peanut, doctor?
 
Join Date: Apr 2011
Location: Copenhagen
Posts: 254
teCma is on a distinguished road
Default

Quote:
Originally Posted by baja_yu View Post
Check your connections in Interface Builder, you probably have some bad ones in the nib.
Well if it was working, and stopped working without him doing anything? Sounds un logic to me. But allrite, ur like 1000x better programmer than me
teCma is offline   Reply With Quote
Old 04-13-2011, 11:34 AM   #5 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

That's all fine if you asume that people are rational and logical.
baja_yu is offline   Reply With Quote
Old 04-13-2011, 12:53 PM   #6 (permalink)
Is this a peanut, doctor?
 
Join Date: Apr 2011
Location: Copenhagen
Posts: 254
teCma is on a distinguished road
Default

Quote:
Originally Posted by baja_yu View Post
That's all fine if you asume that people are rational and logical.
lol'd
teCma is offline   Reply With Quote
Old 06-09-2011, 12:07 PM   #7 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 1
jaidiver is on a distinguished road
Default

Quote:
Originally Posted by bebus77 View Post
hi everyone,

I was able to switch xibs simply using this code since yesterday evening:
Code:
GameView *gm = [[GameView alloc] initWithNibName:@"GameView" bundle:nil];
[self presentModalViewController:gm withAnimatedTransition:UIViewControllerAnimationTransitionPushFromRight];
Today I continued working on my project but when I call the method, the app crashes and I get a SIGABRT error

Please help with any suggestion,
Thanks.
Hi

I was getting the same problem, but I changed the parameter initWithNibName, I put "nil" and the error disappeared.

The code is:
____________________________________________

vistas2 *vis2 = [[vistas2 alloc] initWithNibName:nil bundle:nil];
[self presentModalViewController:vis2 animated:YES];
[vis2 release];
____________________________________________

Bye
jaidiver is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone sdk, sigabrt, xib

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: 365
12 members and 353 guests
dansparrow, dre, ilmman, LezB44, Nobbsy, Objective Zero, oztemel, samdanielblr, shagor012, sledzeppelin, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,119
Posts: 402,896
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

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