Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

StoryBoard #132

Closed
MrReN opened this issue Dec 3, 2014 · 1 comment
Closed

StoryBoard #132

MrReN opened this issue Dec 3, 2014 · 1 comment

Comments

@MrReN
Copy link

MrReN commented Dec 3, 2014

Please add

 -(id)initWithCoder:(NSCoder *)aDecoder{
    if (!(self = [super initWithCoder:aDecoder]))
        return nil;

    _rangeController = [[ASRangeController alloc] init];
    _rangeController.delegate = self;

    return self;
}

because the code doesn't suppose storyboard,isn't it?

@secretiverhyme
Copy link
Contributor

Storyboards are a useful prototyping tool, but they're bad for performance — especially when paired with Auto Layout — and they add substantial long-term debugging and development costs. AsyncDisplayKit intentionally doesn't support them. (You could make ASTableView work with Interface Builder by implementing -initWithCoder:, but you'd still have to create and configure its cell nodes in code.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants