gws CLI๋ ํ๋ฐํ๊ฒ ์ ๋ฐ์ดํธ ์ค์ด๋ผ ์ ์ ๋ฐฉ๋ฒ์ด ๋ฐ๋ ์ ์์ต๋๋ค. Claude Code์๊ฒ ์๋ ๋ ํฌ ์ฃผ์๋ฅผ ์ฃผ๊ณ ์ค์น ๋ฐฉ๋ฒ์ ๋ฌผ์ด๋ณด๋ ๊ฒ ๊ฐ์ฅ ์ ํํฉ๋๋ค:
import SwiftUI
class CustomUITextField: UITextField {
override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
if action == #selector(UIResponderStandardEditActions.paste(_:)) || action == #selector(UIResponderStandardEditActions.copy(_:)) || action == #selector(UIResponderStandardEditActions.cut(_:)) {
return false
}
return super.canPerformAction(action, withSender: sender)
}
๊ฐ๋จํ ํฌ์คํธ๋ฅผ ์ถ๊ฐํ๋ ๊ธฐ๋ฅ์ ๊ตฌํํด ๋ณผ๊ฑฐ์์. ๊ธฐ๋ฅ์ ๊ตฌํํ๋ฉด์ State Binding ObservedObject StateObject EnvironmentObject๊น์ง ๋ค ํ๋ฒ์ฉ ์จ๋ณด๊ฒ ์ต๋๋ค.
๋จผ์ ํฌ์คํธ ๋ชจ๋ธ์ด๋ mock list ๊ตฌ์ฑํด์ฃผ๊ณ
struct Post: Identifiable {
let id = UUID()
let username: String
https://developer.apple.com/wwdc21/10019 https://developer.apple.com/wwdc21/10132 https://www.youtube.com/watch?v=9fXI6o39jLQ&list=PLwvDm4Vfkdphr2Dl4sY4rS9PLzPdyi8PM&index=3 https://www.kodeco.com/books/modern-concurrency-in-swift/v1.0/chapters/1-why-modern-swift-concurrency#toc-chapter-007-anchor-001
๋จผ์ completion์ผ๋ก ๊ตฌํ์ ํด๋ณผ๊น์!
class CityBusManager {https://developer.apple.com/tutorials/app-dev-training/handling-errors
https://www.youtube.com/watch?v=ss50RX7F7nE&list=PLwvDm4Vfkdphr2Dl4sY4rS9PLzPdyi8PM&index=2
class BusManager {
let isActive: Bool = false
์ปค๋งจ๋ shift N: ์๋ก์ด ํ๋ก์ ํธ ๋ง๋ค๊ธฐ์ปค๋งจ๋ N: ์๋ก์ด ํ์ผ ๋ง๋ค๊ธฐ์ปค๋งจ๋ option N: ์๋ก์ด ํด๋ ๋ง๋ค๊ธฐ์ปค๋งจ๋ shift J: ํ์ฌ ์ผ์ ธ ์๋ ์ฝ๋ ์ฐฝ ๋ค๋น๊ฒ์ดํฐ์์ ์ฐพ๊ธฐ์ปค๋งจ๋ shift O: ํ์ผ์ด๋ Class ํน์ Struct ๋ฑ๋ฑ ๋นจ๋ฆฌ ์ฐพ๊ณ ์ด๊ธฐ์ปค๋งจ๋ shift F: ์ ์ฒด ๊ฒฝ๋ก์์ ์ฝ๋ ๊ฒ์์ปค๋งจ๋ F: ํ์ฌ ํ์ผ์์ ์ฝ๋ ๊ฒ์์ปค๋งจ๋ L: ๋ผ์ธ๋๋ฒ๋ก ์ด๋์ปค๋งจ๋ ๋ฐฑ์คํ์ด์ค: ํ์ผ ์ง์ฐ๊ธฐ
์ปค์คํ ํ ํญ๋ฐ๋ฅผ ๋ง๋๋ ๋ฐฉ๋ฒ์ ๋ค์ํ ๋ฐฉ๋ฒ๋ค์ด ์์ต๋๋ค!
PreferenceKey๋ฅผ ์ด์ฉํด์ ์์์ ๋ทฐ๊ฐ ์ ๋ฐ์ดํธ ๋ ๋, ๋ถ๋ชจ์ ๋ทฐ๊ฐ ์ด ๊ฒ์ ์์์ฐจ๋ฆฌ๊ณ ์ค์ค๋ก๋ฅผ ์ ๋ํ ์ ์๊ฒ ๊ตฌ์ฑํด์ค ์๋ ์๊ณ
์๋๋ฉด ์ค๋ ๋ง๋ค์ด๋ณผ SwiftUI์ ๊ธฐ๋ณธ TabView ์ปดํฌ๋ํธ๋ ํจ๊ป ์ปค์คํ ํ๊ฒ ๋ง๋ ๋ทฐ๋ฅผ ์์ ์ฌ๋ ค์ ๊ตฌ์ฑํด์ค ์๋ ์์ด์!
| ๐ Morning 41 commits โโโโโโโโโโโโโโโโโโโโโ 10.5% | |
| ๐ Daytime 116 commits โโโโโโโโโโโโโโโโโโโโโ 29.8% | |
| ๐ Evening 166 commits โโโโโโโโโโโโโโโโโโโโโ 42.7% | |
| ๐ Night 66 commits โโโโโโโโโโโโโโโโโโโโโ 17.0% |
