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
Simple Graph
Search
Yoshimi Kondo
November 24, 2015
Programming
1
2.5k
Simple Graph
https://github.com/yoshimikeisui/SimpleGraphSample
Yoshimi Kondo
November 24, 2015
Tweet
Share
More Decks by Yoshimi Kondo
See All by Yoshimi Kondo
FiNC Tech Meetup ~Growth Engineering~
yoshimikeisui
0
1.1k
本質的なグロースハックを求めて
yoshimikeisui
0
1.8k
FiNC App Chat Onboarding Growth Hack
yoshimikeisui
0
5.3k
FiNCの分析基盤の概要
yoshimikeisui
2
4.6k
Other Decks in Programming
See All in Programming
CSC509 Lecture 03
javiergs
PRO
0
130
Assembling the Future: crafting the missing pieces of the Ruby on Wasm puzzle
skryukov
0
120
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
320
Cloud Adoption Frameworkにみる組織とクラウド導入戦略(縮小版)
tomokusaba
1
150
Quarto Clean Theme
nicetak
0
220
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
1.1k
dbt-ga4パッケージを実業務に導入してみた話
t_tokumaru_feedcorp
0
110
Cohesion in Modeling and Design
mploed
3
180
ECS向けのドリフト検知機構を実装してみた
tkikuc
0
260
ファーストペンギンBot @Qiita Hackathon 2024 予選
dyson_web
0
210
CDKを活用した 大規模コンテナ移行 プロジェクトの紹介
yoyoyopg
0
230
Modernisation Progressive d’Applications PHP
hhamon
0
160
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
105
48k
In The Pink: A Labor of Love
frogandcode
139
22k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
5
220
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
324
23k
The World Runs on Bad Software
bkeepers
PRO
65
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.1k
Large-scale JavaScript Application Architecture
addyosmani
509
110k
How STYLIGHT went responsive
nonsquared
94
5.1k
For a Future-Friendly Web
brad_frost
174
9.3k
Transcript
SIMPLE GRAPH YOSHIMIKEISUI #POTATOTIPS
INTRODUCTION
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. ࣗݾհ ▸ FiNC Inc.
▸ iOS / Swift ▸ Ruby on Rails ▸ github: yoshimikeisui ▸ Qiita: yoshimikeisui
PRODUCT
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. PRODUCT ▸ ϔϧεέΞΞϓϦ ▸
ମॏาͳͲͷϩά ▸ ੜ׆श׳ΛΞυόΠε ▸ ݈߁ʹ·ͭΘΔใ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. PRODUCT ▸ ϔϧεέΞΞϓϦ ▸
ମॏาͳͲͷϩά ▸ ੜ׆श׳ΛΞυόΠε ▸ ݈߁ʹ·ͭΘΔใ Ϧχϡʔ Ξ ϧʂ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. PRODUCT ▸ ϔϧεέΞΞϓϦ ▸
ମॏาͳͲͷϩά ▸ ੜ׆श׳ΛΞυόΠε ▸ ݈߁ʹ·ͭΘΔใ
GRAPH DRAWING
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH DRAWING
HOW? ࣗ࡞
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. ͡ΊʹΈͨͷ ▸ CorePlot ▸
iOS-Charts ▸ PNChart
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. ͡ΊʹΈͨͷ ▸ CorePlot -
ݱόʔδϣϯͰ༻͍ͯ͠Δ ▸ iOS-Charts - ѹతͳࢧ࣋ ▸ PNChart - γϯϓϧͦ͏
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. Ͱ ▸ ͦΜͳͨ͘͞Μάϥϑछྨ͍Βͳ͍ ▸
ࢦఆ͢ΔΦϓγϣϯ͕ଟͯ͘ɺwrapͯ͠͏ ▸ ͍͢͝ඍົͳϨΠΞτάϥϑͷϥϕϧΛௐ͠ʹ͍͘
HOW? ࣗ࡞
HOW? ࣗ࡞ https://github.com/yoshimikeisui/SimpleGraphSample
HOW TO USE
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH FRAME STROKE +
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. HOW TO USE SIMPLE
GRAPH ▸ ઢͷ෦ = LineStroke ▸ എܠ = LineStrokeGraphFrame
MECHANISM
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH FRAME STROKE +
ߏ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. Δ͜ͱᶃ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. X࣠ͷͷ෯ΛٻΊΔ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. width / ࠷ͷྻͷCount
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. Δ͜ͱᶄ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. Y࣠ͷͷߴ͞ΛٻΊΔ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. height / ࠷େ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH FRAME ▸ strokesͷ࠷େ͔ΒY࣠ͷߴ͞ΛٻΊΔ
▸ strokesͷ࠷େݸ͔ΒX࣠ͷ͞ΛٻΊΔ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH STROKE ▸ X࣠ͱY࣠ͷΛऔಘͰ͖
ΔΑ͏ʹ ▸ superviewͰ͋Δ GraphFrame͔Βऔಘ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH STROKE ▸ protocolͰ༻ҙ͞ΕͨgetXPoint,
getYPointͰ࠲ඪΛऔಘ ▸ UIBezierPathͰඳࣸ
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. GRAPH FRAME STROKE ྻͷ͞
ϝϞϦ͝ͱͷX࣠ͷ෯ ͝ͱͷY࣠ͷߴ͞ ྻͷ
WHY PROTOCOL?
SIMPLE GRAPH - YOSHIMIKEISUI, FINC INC. PROTOCOL STROKE LINE STROKE
PROTOCOL STROKE LINE STROKE PROTOCOL STROKE BAR STROKE LINE GRAPH FRAME PROTOCOL GRAPH FRAME BAR GRAPH FRAME PROTOCOL BAR FRAME ϝΠϯͷϩδοΫΛ׆͔ͯ͠ɺछྨͷάϥϑ͕ඳ͚Δ
ςΩετ ·ͱΊ ▸ γϯϓϧͳάϥϑͳΒɺࣗ࡞͢Δͱָɺָ͍ͦͯ͠͠ ▸ protocolΛͬͯɺجຊϩδοΫΛΓग़͢ ▸ ͜ΕΛجʹͯ͠ɺ࠷ऴతʹ͜͏ͳΕͨˣ
END