
Is it necessary to use [unowned self] in closures of UIView.animateWithDuration(...)? ์ด ๊ธ์ ์์ stackoverflow ์ง๋ฌธ์ ์ฝ๊ณ ์ ๋ฆฌํด๋ณธ ๊ธ์ ๋๋ค. ์์ฑ์๋์ ์ง๋ฌธ์ ์๋์ ๊ฐ์๋ค. ์๋์ ์ฝ๋๋ ๋ฉ๋ชจ๋ฆฌ ๋ฆญ์ ํผํ ์ ์๋์? UIView.animateWithDuration(1, animations: { [unowned self] in self.box.center = self.boxTopRightPosition }, completion: { [unowned self] completed in self.box.hidden = true }) ์ด ๊ธ์๋ ๊ฝค๋ ๋ง์ ๋ถ๋ถ๋ค์ด ์ฐ๊ฒฐ๋์ด ์๊ธฐ ๋๋ฌธ์ ์ ์ ํ ์ดํด๋ด์ผ ํฉ๋๋ค. ๐ง ์ฐ์ ์์ a..
iOS
2022. 8. 23. 19:28
TAG
- watchOS
- MOYA
- Notification
- OpenSourceLibrary
- WWDC22
- RxCocoa
- Protocol
- MVVM
- Objective-C
- APNS
- ์๋ฒํต์
- SwiftUI
- UserDefaults
- 2022 KAKAO TECH INTERNSHIP
- Swift
- projectsetting
- CloneCoding
- Algorithm
- Firebase
- IOS
- async/await
- github
- YPImagePicker
- Widget
- WidgetKit
- configurable widget
- containerBackground
- urlsession
- WWDC
- rxswift
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
๊ธ ๋ณด๊ดํจ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
๋งํฌ
- Total
- Today
- Yesterday