Skip to content

NSObject对象调用Dealloc时回调,做一些清理工作,填坑的好帮手

Notifications You must be signed in to change notification settings

tailangjun/TLJDeallocExecutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TLJDeallocExecutor

NSObject对象调用Dealloc时回调,主要应用场景有

  • 自定义观察者模式中清理weakObserver
  • 系统延迟执行导致的crash,相关的类:NSObject
  • 系统定时器导致的内存泄露,相关的类:NSTimer

About

NSObject对象调用Dealloc时回调,做一些清理工作,填坑的好帮手

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published