์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- ํ๋ก๊ทธ๋๋จธ์ค
- raywenderlich
- CollectionView
- SwiftUI
- Lv2
- combine
- Xcode
- ํจ์คํธ์บ ํผ์ค
- visionOS
- realm
- Swfit
- RxSwift
- MVVM
- tableView
- BOJ
- TCA
- SnapKit
- ๋ฐฑ์ค
- node.js
- Kuring
- Flutter
- UIKit
- arkit
- XCTest
- swift
- BFS
- rxcocoa
- reactorkit
- designpattern
- ios
- Today
- Total
๋ชฉ๋กPush (3)
lgvv98
[iOS] ์๋ฎฌ๋ ์ดํฐ์์ Remote Notification (ํธ์์๋ฆผ) ์ค๋์ ์๋ฎฌ๋ ์ดํฐ์์ ํธ์ ์๋ฆผ์ ๋ ๋ฆฌ๋ ๋ฐฉ๋ฒ์ ์์๋ด ์๋ค. 1. ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์คํํ ์ํฉ์์ ํฐ๋ฏธ๋์ ์ด๊ณ ์๋์ ์ฝ๋๋ฅผ ์คํํด์ฃผ์ธ์. xcrun simctl list devices | grep Booted 2. ๋ ธํฐํผ์ผ์ด์ ์ ๋ณด๋ผ ํ์ผ์ ์ค๋นํด์ฃผ์ธ์. - ์ ๊ฐ ๋ง๋ ํ์ผ์ ๋ค์ด ๋ฐ์ผ์ ๋ ์ข์ต๋๋ค. 3. ๋ ธํฐํผ์ผ์ด์ ์๊ธฐ xcrun simctl push {๋๋ฐ์ด์ค ์์ด๋} {์ฑ ๋ฒ๋ค} {ํ์ผ ๊ฒฝ๋ก} // ๐๐ป ์์ xcrun simctl push 12345678-1A2B-3B4D-56C1-123A456B789C com.notication.lgvv /User/Desktop/test.apns // ์ฑ๊ณตํ๋ฉด ํฐ๋ฏธ๋์ Notificati..
present ์ดํ pushViewController ๊ทธ๋ฌ๋๊น ๋ด๊ฐ ํ๊ณ ์ถ์ ๋ง์ modal๋ก ๋์์ง ์ฐฝ์์ pushViewController๊ฐ ๋จนํ์ง ์๋ ์ํฉ์ ๋ํ ์ค๋ช ์ด๋ค. ๋ค๋ฅธ ํฌ์คํ ์ ์คํ ๋ฆฌ๋ณด๋๋ฅผ ์ด์ฉํ๊ณ ์์๊ณ , ๋ ์ฝ๋ ๊ธฐ๋ฐ์ผ๋ก UI๋ฅผ ๊ตฌ์ฑํ๊ธฐ์ ์ด์ ๋ํ ํฌ์คํ ์ ๋จ๊ฒจ๋๊ณ ์ ํจ. ์ํฉ) view A, B, C ์ธ๊ฐ์ง๊ฐ ์๋ค๊ณ ๊ฐ์ ๐ ViewA viewA๋ SceneDelegate์์ ๊ธฐ๋ณธ์ ์ผ๋ก UINavigationController๋ฅผ Embed inํ๊ณ ์์. func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { gua..
โ ์ด๋ฒ ์๊ฐ์๋ git ํน์ ํ์ผ๋ง commitํ๊ณ pushํ๋ ๊ฒ์ ๋ํด์ ์์๋ณผ ์์ ์ด์ผ. โ ํด๋์ ๊ตฌ์กฐ Root folder - folder A - folder B ํ์ฌ ์ด๋ ๊ฒ ๋์ด์๋ ์ํฉ์ด์ผ. ๋๋ folder A๋ง ๊นํ๋ธ์ ์ฌ๋ฆฌ๊ณ ์ถ๊ณ , folder B๋ ์กฐ๊ธ ๋์ค์ ์ฌ๋ฆฌ๊ณ ์ถ์์ด. ์๋ํ๋ฉด ์์ง ์์ฑ๋์ง ์์๊ธฐ ๋๋ฌธ์ด์ง. โ ์ฌ์ฉํ ๋ช ๋ น์ด ์ ๋ฆฌ // git status๋ช ๋ น์ด๋ฅผ ์ด์ฉํ์ฌ ์์ ํ ํ์ผ ๋ชฉ๋ก ํ์ธํ๊ธฐ git status // git diff๋ช ๋ น์ด๋ฅผ ์ด์ฉํ์ฌ ๊ธฐ์กดํ์ผ์ ๋ณ๊ฒฝ๋ด์ญ ํ์ธํ๊ธฐ git diff // git add๋ช ๋ น์ด๋ฅผ ์ด์ฉํ์ฌ ์ํ๋ ํ์ผ ์ถ๊ฐํ๊ธฐ git add ... // git reset๋ช ๋ น์ด๋ฅผ ์ด์ฉํ์ฌ add๋ ํ์ผ ์ทจ์ํ๊ธฐ git reset HEAD ์ฐ์ git..