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 Tutorials > Tutorial Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 02-24-2011, 07:37 AM   #51 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 37
sunnyli is on a distinguished road
Default

Nice code, does anyone know how you would center the puzzle in the middle of the view?
sunnyli is offline   Reply With Quote
Old 03-09-2011, 05:33 AM   #52 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 97
hodgey87 is on a distinguished road
Default

Quote:
Originally Posted by sunnyli View Post
Nice code, does anyone know how you would center the puzzle in the middle of the view?
Hi,

Im trying to implement a menu on this slider puzzle, but not having any luck. Ive added in the appdelegate:

Code:
self.mainMenuViewController = [[MainMenuViewController alloc] init]; 
	[window addSubview:mainMenuViewController.view];
    [window makeKeyAndVisible];
To load the main menu
And in the main menu:

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


@interface MainMenuViewController : UIViewController {
	IBOutlet UIButton *start;
}
@property (retain, nonatomic) UIButton *start;
- (IBAction)buttonPressed;

@end
Code:
@implementation MainMenuViewController
@synthesize start;

- (IBAction)buttonPressed{
	SliderController *gameview = [[SliderController alloc] initWithNibName:nil bundle:nil];
	gameview.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
	[self presentModalViewController:gameview animated:YES];
	
}
But it just crashes, the debugger says the error is on:

Code:
SliderController *gameview = [[SliderController alloc] initWithNibName:nil bundle:nil];
Any help at all?
hodgey87 is offline   Reply With Quote
Old 09-05-2011, 02:43 AM   #53 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 3
anandh.kdm@gmail.com is on a distinguished road
Default codes

please send the source code to me at [email]anandh.kdm@gmail.com
anandh.kdm@gmail.com is offline   Reply With Quote
Old 09-17-2011, 04:52 PM   #54 (permalink)
Registered Member
 
bluebeardit's Avatar
 
Join Date: May 2011
Posts: 108
bluebeardit is on a distinguished road
Default

Quote:
Originally Posted by anandh.kdm@gmail.com View Post
please send the source code to me at [email]anandh.kdm@gmail.com
In the previous page someone posted a working link for it....
link is: SliderPuzzleDemo.zip

Enjoy!
Massy
bluebeardit is offline   Reply With Quote
Old 11-10-2011, 04:27 PM   #55 (permalink)
Registered Member
 
aceiswild's Avatar
 
Join Date: Oct 2011
Location: Canada
Posts: 62
aceiswild is on a distinguished road
Default

Hey Does anybody get a EXC BAD ACCESS error when trying to slide a piece up or down??

Thanks,
Steve!
aceiswild is offline   Reply With Quote
Old 11-13-2011, 12:34 PM   #56 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 633
ilmman is on a distinguished road
Default

Yes all the time but I fixed it but rearing the f.r
ilmman is offline   Reply With Quote
Old 11-14-2011, 01:36 AM   #57 (permalink)
Registered Member
 
aceiswild's Avatar
 
Join Date: Oct 2011
Location: Canada
Posts: 62
aceiswild is on a distinguished road
Default

Quote:
Originally Posted by ilmman View Post
Yes all the time but I fixed it but rearing the f.r

Hi ilmman sorry I should know this but what do you mean by F.R? I know its throwing throwing some kind of expectation. Any details will be helpful

Thanks
Steve

I noticed running it in xcode 4.2 and ios5 it has errors as well

Last edited by aceiswild; 11-14-2011 at 12:28 PM.
aceiswild is offline   Reply With Quote
Old 01-03-2012, 03:23 PM   #58 (permalink)
Registered Member
 
Join Date: Dec 2011
Age: 14
Posts: 23
14DEV is on a distinguished road
Default source code

Quote:
Originally Posted by msellers77 View Post
I have the slider puzzle source if any one is interested. Just PM me and I will share it.
Can I have the code please!!!!!
14DEV 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
» Stats
Members: 175,696
Threads: 94,138
Posts: 402,957
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

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