App Architecture
- MVC design pattern
- Xcode / Version 13.2.1 (13C100)
- without storyboard
- swift 5 100%
Identity- Bundle Identifier : aeron-kim.BrandMap
- Version : 2.0
- Build : 1
GitHub- https://github.com/kmjmarine/BrandMap.git
Open API- https://bmap.haveandbe.com/product_json.asp
- Charts (spm)
- Snapkit (spm)
- Kingfisher (spm)
ETC- simulator - iPhone 12 pro max
Web-Server
- Window Server 2012 R2 Standard
- IIS 8.0
- AWS : t3.medium
DBMS- Mysql 8.0 / Workbench 8.0
Front-End (Web)- https://bmap.haveandbe.com/
- Language : classic ASP, javascript, jquery, css, HTML5
- Akamai image caching
Back-End (Web)- https://bmap.haveandbe.com/admin/
- Language : classic ASP, javascript, jquery, css, HTML5
ETC- Deploy - Git, Atom
Statistics scene :
BrandMap List scene :
BrandMap Detail scene :
Front-End :
Back-End :
Function GetLineCodeName(sVal)
Dim sLine
Select Case sVal
Case "001": sLine = "바이옴"
Case "002": sLine = "솔라바이옴"
Case "003": sLine = "시카페어"
Case "004": sLine = "크라이오러버"
Case "005": sLine = "컨트롤에이"
Case "006": sLine = "세라마이딘"
Case "007": sLine = "에브리 선 데이"
Case "008": sLine = "더메이크업"
Case "009": sLine = "더마클리어"
Case "010": sLine = "더마스크"
Case "011": sLine = "브이세븐"
Case "012": sLine = "펩타이딘"
Case "013": sLine = "알엑스"
Case "014": sLine = "포맨"
Case "015": sLine = "기타"
Case Else sLine = "Unknown"
End Select
GetLineCodeName = sLine
End Function
라인 검색추가
웹뷰 연결
let basicURL: String = "https://www.drjart.com/search"
let keyword: String = search.replacingOccurrences(of: "Dr.Jart+ ", with: "")
var components = URLComponents(string: basicURL)
let id = URLQueryItem(name: "search", value: keyword)
components?.queryItems = [id]
guard let linkURL = components?.url
else {
navigationController?.popViewController(animated: true)
return
}
DispatchQueue.main.async {
self.tableView.reloadData() //Header section을 포함한 tableView 전체를 리로드
//self.tableView.reloadSections([0], with: .none) //Heaer를 제외한 section을 리로드
}
func setup(tags: [String], delegate: ProductListHeaderViewDelegate) {
guard self.tags.isEmpty else { return }
//if self.tags.count == 0 {
self.tags = tags
self.delegate = delegate
contentView.backgroundColor = .systemBackground
setupTagCollectionViewLayout()
setupTagCollectionView()
//}
}
let basicURL: String = "https://www.drjart.com/search"
let keyword: String = search.replacingOccurrences(of: "Dr.Jart+ ", with: "")