Commit 6747fb27 authored by PhoeniX's avatar PhoeniX

Sublayers cleanup refactoring

parent c93eefe5
......@@ -164,7 +164,7 @@
if (self.loadOperation) {[self.loadOperation cancel];self.loadOperation = nil;}
if (self.parseOperation) {[self.parseOperation cancel];self.parseOperation = nil;}
if (self.layerOperation) {[self.layerOperation cancel];self.layerOperation = nil;}
while (self.sublayers.count) [self.sublayers.firstObject removeFromSuperlayer];
for (CALayer *l in [self.sublayers copy]) [l removeFromSuperlayer];
self.contentRect = CGRectZero;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment