๊ธ€ ์ž‘์„ฑ์ž: ๊ฐœ๋ฐœํ•˜๋Š” ํ›ˆ์ด

2022.01.05 ์˜ค๋Š˜์˜ ๋ฐฐ์›€

์˜ค๋Š˜ ํ•œ ์ผ.

  • ํœด์‹์„ ์ฆ๊ธฐ๊ธฐ
  • ๊ฐ€๋ณ๊ฒŒ ๋ฏธ๋””์—„ ๊ธ€ ์ฝ๊ธฐ
 

Open Nuts and Bolts of Memory Management in iOS : Swift Part 2

Continuing part 1, we have few more things to bath into. I recommend you to read Part 1 first if you haven’t, so that you can get full…

varun04tomar.medium.com

 

Open Nuts and Bolts of Memory Management in iOS : Swift Part 1

Memory management is one of the crucial part in any development. Infect mobile devices needs more focus on this area. We are going to…

varun04tomar.medium.com

์˜ค๋Š˜ ์ƒˆ๋กœ ๋ฐœ๊ฒฌํ•œ ๊ฒƒ.

  • weak์ด๋ž‘ unowned ๋ž‘ ๋ฉ”๋ชจ๋ฆฌ ๋ ˆ๋ฒจ๊นŒ์ง€ ๊ฐ€๋ฉด ์™„์ „ ๋‹ค๋ฅด๋‹ค.. ๊ทธ๋ƒฅ nil ๋˜๊ณ  ์•ˆ๋˜๊ณ ์˜ ์ฐจ์ธ์ค„..

์˜ค๋Š˜ ๋Š๋‚€ ๊ฒƒ.

  • ์ž‘๋…„๋ถ€ํ„ฐ ๋ฏธ๋””์—„์„ ์ •๊ธฐ๊ฒฐ์ œํ•˜๊ณ  ์žˆ๋Š”๋ฐ ์ž˜ํ•œ ์„ ํƒ์ธ ๊ฒƒ ๊ฐ™๋‹ค. ์ข‹์€ ๊ธ€์ด ์ง„์งœ ๋งŽ์€๋“ฏ..
  • ์˜›๋‚ ์— ์นœ๊ตฌ๊ฐ€ ์ง€์› ๋งˆ๊ฐ์ผ ์ „์— ๊ณต๊ณ ๊ฐ€ ์‚ฌ๋ผ์ ธ์„œ ํšŒ์‚ฌ์— ์ฐพ์•„๊ฐ€์„œ ์„œ๋ฅ˜๋ฅผ ๋‚ธ ์Šคํ† ๋ฆฌ๋ฅผ ๋“ค์€ ์ ์ด ์žˆ๋‹ค. ๊ฒฐ๊ตญ ๊ทธ ํšŒ์‚ฌ์— ์ทจ์งํ•ด์„œ ์•„์ฃผ ์ž˜ ์ง€๋‚ด๊ณ  ์žˆ๋Š”๋ฐ, ์—ญ์‹œ ์•„๋ฆฌ๊นŒ๋ฆฌํ•˜๋ฉด ๊ทธ๋ƒฅ ์งˆ๋Ÿฌ์•ผ๋œ๋‹ค. ์—ฐ๋ฝ์ด ์—†๊ธธ๋ž˜ ์„œํƒˆ์ธ์ค„ ์•Œ์•˜๋Š”๋ฐ ๊ทธ๋ƒฅ ํšŒ์‹ ์ด ๋ˆ„๋ฝ๋œ ๊ฒƒ์ด์—ˆ๋‹ค.. ๋ฉ”์ผ ๋ณด๋‚ด๋ณด๊ธธ ์ž˜ํ—€๋‹ค..

๋‚ด์ผ์˜ ๊ณ„ํš.

  • ๋‚ด์ผ๋ถ€ํ„ฐ๋Š” ios๊ณต๋ถ€ ๋‹ค์‹œํ•˜๊ธฐ

์˜ค๋Š˜์˜ ๊ฐ์‚ฌ.

  • ํ‘น ์‰ฌ๋ฉด์„œ ํšŒ๋ณตํ•  ์ˆ˜ ์žˆ๋Š” ์‹œ๊ฐ„์„ ์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ๊ทธ๋ฆฌ๊ณ  ๋ฉ”์ผ ๋ณด๋‚ด๋ณผ ์ˆ˜ ์žˆ๋Š” ์šฉ๊ธฐ๋„ ์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ด์š”~!