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.6k
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.4k
FiNCの分析基盤の概要
yoshimikeisui
2
4.7k
Other Decks in Programming
See All in Programming
layerx_20241129.pdf
kyoheig3
2
270
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
220
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.4k
CSC305 Lecture 25
javiergs
PRO
0
130
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
960
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
430
Thoughts and experiences on Rust and TypeScript
unvalley
2
220
PaaSとSaaSの境目で信頼性と開発速度を両立する 〜TROCCO®︎のこれまでとこれから〜
gtnao
6
7.6k
Recoilを剥がしている話
kirik
4
6.3k
Java 23の概要とJava Web Frameworkの現状 / Java 23 and Java web framework
kishida
2
390
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
410
useSyncExternalStoreを使いまくる
ssssota
5
950
Featured
See All Featured
Music & Morning Musume
bryan
46
6.2k
A better future with KSS
kneath
238
17k
Navigating Team Friction
lara
183
15k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Optimising Largest Contentful Paint
csswizardry
33
3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
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