I'm trying to build a scrolling table of game center scores in an SKScene. Is there a way to use sprite kit and storyboards/xibs? [self addChild:customTable]
on an SKScene doesn't seem to work.
Asked
Active
Viewed 2,066 times
3

Evan Ward
- 1,371
- 2
- 11
- 23
1 Answers
3
UIKit elements like UITableView
, UIView
, etc cannot be used as children of SpriteKit nodes. You can place a UITableView
on top of a SKView
/UIView
but that comes out as crude. I would suggest you use a normal UIViewController
to display your Game Center scores.
However, if you still need to display the scores using SpriteKit, there is a component called ScrollNode which might do the trick. You can find it here.

ZeMoon
- 20,054
- 5
- 57
- 98
-
That link gets a 404, btw. – zeeple Sep 09 '14 at 04:10
-
@user1639164 the component never worked properly, so the author must have deleted it. – ZeMoon Sep 09 '14 at 05:06