1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

電卓作成

Last updated at Posted at 2020-12-14

今回は完全自作でiphoneの純正電卓アプリを作っていく

まずはフローチャートであらすじとシナリオを書く

image.png

すごく大雑把だけど、ここから詳しく書いていく
こんな感じ
image.png

現状での完成イメージはこんな感じ
けど、全て実装できないのでまずは単純に=ボタンで計算をするところまでを実装する

前回のように2次元配列で実装したいが今回は何も見ず最低限度の検索だけで作りたいのでhtmlで書き出す

早速挫折した
onclickを使う事が出来なかった(笑)
とりあえずボタンを押したらポップアップを表示させることでonclickが働いてるかを見る

https://techacademy.jp/magazine/15062

これからは普通に調べながらやっていく(笑)

次はクリックさせたら変数にそれを反映させる

onclick内に変数を操作する

変数をhtmlに表示する

https://www.sejuku.net/blog/88958

テキストボックスから値を取得

https://techacademy.jp/magazine/21069

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?