ํฐ์คํ ๋ฆฌ ๋ทฐ
์ ์ฌ์ง ๊ฐ์ drop down ์ฒ๋ผ
๋ถ๋ชจ๋ทฐ์ ํ๋ ์์ ํ์์ด๊ณ ์์๋ทฐ๋ ์ด๋ก์ ์์ญ์ผ ๋
๋ถ๋ชจ๋ทฐ์ ์์ญ์ธ (3)์ ์์๋ทฐ๋ ํฐ์น๊ฐ ๋๋๋ฐ (4)๋ ๋ถ๋ชจ์ ์์ญ ๋ฐ์ด๋ผ ํฐ์น๊ฐ ์๋ฉ๋๋ค.
์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด์ ๋ทฐ ์์ฒด์์ ํฐ์น๋ฅผ ๊ฐ์งํ๋ ๋ฉ์๋๋ฅผ ์ฌ์ ์ํ๋ ๋ฐฉ๋ฒ์ด ์์ต๋๋ค.
class CustomUIView: UIView {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
if !self.clipsToBounds && !self.isHidden && self.alpha > 0.0 {
let subviews = self.subviews.reversed()
for member in subviews {
let subPoint = member.convert(point, from: self)
if let result: UIView = member.hitTest(subPoint, with:event) {
return result
}
}
}
return super.hitTest(point, with: event)
}
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
return super.point(inside: point, with: event)
}
}
ํฐ์น ํฌ์ธํธ๋ฅผ ์์๋ทฐ์ ์ขํ๊ณต๊ฐ์ผ๋ก ๋ณํํ๋ ๊ณผ์ ์ ๋๋ค.
clipToBounds๊ฐ false์ด๋ฉฐ ๋ทฐ๊ฐ ์จ๊ฒจ์ ธ ์์ง ์๊ณ ํฌ๋ช ๋๊ฐ 0์ด ์๋๋ ํฐ์น๋ก ๋ณํํด์ฃผ๊ณ ์์ต๋๋ค.
์ถ์ฒ
๋๊ธ
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
๋งํฌ
TAG
- swift get excel
- swift ์์ ๊ฐ์ ธ์ค๊ธฐ
- chatgpt rag llm
- swift network refactoring
- swift urlsession module
- swift ๋คํธ์ํฌ ๋ชจ๋ํ
- ๋ ๋์ธ์ด ์ดํ
- swift urlsession ๊ณตํตํ
- swift filemanager excel
- swift filemanager get excel
- swift ์๊ฐ
- ๋ ๋์ธ์ด
- swift urlcomponent encode
- swift excel read
- swift urlsession refactoring
- llm pdf rag
- rag llm pdf
- swift network ๊ณตํตํ
- swift urlsession network module
- llm csv
- swift ์์ ์ฝ๊ธฐ
- swift network module
- rag ๊ธฐ๋ฐ llm ์ฑ๋ด
- deep timer
- rag ๊ธฐ๋ฐ llm
- readysay
- swift queryitem encode
- focus timer ์ดํ
- filemanager excel read
- ์๋์ํํธ ๋ ์ด์ธ์ด
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 31 |
๊ธ ๋ณด๊ดํจ