Skip to content

ch06 -TableViewPerformance - drawInRect method slows down scrolling #18

Open
@blondyn

Description

@blondyn

In CustomDrawnCell.m method
[_thumbnail drawInRect:CGRectMake(12, 4, 35, 35)];

slows down scrolling drastically(debugged with CoreAnimation instrument). Framerate can drop to 8fps

Is that because of iOS6.png image is too big? Or custom drawing with CG is not so fast anymore?

Tested both on 4S and 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions