일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 영문 개인정보처리방침
- 서체관리자
- SwiftUI Boolean 값
- dispatchsource
- Protocol
- 러닝타이머
- Startign Assignments
- MKMapViewDelegate
- WeatherManager
- RunningTimer
- 단일 책임원칙
- MKMapItem
- 러닝기록앱
- UIAlertAction
- font book
- Required Reason API
- weak var
- Xcode
- xcode로 날씨앱 만들기
- Timer
- addannotation
- CLLocationManagerDelegate
- 클로저의 캡슐화
- AnyObject
- UICollectionViewFlowLayout
- weatherKit
- CoreLocation
- swift
- 한국어 개인정보처리방침
- App Store Connect
Archives
- Today
- Total
VesselWheel
Swift Font 사용하기 본문
https://developer.apple.com/fonts/
Fonts - Apple Developer
Get the details, frameworks, and tools you need to use system fonts for Apple platforms in your apps.
developer.apple.com
apple에서 지원하는다양한 폰트가 맥북의 서체관리자(fontbook)에 내장되어 있다.
xcode 내에서 맥북에 내장된 폰트를 사용하기 위해서는
lazy var timerCounterView: UILabel = {
let label = UILabel()
label.font = UIFont(name: "Arial Rounded MT Bold", size: 200)
label.textColor = .systemYellow
label.textAlignment = .center
label.isHidden = true
return label
}()
UIFont의 name으로 폰트 이름을 적으면 손쉽게 적용할 수 있다.
특히, San Francisco = SF 체는 WWDC2022에서 소개되었는데, 다양한 폰트를 제공한다.
https://developer.apple.com/videos/play/wwdc2022/110381/
Meet the expanded San Francisco font family - WWDC22 - Videos - Apple Developer
Discover the latest additions to San Francisco – the system font for Apple platforms – and find out how they can provide more control and...
developer.apple.com
'Xcode Study' 카테고리의 다른 글
Required Reason API(from App Store Connect) (0) | 2024.03.26 |
---|---|
앱 심사 요청 후 reject (0) | 2024.03.22 |
[Trouble Shooting] 러닝레코드 프로퍼티 무한값일 때 충돌 (0) | 2024.03.18 |
[Trouble Shooting] 러닝맵 업체 정보 버튼 확장 간 RequestQuery 제한(feat. cache) (0) | 2024.03.16 |
[Trobule Shooting] 러닝타이머 거리값이 pause 버튼을 누렀다가, 다시 재개를 누르면 계속 기록되지 않고 멈춤 (0) | 2024.03.15 |