Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOSで妄想トーク(チャットUI)を再現してみた
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
aboy
September 08, 2017
Programming
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOSで妄想トーク(チャットUI)を再現してみた
社内で開かれたLTイベントの発表資料
aboy
September 08, 2017
Transcript
21 slides
iOSͰໝτʔΫΛͭ͘Δ aboy
aboyͰ͢ ‣ ͋΅Ͱ͢ ‣ ৽ଔೖࣾ3Ͱ͢ ‣ ·ͩITΠϊϕʔγϣϯ3෦Ͱ͢ ‣ 4݄͝Ζ͔ΒiOS։ൃʹܞΘͬͯ·͢
ໝτʔΫΛͭ͘Γ͍ͨ
ໝτʔΫͱʁ ‣ instagramに #妄想トーク で投稿された(主に)乃木坂46 とチャットしているかのように見えるスクショ ‣ instagramに投稿されているものに限らず架空の誰かと チャットしている雰囲気をつくれるサービスがある ‣
Androidアプリ チャットノベル ‣ iOSアプリ Imaginary Chat ‣ Webサービス モジマル
͜͏͍͏ͷ
iOSͰໝτʔΫ(νϟοτUI)Λ ࠶ݱͯ͠Έͨ
όφφϚϯ
࣮ͷϙΠϯτ
iOSʹ͓͚Δςʔϒϧߏ UITableView UITableViewCell
UITableViewͷΈ var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"), Object(title:
"タイトル2"), .... ]
UITableViewͷΈ -tableViewΛ180ճస- var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"),
Object(title: "タイトル2"), .... ] tableView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) ϥδΞϯͰࢦఆ
UITableViewͷΈ -cell180ճసͤ͞Δͱ- var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"),
Object(title: "タイトル2"), .... ] tableView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) cell.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi))
UITableViewͷΈ -σʔλͷՃ- var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"),
Object(title: "タイトル2"), .... ] tableView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) cell.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) // 新しいもの insert(Object(title: "new"), at: 0) // 古いもの insert(Object(title: "old"), at: objects.count)
͋ͱ... var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"), Object(title:
"タイトル2"), .... ] tableView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) cell.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) // 新しいもの insert(Object(title: "new"), at: 0) // 古いもの insert(Object(title: "old"), at: objects.count) ・受信か送信かで左or右表示の切り替え ・受信なら相手のプロフィール画像を表示 ・テキストを入力して送信できるように ・送受信日付を表示 ・etc...
͋ͱ... var objects = [ Object(title: "タイトル0"), Object(title: "タイトル1"), Object(title:
"タイトル2"), .... ] tableView.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) cell.transform = CGAffineTransform(rotationAngle: CGFloat(Double.pi)) // 新しいもの insert(Object(title: "new"), at: 0) // 古いもの insert(Object(title: "old"), at: objects.count) ・受信か送信かで左or右表示の切り替え ・受信なら相手のプロフィール画像を表示 ・テキストを入力して送信できるように ・送受信日付を表示 ・etc...
ໝτʔΫྫ
όφφϚϯ
Ҫ
ࣣʢ೫ࡔ46ʣ
·ͱΊ ‣ ֎෦ϥΠϒϥϦͳ͠Ͱ؆୯ʹLINEΈ͍ͨͳ νϟοτUI͕ͭ͘ΕΔ ‣ ͬͯΔͷUIKit(ඪ४)͚ͩ ‣ ໝτʔΫΛͭͬͯ͘༡Δ ‣ Έͳ͞ΜiOS։ൃֶΜͰΈ·ͤΜ͔ʁ
ࢀߟ 1. Apple Developer Documentation: CGAffineTransform.init(rotationAngle:) https://developer.apple.com/documentation/coregraphics/cgaffinetransform/ 1455666-init 2. 武井壮
最強動物1位の室伏広治 - YouTube https://www.youtube.com/watch? v=7fIFsBUX0tw 3. 西野七瀬のメイクを真似したい!! https://matome.naver.jp/odai/ 2150238529392593401
More Decks by aboy
See All by aboy
生成AIで日々のエラー調査を進めたい
yuyaabo
0
1.1k
みんなでエラー監視するSRE夕会の効果_ゆるSRE勉強会1
yuyaabo
1
750
Go 1.19.1 security fix net/url JoinPath
yuyaabo
1
590
HTTPステータスコードが意図した値にならないとき Let's Go Talk #2
yuyaabo
1
590
OSS貢献を気軽にしたい Let's Go Talk #1
yuyaabo
2
680
困ったときが学びどき.pdf
yuyaabo
0
670
Build dynamic iOS apps with the Create ML framework の要約
yuyaabo
0
1.3k
fastlaneベースでTravis CIからBitriseに移行しました
yuyaabo
0
1.9k
Mixpanelのすゝめ
yuyaabo
0
3.1k
Other Decks in Programming
See All in Programming
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
260
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
270
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
Agentic AI with the Power of Jakarta EE
ivargrimstad
0
160
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
460
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
410
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
430
あなたはMCPの機能を、まだ知らない。
4geru
1
730
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
100
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
680
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Balancing Empowerment & Direction
lara
6
1.4k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
How to Ace a Technical Interview
jacobian
280
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
30 Presentation Tips
portentint
PRO
1
480
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
620