teamhavit / havit-ios Goto Github PK
View Code? Open in Web Editor NEW๐ ๊ธฐ์ตํ๊ณ ์ถ์ HAVIT iOS ๐
๐ ๊ธฐ์ตํ๊ณ ์ถ์ HAVIT iOS ๐
์ ํ๋ฆฌ์ผ์ด์ ์ ํฐํธ๋ฅผ ์ ์ฉํฉ๋๋ค.
๋ฌธ์ ๋ฐ์ ์ผ์ | ๋ฐ์ ์์น | ๋ฐ์ ์กฐ๊ฑด |
---|---|---|
22.01.15 | setupBaseNavigationBar | setupBaseNavigationBar()๋ฅผ ์ค์ ํ์ ๋ |
๊ฐ์๊ธฐ ํ๋จ border line์ด ์๊น๋๋ค.
ํ๋ก์ ํธ์ ๋ชจ๋๋ฅผ Light๋ก ์ธํ ํด๋ก๋๋ค.
๊ฐ๋ณ ์นดํ ๊ณ ๋ฆฌ๋ฅผ ์์ ํ๋ EditCategoryView ์ UI ๋ฐ ๋ ์ด์์์ ๊ตฌํ
๋๋ฌ๋ฅ ๊ด๋ จ Section ์ ์ ๊ตฌํํฉ๋๋ค.
URLSession BASE ์ฝ๋๋ฅผ ์ถ๊ฐํฉ๋๋ค.
๋ ์ฝ๊ณ ๊ฐ๋จํ Coordinator ๋ฐฉ์์ผ๋ก ๋ณ๊ฒฝํฉ๋๋ค.
์๋์ ๊ธฐ๋ฅ์ ํ ์ ์๋ ์ปค์คํ
ํญ๋ฐ๋ฅผ ์์ฑํฉ๋๋ค
์ฐธ๊ณ - https://betterprogramming.pub/draw-a-custom-ios-tabbar-shape-27d298a7f4fa
๋ฉ์ธ๋ทฐ ๊ธฐ๋ณธ์ ์ธ Layout ๊ตฌ์ฑ์ ๋ง๋ญ๋๋ค.
Cell ๋ด๋ถ ์ด์ธ์ Layout๋ฅผ ๊ตฌํํด๋ก๋๋ค.
์น ๋ทฐ์ Header ๋ฅผ ์์ฑํฉ๋๋ค
๋ ๋์ ๊ฐ๋ฐ์ ์ํด Preview๋ฅผ ์ถ๊ฐํฉ๋๋ค.
์น ๋ทฐ์ ํ์ํ ์ด๋ฏธ์ง ์ด์ ์ ์ถ๊ฐํฉ๋๋ค
Swift Package Manager๋ฅผ ์ถ๊ฐํฉ๋๋ค.
delegate ํจ์๋ line_length ๋ฃฐ์ ๊ฑธ๋ ค์ ์ปค๋ฐ์ด ์๋๋ ์ด์๊ฐ ์์ต๋๋ค
์นดํ ๊ณ ๋ฆฌ๋ทฐ์์ ์นดํ ๊ณ ๋ฆฌ๊ฐ ์์ ๋ ๋น ํ๋ฉด์ ๋์ธ EmptyView UI๋ฅผ ๊ตฌ์ฑํฉ๋๋ค.
์ด์ ํ ํ๋ฆฟ๊ณผ PR ํ ํ๋ฆฟ์ ์ค์ ํฉ๋๋ค.
ํ์ฌ๊น์ง ๋์จ ๋ชจ๋ Asset๋ฅผ ์ถ๊ฐํฉ๋๋ค.
์น ๋ทฐ์ Footer ์์ unread / read ๋ฅผ ์ฒดํฌํ ์ ์๋ ๊ธฐ๋ฅ์ ์์ฑํฉ๋๋ค
API ๋ช
์ธ์ - ์ฝํ
์ธ ์กฐํ ์ฌ๋ถ ํ ๊ธ
start ๋ฅผ ํ ๋ parameter ๋ฅผ ๋๊ฒจ๋ฐ์์ผํ๋ Coordinator ๋ค์ BaseCoordinator
์ ์ ์๋ func start()
๋ฅผ override ํ ํ์ super.start(coordinator: coordinator)
์ฒ๋ผ ์ฌ์ฉํ์ง ๋ชปํฉ๋๋ค
// ๋ถ๊ฐ โ๏ธ
func goToWebView() {
let coordinator = WebViewCoordinator(navigationController: navigationController)
super.start(coordinator: coordinator)
}
final class WebViewCoordinator: BaseCoordinator {
func start(with urlString: String) {
let webViewController = WebViewController(urlString: urlString)
webViewController.coordinator = self
navigationController.pushViewController(webViewController, animated: true)
}
}
๋ฐ๋ผ์ ์๋์ ๊ฐ์ด childCoordinators
์ parentCoordinator
์ ๋ํ ์ค์ ์ ์ ๊ฒฝ์จ์ ๋ณ๋๋ก ์ฒ๋ฆฌํด์ผํฉ๋๋ค.
// ๊ฐ๋ฅ โ
func goToWebView() {
let webCoordinator = WebViewCoordinator(navigationController: navigationController)
childCoordinators.append(webCoordinator)
webCoordinator.parentCoordinator = self
webCoordinator.start(with: "www.naver.com")
}
๊ทธ๋ ์ง ์์ผ๋ฉด coordinator ๊ฐ weak self
๋ก ์ ์ธ์ด ๋์ด์๊ธฐ ๋๋ฌธ์ ์ ๋๋ก ํ ๋น์ด ๋์ง ์๋ ์ด์๊ฐ ์์ต๋๋ค
final class WebViewController: BaseViewController {
weak var coordinator: WebViewCoordinator?
}
๋ฐ๋ผ์ ์ด๋ฌํ ํด๋จผ ์๋ฌ๋ฅผ ์ค์ด๊ธฐ ์ํด child ๋ฐ parent ๋ฅผ ํญ์ ์ค์ ํ ์ ์๋๋ก ๊ฐ์ ํ ์ ์๋ ๋ฐฉ์์ด ํ์ํด ๋ณด์ ๋๋ค.
Share Extension Target์ SwiftLint๋ฅผ ์ ์ฉํฉ๋๋ค.
gitignore ํ์ผ์ Pods/ ๊ฒฝ๋ก๊ฐ ์ถ๊ฐ๊ฐ ๋์ด์์ง ์์ podfile ์ด ๋ชจ๋ ์ฌ๋ผ์ค๋ ์ด์๊ฐ ์์ต๋๋ค
๋ฌธ์ ๋ฐ์ ์ผ์ | ๋ฐ์ ์์น | ๋ฐ์ ์กฐ๊ฑด |
---|---|---|
2022.01.12 | Github Webhook |
localhost๋๋ฌธ์ PR๋ง๋ค CI๊ฐ ๋ฌ๋ฆฌ์ง ์๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด์ผ ํฉ๋๋ค.
SearchContents Views ๋ ์ด์์ ๋ฐ UI Design
url ๋ก๋์ delegate์ ๋ํ ์ฒ๋ฆฌ๋ฅผ ํ๋ ์น ๋ทฐ๋ฅผ ๊ตฌํํฉ๋๋ค.
ํ๋ก์ ํธ์ SwiftLint๋ฅผ ์ค์ ํฉ๋๋ค.
Share Extension ์ง์ ์ ์นดํ ๊ณ ๋ฆฌ๊ฐ ์์ ๋ ๋ณด์ด๋ Category Empty View์ ๋ ์ด์์์ ๊ตฌํํฉ๋๋ค.
CollectionView, TableView Cell๋ฅผ ์ํ BASE Cell๋ฅผ ์์ฑํฉ๋๋ค.
BTNavigationDropDownMenu ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ pod์ผ๋ก ์ค์นํด ์ฌ์ฉํ์ง ์๊ณ ์ปค์คํ ํด์ ํ๋ก์ ํธ ๋ด ํ์ผ๋ก ์ฝ๋๋ฅผ ์ด๋ํ๋ ์์ ์ ๋๋ค.
์นดํ ๊ณ ๋ฆฌ๋ฅผ ํด๋ฆญํ์ ๋ ์ง์ ํ๋ ์ปจํ ์ธ ๋ทฐ UI Design
CategoryContentsView UI Design
EditCategoryView ๊ธฐ๋ฅ ๊ตฌํํ๊ธฐ
CategoryContentsView ์ธ๋ถ ๊ธฐ๋ฅ ์ถ๊ฐํ๊ธฐ
์ ์ฅ ํ๋ก์ธ์ค ๊ธฐ๋ฅ๊ตฌํ์ ์ํ Share Extension Target์ ์ถ๊ฐํฉ๋๋ค.
Slack๊ณผ Github๋ฅผ ์ฐ๋์ํต๋๋ค.
HAVIT ์ปฌ๋ฌ๋ค์ ์ถ๊ฐํฉ๋๋ค.
๋ฌธ์ ๋ฐ์ ์ผ์ | ๋ฐ์ ์์น | ๋ฐ์ ์กฐ๊ฑด |
---|---|---|
21.01.17 | WebViewController | urlTextField ์์ "hello world" ๋ฑ ๊ณต๋ฐฑ์ด ํฌํจ๋ ๋ฌธ์์ด์ ์ ๋ ฅ |
urlTextField ์์ "hello world" ๋ฑ ๊ณต๋ฐฑ์ด ํฌํจ๋ ๋ฌธ์์ด์ ์ ๋ ฅ ์ ์ ์ ์๊ฒ ์๋ฌด๋ฐ ํผ๋๋ฐฑ์ด ์์
ํ๋ก์ ํธ ๋ด๋ถ ํด๋๋ฅผ ์ธํ ํฉ๋๋ค.
๋๋ฏธ ๋ฐ์ดํฐ ๋ชจ๋ธ์ ์์ฑํ๊ณ category colllectionview์ ์ ์ฉํฉ๋๋ค.
ํผ๋๋ฐฑ๋ฐ์ ๋ฒ ์ด์ค ์ฝ๋๋ฅผ ์์ ํฉ๋๋ค.
Coordinator๋ฅผ ์ถ๊ฐํฉ๋๋ค.
์นดํ ๊ณ ๋ฆฌ ์ ์ ๊ตฌํํฉ๋๋ค.
ํ๋ก์ ํธ์ ๊ธฐ๋ณธ์ด ๋๋ ํ์ผ๋ค์ ๋ฃ์ด๋ก๋๋ค.
.gitignore ํ์ผ์ ์ถ๊ฐํฉ๋๋ค.
CategoryView์์ ManageCategoryView๋ก ํ๋ฉด ์ ํ์ ๊ตฌํํ๊ณ , ManageCategoryView ์ ๊ธฐ๋ณธ ๋ ์ด์์์ ๊ตฌ์ฑํฉ๋๋ค.
ManageCategoryViewController Drag & Drop ์์ ๋ณ๊ฒฝ ๊ธฐ๋ฅ ๊ตฌํ
์นดํ ๊ณ ๋ฆฌ ๋ทฐ ์ ์ฒด์ ์ผ๋ก ๋ค๋น๊ฒ์ด์ ๋ฐ ์ ํ ์ Base์ ์์ ๋ setupBaseNavigationBar() ๋ฉ์๋๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ผ๋ก ์์ ํฉ๋๋ค.
Jenkins๋ฅผ ๋ ํฌ์ ์ฐ๊ฒฐ์ํต๋๋ค.
Category View UI ๊ตฌ์ฑ ๋ฐ ๋ ์ด์์
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.