일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- xcode
- 자바스크립트
- IOS
- 풀스택
- keyframes
- CSS
- html5
- iPhone
- 프론트엔드
- react
- image
- front-end
- 비전공자
- ipad
- 백엔드
- jQuery
- 애니메이션
- 개발자
- css3
- SWIFT
- HTML
- Animation
- javascript
- effect
- php
- hover
- button
- 비전공 개발자
- MAC
- iOS 개발자
- Today
- Total
목록SWIFT (69)
비전공자 개발일기
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bhY6su/btrUusov3nr/TxaH2AYG1rjPptDuYXeyg1/img.gif)
import UIKit import AVFoundation class ViewController: UIViewController { @IBOutlet weak var progressBar: UIProgressView! @IBOutlet weak var titleLabel: UILabel! let eggTimes = ["Soft": 3, "Medium": 4, "Hard": 7] var timer = Timer() var player: AVAudioPlayer! var totalTime = 0 var secondsPassed = 0 @IBAction func hardnessSelected(_ sender: UIButton) { timer.invalidate() let hardness = sender.cur..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/qemnA/btrUunz6gnA/YnSNdo086cCJXiLsSjGDUK/img.gif)
프로그래밍에 문제가 있거나 코드가 특정 작업을 수행하도록 하는 경우 1. 구글 2. StackOverFlow로 이동 3. 찾은 코드 구현 4. 공식 문서에서 코드의 의미 찾기 5. 필요에 맞게 커스텀 stackoverflow 검색 앱에서 내가 하고 싶은 것 + 프로그래밍 언어 + 출처 ex) play sound Swift StackOverFlow import UIKit import AVFoundation class ViewController: UIViewController { var player: AVAudioPlayer? override func viewDidLoad() { super.viewDidLoad() } @IBAction func btnPress(_ sender: UIButton) { guar..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/ceTmLZ/btrUau6VPiJ/GEsKLtpRJKXMasEHMFhVD0/img.png)
Remote Config 배포 및 업데이트 다운로드 없이 앱 변경 기본값을 설정한 후 값을 재정의 클라우드 기반 Key - Value 저장소 앱 사용층에 변경사항을 빠르게 적용(업데이트 없이 앱의 UI/UX 변경을 지원) 사용자층의 특정 세그먼트에 앱 맞춤 설정(앱 버전, 언어 등으로 분류된 사용자 세그먼트별 환경 제공) A / B Test를 실행하여 앱 개선(사용자 세그먼트별로 개선사항을 검증 후 점진적 적용을 해볼 수 있음) A / B Test Google Analytics, Firebase 예측을 통한 사용자 타겟팅 원격구성(Remote Config or Cloud Messaging)활용 재품, 마케팅 실험을 쉽게 실행, 분석, 확장이 가능 제품 환경 테스트 및 개선(앱 동작 및 모양을 변경하여 최..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/MihtP/btrT42CEuql/kMbHsSLKfZ1FNZ96aLFvMK/img.gif)
import UIKit class AddAlertViewController: UIViewController { var pickedDate: ((_ date: Date) -> Void)? @IBOutlet weak var datePicker: UIDatePicker! @IBAction func cancelBTN(_ sender: UIBarButtonItem) { dismiss(animated: true) } @IBAction func saveBTN(_ sender: UIBarButtonItem) { pickedDate?(datePicker.date) dismiss(animated: true) } } import Foundation struct Alert:Codable { var id: String = UU..
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/J6own/btrTRBmOPtk/EZmoOTR7F76XeRROU5JZR0/img.png)
Remote Notification 전송 방식 Provider(Server) -> APNs -> iOS, watchOS, tvOS, macOS -> ClientApp APNs Apple Push Notification Service (애플 개발자 계정 필요) https://developer.apple.com/kr/ Apple Developer Apple 플랫폼에서 개발할 절호의 기회입니다 developer.apple.com FCM Firebase Cloud Message https://firebase.google.com/ Firebase Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase.google.com // AppD..
![](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..