2016-03-01から1ヶ月間の記事一覧
リハーサルの準備をしました、進捗がございません。明日、引き続きメモリの改善を実装します!四月も頑張ります!
1、現在選択しているツールを黒の領域から出させるようにした。 isSelected で現在なんのツールを選択しているのか記録し、ボタンをタップする時、ボタンの画像を切り替える。 ボタンのレーアウトなどまだ調整する必要があります。 2、Main Storyboard以外…
prepareForSegueでRGB値と太さ値追加して、drawPreview()関数で表示する。 色と太さを再選択するときに以前の設定がプレビューできるようにしました。 メモリの使い改善はまた実装中です。
今日は進捗ございません、明日から進めます‼︎
外出するため、PCがそばにいないプログラムのほう進捗ございません。学校に戻ったら早く自分の考えを試してみたいです。進捗が遅くなり申し訳ございません‼︎
メモリ使いすぎの改善は二つの方法が考えました。一つ目は、画像ではなく、CGPathを保存して、毎回再描画する。パスだけ記録すれば、メモリの使用が減少出来ると思う。でも毎回再描画するため、絵を描けば描くほど性能が悪くなるかもしれません。それに、ブ…
今日は実験をやりましたので、アプリ開発のほうは進捗がございません。
昨日の問題を解決しました。保存した画像を開く時、画像のサイズをboardのViewと同じように処理した。 画像の解像度高さも維持できます。 メモリ使いすぎの問題を検討中です。
解像度の改良: UIGraphicsBeginImageContextWithOptions(self.bounds.size, false, 0.0)を使えば、線の解像度がよくなれる。 imageとして保存する時も同じく修正すれば、保存される画像の解像度が維持できる。ただし、再び画像を開く時、画像の解像度が高い…
1、アプリの機能 *ペイントツール:ブラシ、消しゴム、定規、ディバイダー、カラーピッカー(ブラシの太さを選択できる、カラー160種類選択できる) *操作の機能:元に戻す、やり直す、スケッチブックをクリアする、絵を保存する、既存の絵を開く、新…
Today I completed the remaining work which is opening existing picture. If users want to open a picture they have saved, they can touch the ”open” button. then select a existing picture. Here, I opened a picture that I drawn yesterday, and…
Today I implemented the “Save” and “Create a new drawing board” function. For example, suppose I have been draw a picture, then I touch the "Save" button, the picture I drawn will be save in the Album on iphone. Another function I Implemen…
Today I did an improvement on the the drawing lines. Instead of only setting a middle point, I set more control points to make the lines smoother. I also Implemented the “share on the SNS” function. First touch the “share” button, and then…
明日のゼミ発表の準備をしました、進捗ございませんでした。金曜日から続きを進めます!!
I designed the UI of my drawing board today. There are two toolbars on the board, the one on the bottom of screen contains brush , eraser, ruler(straight line), divider(circle) and color picker. And the other one on the top contains some f…
Today, I made some icons for the buttons by using photoshop in order to optimize the UI of the APP. I will continuously make efforts tomorrow.
Today I implemented the color picker. fig.1 select color and width in the settings menu fig.2 various kinds of brush I will do my midterm presentation for graduation on the end of March, so I have to prepare for it from next week and maybe…
Today I started to design the color picker as the image shows, user can selected color and width of the brush in the menu.This color picker can provide 160 kinds of colors and I think it’s enough for users. It’s easy for users to select co…
Today I solved the problem that the drawings are not smooth. Using a array named samplePoints to hold more points, and draw curves instead of straight lines. The running result shows that the drawings look smoother and more natural. Of cou…
Today I attended a seminar and had a meeting with my professor. So I didn’t continue my task. I think I will focus on my development on this weekends.
What I have done today are as follows: 1.Came up with a new solution to make the drawings look smoother. Instead of drawing straight lines I will try to draw Bezier curves between each touch point. I want to create an array to hold all the…
今日やったこと 1、[全部削除する]機能追加 難しくないですが、一旦絵を全部削除すれば、もう元に戻すとやり直す出来ないはず、ですから削除する時、redoImageとundoImage二つの配列もクレアすべき。 この点は最初気づかなかった問題が起こった。 2、太さ…
今日は一日明日のゼミ発表の準備をしたので、開発しませんでした。明日発表が終わったら続きを進めます
15時〜 1、今日実現の機能:元に戻る、やり直し、太さを選ぶ、透明さを選ぶ 2、線の書き方についての検討: 今のやり方は、点と点の間に直線を書く、ですので線を引く時あんまりスムーズではない。今日はブラシの太さと透明さを選べるようになったため、…
午後から 1、Learn To Code iOS Apps With Swift Tutorial 4: Your First App このtutorialを従って練習として簡単なアプリを作った。 2、ペイントプロジェクトのMain.storyboardを設計 *Board (View) :ペイントの画面 *Tools(ToolBar):機能を分類し…
2016.03.05 午前中 まずは開発の言語はswiftに決めました。ネットでswiftに関する資料をいくつ集めて、読みました。 公式の教程: https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/ 基本の文法: https://num…