Sha256: 33353e27b55a85548edf6bf5ef18245540289cc32c4a98499e2de74ea23abb9a
Contents?: true
Size: 650 Bytes
Versions: 5
Compression:
Stored size: 650 Bytes
Contents
class MemoryLeakController < UIViewController DidDeallocNotification = 'DidDeallocNotification' stylesheet :memory_leak layout do puts("=============== memory_leak_controller.rb line #{__LINE__} ===============") subview(UIView, :view) do puts("=============== memory_leak_controller.rb line #{__LINE__} ===============") subview(UIView) end end def dealloc NSNotificationCenter.defaultCenter.postNotificationName(DidDeallocNotification, object:self) super end end Teacup::Stylesheet.new :memory_leak do style :view, frame: [[10, 10], [100, 100]], backgroundColor: UIColor.whiteColor end
Version data entries
5 entries across 5 versions & 1 rubygems