일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 자바스크립트
- 백엔드
- MAC
- iOS 개발자
- hover
- html5
- php
- iPhone
- image
- css3
- 비전공 개발자
- keyframes
- jQuery
- 풀스택
- javascript
- 비전공자
- effect
- ipad
- HTML
- Animation
- 개발자
- react
- 프론트엔드
- CSS
- button
- front-end
- xcode
- 애니메이션
- SWIFT
- IOS
- Today
- Total
목록MAC (36)
비전공자 개발일기
storyboard, code 작성 완료 후 테스트 과정에서 마주친 에러 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException' , reason: 'Invalid parameter not satisfying: [constraint isKindOfClass:[NSLayoutConstraint class]]' 처음엔 Xcode 버그인가라고 생각해 Mac 재실행, Xcode 재실행을 했었으나 같은 에러가 계속 등장 그래서 해당 에러를 면밀히 읽어보니까 보이는 단어 constraint 이것을 바탕으로, storyboard에서 뭔가가 잘못됬을거라 추측 해결 과정 1. storyboard에서 에러가 발생하는 부분은 없었기에, ..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bidnD8/btrVjNLfpeL/qddgLyQiQ1H5TTSqxvZQiK/img.png)
storyboard로 layout을 구성하고, 코드에 연결하고, 테스트를 위해 어플을 실행하는 과정에서 아래와 같은 에러가 발생 *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key key이름. Thread 1: "[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key key이름. 해결 과정 1. 해당 key이름이 선언된 storyboard 및 코드 확인 위의 사진..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/msCdI/btrVgjXmsIU/Nj6TNAbEkRMhF9YrBOmGo1/img.png)
사이즈별 아이콘 준비 https://www.appicon.co/#app-icon App Icon Generator www.appicon.co Assets 설정 위에서 생성한 앱 아이콘 모음 압축을 풀고, 해당 프로젝트의 Assets로 드래그 앱 아이콘 관련 설정 점검 1. Build Settings 확인 (Targets -> Build Settings -> Asset Category Compiler - Options -> Primary App Icon Set Name) 또는 Build Settings 에서 Filter로 Primary App Icon Set Name 검색 2. Assets에서 Target Membership 체크 여부 점검
LaunchScreen.storyboard 앱이 실행될 때 가장 먼저 화면에 나타나도록 설정된 화면 -> main이 노출되기 전에 잠시 나타나는 화면 주의 사항 UIKit만 사용해야 함 단 하나의 UIView or UIViewController 객체만 사용해야 함 Action, Outlet 사용 불가 UIWebView 사용 불가 커스텀 클래스 불가 런타임 속성 사용 불가 LaunchScreen 시간 조절법 -> Sleep(Int) func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override p..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/vsGfj/btrTRBfNzDi/0Bq1yd71ps7K1HhfeDMvo0/img.gif)
import Foundation struct Diary { var uuidString: String var title: String var contents: String var date: Date var isStar: Bool } import UIKit class DiaryCell: UICollectionViewCell { @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var dateLabel: UILabel! required init?(coder: NSCoder) { super.init(coder: coder) contentView.layer.cornerRadius = 3.0 contentView.layer.borderWidth = 1.0 conten..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/Fop2C/btrTT66rmGD/bRe6Y6ceRG2sJrHNuBgtWK/img.gif)
CocoaPods Swift 및 Objective-C Cocoa 프로젝트의 종속성 관리자입니다. 93,000개 이상의 라이브러리가 있으며 300만 개 이상의 앱에서 사용됩니다. CocoaPods를 사용하면 프로젝트를 우아하게 확장할 수 있습니다. https://cocoapods.org/ CocoaPods.org CocoaPods is built with Ruby and is installable with the default Ruby available on macOS. We recommend you use the default ruby. Using the default Ruby install can require you to use sudo when installing gems. Further insta..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bTpwOA/btrTRpr36mI/RYGwg1sHNmCLuvddyvM5C1/img.png)
위의 에러를 만나게 됬을 경우 현재 사용중인 Xcode의 버전을 확인해볼 필요가 있음 1. 작성자처럼 Xcode 14.x를 사용하고 있을 경우 2. Xcode 13.x 이하를 사용하고 있을 경우 https://stackoverflow.com/questions/68809929/unicode-normalization-not-appropriate-for-ascii-8bit Unicode Normalization not appropriate for ASCII-8BIT 13: from /usr/local/bin/pod:23:in `' 12: from /usr/local/bin/pod:23:in `load' 11: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.0.beta..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/tyuxN/btrTP4Wwa1X/0uIDtxhJLPQBe7ZACDrI90/img.gif)
https://openweathermap.org/ Сurrent weather and forecast - OpenWeatherMap Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w openweathermap.org import Foundation struct ErrorMsg: Codable { let..