I think this requires a complete rewrite.
I've moved to cocos2d-x so I won't help with obj-c, but when I'm done with my version I will send a link.
table view
(124 posts) (50 voices)-
Posted 4 months ago #
-
First thanks for great code. The example with the corrections works great for me. When I move it to my project where I have no XIB file then the identical SWMultiColumnTableViewTest class inserted as first scene shows only the middle cell of the sample table. You can scroll on the invisible cells but the visible area is clipped to the middle cell only. Interestingly enough, it behaves this way only in Simulator, on the iOS4.x device it shows completely blank screen. Any hints how to set the clipping area properly?
Posted 3 months ago # -
I can't compile CCTableView with cocos2d version 1.0.1.
ld: symbol(s) not found for architecture i386
Any tips?
Posted 2 months ago # -
I have problem with using the SWScrollView. I put a sprite on in my scroll view and specify the view size but the sprite is shown in full size instead of the specified scroll view's size. The scroll view's size is correct because I can only scroll only in the view size area but the sprite seems to overflow to cover the whole surface size.
CCSprite *background = [CCSprite spriteWithFile:@"img1.png"];
background.position = ccp(0.0f, 0.0f);
background.anchorPoint = ccp(0,0);scrollView = [SWScrollView viewWithViewSize:CGSizeMake(200, 200)];
CCSprite *sprite = [CCSprite spriteWithFile:@"img2.png"];
sprite.position = ccp(0.0f, 0.0f);
scrollView.contentSize = sprite.contentSize;
[scrollView addChild:sprite];[self addChild:background ];
[self addChild:scrollView];Is there any property that should be set that I missed? Thanks a lot for any help!
Posted 1 month ago #
Reply
You must log in to post.