I'm creating my own custom UITableViewCell
to use as the backend of a prototype cell. In my class I override the initwithstyle:reuseIdentifier:
method to do some custom initialization, but my initializer is not called. I have a break point on the first line inside of it, as well as a break point on dequeueResusableCellWithIdentifier:
. The dequeueResusableCellWithIdentifier:
method is called, and it returns a initilized cell, but the break point in initwithstyle:reuseIdentifier:
is not reached. Any help would be great.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…