![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2F7jnfw%2FbtrRqE5x7Nc%2Fl5ih5Z5LXceTWf7RbrUcF0%2Fimg.png)
전체 글
![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2F7jnfw%2FbtrRqE5x7Nc%2Fl5ih5Z5LXceTWf7RbrUcF0%2Fimg.png)
swift ] 웹뷰 안에 링크연결 안될 때
self.webView.uiDelegate = self uiDelegate 선언 func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures: WKWindowFeatures) -> WKWebView? { if navigationAction.targetFrame == nil { webView.load(navigationAction.request) } return nil }
[pod error]-Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 83 total gem(s) (Gem::MissingSpecError)Checked in 'GEM_PATH=/Users/dev.geeyong/.rvm/gems/ruby-3.0.0:/Users/dev.geeyong/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0:/usr/local/Cellar/cocoa..
Could not find 'CFPropertyList' (>= 2.3.3, Could not find 'cocoapods' (>= 0) among N total gem(s) (Gem::LoadError) When I am trying to pod install, getting following issue: Faizs-MBP:newj faizfareed$ pod install /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'cocoapods' (>... stackoverflow.com sudo gem uninstall --all sudo gem install -n /usr/local/bin cocoapod..
git 오류 ] fatal: unable to access 'https://github.com....': SSL certificate problem: unable to get local issuer certificate
ssl 검증 끔 git config --global http.sslVerify false
![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbVp1QE%2FbtrNos37422%2FeTABWKo5Y1buVOOswWJdc1%2Fimg.png)
swift - 중복되는 뷰 생성해서 사용하기
위 사진처럼 이미지, 텍스트, 뷰로 이루어진 내용이 있다. 서로 정보는 다르지만 레이아웃이 같기 때문에 하나의 뷰를 만들어 재사용이 가능하다. class ContentsView: UIView { init(title: String, subTitle: String, img: String) { super.init(frame: CGRect.zero) self.titleLabel.text = title self.subTitleLabel.text = subTitle self.iconImageView.image = UIImage(named: img) setupViews() } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } } 위 처럼 ..
![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FVqEzX%2Fbtrt4rhmmXP%2FnDQbxlLH8KHAcwUZZeC7PK%2Fimg.png)
swift ] UIButton 타이틀 텍스트 크기 / 이미지 크기 변경하기
lazy var stocksCategoryFilterBtn: UIButton = { let bt = UIButton(type: .system) bt.setTitle("전일 기준 ", for: .normal) let config = UIImage.SymbolConfiguration( pointSize: 11, weight: .regular, scale: .default) let image = UIImage(systemName: "chevron.down", withConfiguration: config) bt.setImage(image, for: .normal) bt.tintColor = .systemGray bt.translatesAutoresizingMaskIntoConstraints = false bt..