NimbleKit - fast iOS app development

Combining vertical and horizontal carousels ... not working

Ask questions and share your skills here

Combining vertical and horizontal carousels ... not working

Postby DaveyJJ » Tue Feb 07, 2012 4:29 pm

OK, I found an example the perfect carousel I need in the newest Sencha Touch (2) beta ... http://cdn.sencha.io/touch/sencha-touch-2-b1.zip

The "Carousel" example in the Examples folder shows a single, (roughly) iPad-sized image that can be horizontally scrolled to move through one category of pics, and vertical scrolled to move through to the different categories of pictures. Think of it as scrolling horizontally through a gallery of related pictures, and scrolling vertically from gallery to gallery.

Further, it "remembers" your position in each gallery; for example, if you're in category two viewing pic 5, then slide down to category three and flip a few pics in to pic 3, then slide back up to category two, it shows picture 5 (where you left off).

Anyway, I started a new Nimblekit app in Xcode and got all of the carousel files in from the Sencha Touch carousel demo and the thing does not work at all. Blank white screen (though compiles fine).

Has anyone created a Nimblekit Xcode project and imported these files and got it working? Anyone? Does anyone have any idea what I might be doing wrong????

Many, many thanks.
"In ancient times cats were worshipped as gods; they have not forgotten this."
"I love cats because I enjoy my home; and little by little, they become its visible soul."
"Cats don't need names ... we know who we are."
User avatar
DaveyJJ
 
Posts: 13
Joined: Thu Dec 23, 2010 9:29 pm

Re: Combining vertical and horizontal carousels ... not work

Postby ryubr » Tue Feb 07, 2012 5:00 pm

This looks like the standard error caused by importing JS into xCode that think that code can be compiled. This post give you an insight on how to prevent that :-)

viewtopic.php?f=5&t=2805&hilit=here+how+to+fix
ryubr
NimbleKit Expert
 
Posts: 445
Joined: Fri Jun 19, 2009 5:36 am

Re: Combining vertical and horizontal carousels ... not work

Postby DaveyJJ » Tue Feb 07, 2012 5:35 pm

ryubr wrote:This looks like the standard error caused by importing JS into xCode that think that code can be compiled. This post give you an insight on how to prevent that :-)

viewtopic.php?f=5&t=2805&hilit=here+how+to+fix


Ah, might be. Thanks, I'll retry and let you know.
"In ancient times cats were worshipped as gods; they have not forgotten this."
"I love cats because I enjoy my home; and little by little, they become its visible soul."
"Cats don't need names ... we know who we are."
User avatar
DaveyJJ
 
Posts: 13
Joined: Thu Dec 23, 2010 9:29 pm

Re: Combining vertical and horizontal carousels ... not work

Postby DaveyJJ » Tue Feb 07, 2012 6:35 pm

Solved! That was indeed, it, ryubr, thanks very much.
"In ancient times cats were worshipped as gods; they have not forgotten this."
"I love cats because I enjoy my home; and little by little, they become its visible soul."
"Cats don't need names ... we know who we are."
User avatar
DaveyJJ
 
Posts: 13
Joined: Thu Dec 23, 2010 9:29 pm

Re: Combining vertical and horizontal carousels ... not work

Postby ryubr » Tue Feb 07, 2012 7:36 pm

Great :-)
ryubr
NimbleKit Expert
 
Posts: 445
Joined: Fri Jun 19, 2009 5:36 am


Return to How To...

Who is online

Users browsing this forum: No registered users and 1 guest