You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed this issue playing with one of the subclasses I made, and the issue I have does in fact affect to every single subclass of PSTableCell <PSHeaderFooterView>. I've tried on my tweak, on Sonify, and even on Cephei Demo. I've detailed the issue here.
The issue is, when "reloading" the subclass, it disappears, and is in fact unlinked from its superview (its superview becomes nil). It's easily reproducible by calling beginUpdates then endUpdates on the table view containing the cell. It's solved by itself by scrolling out of the concerned PSGroupCell and back in, and my first guess is that it could be a view recycling-related issue.
I was not able to find any answer somewhere as it seems that nobody has ever encountered this issue, but it does exist.
I know it's not directly related to Cephei but some Cephei classes are affected (HBPackageNameHeaderCell & HBImageTableCell) and maybe we could work together on integrating a fix here to create sort of: PSTableCell <PSHeaderFooterView> > HBFixedHeaderFooterCell > {HBPackageNameHeaderCell, HBImageTableCell, MyCustomSubclass...}
What do you think?
The text was updated successfully, but these errors were encountered:
I've noticed this issue playing with one of the subclasses I made, and the issue I have does in fact affect to every single subclass of
PSTableCell <PSHeaderFooterView>
. I've tried on my tweak, on Sonify, and even on Cephei Demo. I've detailed the issue here.The issue is, when "reloading" the subclass, it disappears, and is in fact unlinked from its superview (its superview becomes
nil
). It's easily reproducible by callingbeginUpdates
thenendUpdates
on the table view containing the cell. It's solved by itself by scrolling out of the concernedPSGroupCell
and back in, and my first guess is that it could be a view recycling-related issue.I was not able to find any answer somewhere as it seems that nobody has ever encountered this issue, but it does exist.
I know it's not directly related to Cephei but some Cephei classes are affected (
HBPackageNameHeaderCell
&HBImageTableCell
) and maybe we could work together on integrating a fix here to create sort of:PSTableCell <PSHeaderFooterView>
>HBFixedHeaderFooterCell
> {HBPackageNameHeaderCell
,HBImageTableCell
,MyCustomSubclass
...}What do you think?
The text was updated successfully, but these errors were encountered: