IOS/iOS

[iOS]Memory Leak cases example in Swift

 그동안 개발을 하면서 iOS의 메모리 릭 이슈에 대해서 많은 글과 예제를 보았습니다.
보통 글들은 애플의 공식문서를 설명하거나 특정강의 사이트 영상을 보고 설명하는 글이 대부분 이였습니다. 해서 머릿속으로 서로에 대해서 강한참조가 발생한다고 인지 하고있었습니다.  또한 iOS개발자들 사이에서 유명한 블로그글도 보았는데 어떤케이스인지? 명확하게 다가오지 않아서 좀더 검색을 해서 예제를 좀 정확히 제시해주는? 블로그를 찾아 저같이 찾는 분이 계실까 해서 공유합니다. 

1. You don't need Always [weak self] 원문

https://shoveller.tistory.com/entry/You-don%E2%80%99t-always-need-weak-self-%ED%95%B4%EC%84%9D

 

You don’t (always) need [weak self] (해석)

You don't (always) need [weak self] - Flawless iOS - Medium You don’t (always) need [weak self] We will talk about weak self inside of Swift closures to avoid retain cycles & explore cases where it..

shoveller.tistory.com

2. You don't need Always [weak self] 한글해석

https://shoveller.tistory.com/entry/You-don%E2%80%99t-always-need-weak-self-%ED%95%B4%EC%84%9D

 

You don’t (always) need [weak self] (해석)

You don't (always) need [weak self] - Flawless iOS - Medium You don’t (always) need [weak self] We will talk about weak self inside of Swift closures to avoid retain cycles & explore cases where it..

shoveller.tistory.com

3. iOS Memory Leak Cases 

https://stremsdoerfer.medium.com/understanding-memory-leaks-in-closures-48207214cba

 

Understanding memory leaks in closures

Ahh memory leaks… At first you don’t even know they can exist, then you ignore them, and then you start seeing them everywhere without…

stremsdoerfer.medium.com