Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOS13とフォントのお話
Search
h.crane
November 08, 2019
Technology
6
1.7k
iOS13とフォントのお話
NCMB Study #9「iOS13」での登壇内容になります
https://ncmb.connpass.com/event/149814/
h.crane
November 08, 2019
Tweet
Share
More Decks by h.crane
See All by h.crane
Getting started with controlling LEGO using Swift
hcrane
1
1.2k
Swift 5.9 と C++ の互換性
hcrane
1
830
Live on iOSDC2023
hcrane
4
1.3k
自販機で1000円を使い切りたいんじゃ!
hcrane
0
170
Vision.framework - 商品画像からのテキスト検出と並列化実装への試み
hcrane
1
810
DevRel/Japan 2023 - 1つの事業部だけで行う DevRel とは
hcrane
0
1.1k
R2-D2をiOSで動かす
hcrane
2
3.9k
iOSDC2022 - SwiftUI in UIKit で開発する世界
hcrane
6
7.4k
iOSDC2022 - iPadOSDC Japan 2022
hcrane
2
4.3k
Other Decks in Technology
See All in Technology
Vision Language Modelと自動運転AIの最前線_20250730
yuyamaguchi
3
1.2k
製造業の課題解決に向けた機械学習の活用と、製造業特化LLM開発への挑戦
knt44kw
0
160
GMOペパボのデータ基盤とデータ活用の現在地 / Current State of GMO Pepabo's Data Infrastructure and Data Utilization
zaimy
3
200
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
25
11k
MCP認可の現在地と自律型エージェント対応に向けた課題 / MCP Authorization Today and Challenges to Support Autonomous Agents
yokawasa
5
1.8k
Amazon Q Developerを活用したアーキテクチャのリファクタリング
k1nakayama
2
190
オブザーバビリティプラットフォーム開発におけるオブザーバビリティとの向き合い / Hatena Engineer Seminar #34 オブザーバビリティの実現と運用編
arthur1
0
350
Claude Codeが働くAI中心の業務システム構築の挑戦―AIエージェント中心の働き方を目指して
os1ma
9
1.5k
「AIと一緒にやる」が当たり前になるまでの奮闘記
kakehashi
PRO
3
100
人に寄り添うAIエージェントとアーキテクチャ #BetAIDay
layerx
PRO
8
2k
風が吹けばWHOISが使えなくなる~なぜWHOIS・RDAPはサーバー証明書のメール認証に使えなくなったのか~
orangemorishita
15
5.5k
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1k
Featured
See All Featured
Gamification - CAS2011
davidbonilla
81
5.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Automating Front-end Workflow
addyosmani
1370
200k
For a Future-Friendly Web
brad_frost
179
9.9k
Documentation Writing (for coders)
carmenintech
73
5k
Scaling GitHub
holman
461
140k
Navigating Team Friction
lara
188
15k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
2.9k
Facilitating Awesome Meetings
lara
54
6.5k
Unsuck your backbone
ammeep
671
58k
Transcript
iOS13とフォントのお話 HiromuTsuruta
About me 〈Company〉 - every, inc. / DELISH KITCHEN 〈Role〉
- iOS Developer 〈Account〉 - Twitter: @hcrane14 - Qiita: H_Crane
事前アンケートをとりました
None
https://speakerdeck.com/hcrane/combinedeapikuraiantowozuo-ru
iOS13とフォントのお話
Font Management and Text Scaling 引用: https://developer.apple.com/videos/play/wwdc2019/227/
フォント周りのAPIこんなに増えてる!!
iOS 13 / iPadOS 13 で フォントが管理できるようになった!
今までと何が違うの?
比較 iOS12まで iOS13から CTFontDescriptorMatchFontDescriptorsWithProgressHandler CTFontManagerRegisterGraphicsFont CTFontManagerRegisterFontsWithAssetNames ダウンロード ダウンロード 共有不可 共有可
- フォントを設定から確認する方法がない - 自動的にシステムからフォントが削除されることがある - アプリごとにフォント利用のAPIを呼ぶ必要がある - フォントを設定から管理できる - フォントの保持期間を設定できる - アプリごとにフォント利用のAPIを呼ぶ必要がない
- フォントを確認できる - フォントを削除できる 設定画面
引用: https://japanese.engadget.com/2019/11/02/ios-13-ipados-adobe-1300/ 「iOS 13/iPadOSで無料のAdobeフォント1300種類が利用可能に」
アプリでフォントを使うには?
方法① サクッと使いたい!
None
大人しくソースコード読むか、、、
None
DEMO UIFontPickerViewController 引用: https://github.com/Zedd0202/UIFontPickerViewController_Example
ViewController UIFontPickerViewController Delegate フォントを呼び出す フォントを選ぶ フォントが返ってくる
UIFontPickerViewControllerは Appleが用意したフォントの切り替えしかできない
方法② ダウンロードしたものを使いたい!
インストール済みのフォント一覧を取得 フォント一覧からフォント名を取得 WWDC 2019から
問題が1つ、、、
実はまだ、、、
ダウンロードしたフォントを、、、
他のアプリでは使えない
ダウンロードしたアプリ内でしか使えない!!!
ただし、Appleが出しているアプリでは カスタムフォント(ダウンロードしたもの)に対応している
朗報!
引用:https://lab.hendigi.com/ipad-photoshop-cc/ Apple以外のアプリで カスタムフォントに対応したアプリが出た! Adobe Photoshop for iPad
何かしらシステムのフォントに アクセスする方法があるっぽい? (現状正規のAPIではない)
そのうちAPIが解放されるのでは、との噂?
fin