Back to Howawan's Homepage to index to Yahoo's Homepage

iPhon6-01010112024/Programming Diary2 ......

inhalts

iPhon6-01010112024@○100211
 ということで、四苦八苦の上,とりあえず、MyDB   Persistence1,  BookSqlの3つを動かせたから、これをチェックして、あたらしい MtTaru project(*->のちSQLtest->iCalDB )をつくってみる。*.jpgと説明文のみ。
Untill today ,I tried to code examples and they moved;

  1. Data Persistence Using SQLite of of ' iPhone SDK Programming', especially with using 'FireFox SQLite Manager'
  2. Persistency program of ' Beginning iPhone 3 Development'
  3. BookSql program of iPhone Dev Center's examples
Of course,the main program is the number 1.
But,as for how to use the in-put textfield and buttons just like my fevorite HyperCard ,I used the MemoApp program of 'MAC POWER vol.2 of 2009'. It is verey helpful for me,Thanks!

100212 朝
入力は、textfield1 image1とする。まずは1情報をいれ、それをclose後開いて発見
100213 朝 まずは、MacPower 2月号の例を雛形として、そのままで、UserDefaults方式で動いた。これをsql3で置きなおしていく方式にすることで、ようやく先が見えてきた。Mac Power 様さまである。
100213 夜
MtTaruSql project として わりと順調で、たしかに、database1.sqliteに到達したようだ。ばんざい! 数日かかった。
////////aaaaa ////////////
は一応コンパイルされた。 ただしい反応じゃないが。
あとは、次は -(IBAction)load_btn をやってみよう。 
100216 朝 
昨日はできなかった。DBProject を改変したら、無限ループにはいった。動かなくはなさそうだが、 危険だし、 Sadunの Bookから、取る方法でためすことに。
なかなか理解できないなあ。 imageの取得はどうするのか。ふたたびDBProjectをみてみるところで時間切れ。やせ我慢しないで、Sadunの訳本買うことに。このソフトは販売することに決定。
I tried to code the in-put field part and make button of '-(IBAction)load_btn',and could activated the database of sqlite3 finally. I could check the database goes or not by using the ForeFox's program.
Adding that,I dare say that the famous E.Sadun's CookBook was fery helpful for me.

100222 夕 そ、そして、多大の苦労のすえ、ついに動いたんじゃ!
○○なんと、まず、大切なこと、コードを Cの癖で euc_JPでtextにとっとくと、そこからコピーペーストしても動きません!これは、わからなくて、時間を浪費した。
text view instance は、 UITextview classでは内容なので、interface builderがつないでくれないことが。。ただ、最初に text fieldでつないどいて、あとで、textviewにカエルと動きはするようで、、このあたりもわからなくて苦労した。
とりあえず、ボタンを作成(つまり、hoge.mだけで、そのなかに、
Na,Endlich! It moved. I must say ,I use always the BSD machine, it uses euc_JP,so I stocked my program with asci code(euc_JP). On testing I transferred it to Mac Machine. It didnt never moved,because of locale problem. I wasted long time to resolve the problem.
////////ccccc ////////////
次は 絵ですねえ。 ちょっと始めたが、一日したのでつかれてすすまなくなる。 memoryがなんかへんなようだ。今日はやめよう。 しかし、buttonを作成し、それを IBActionとして動かすと、HyperCardによくにてくる。俄然やる気が出てきた。
100223 朝 またまたすったもんだしたあげく、やっと、textはよめて SQLtest2と同じ状態になった。このあと、MDBのグリーン矢印からしたを追加して良く作業にはいるまえに、ここまでをコピーした。 また教訓 textfield としたインスタンスでは上手くいかないので、field1に直して動いたのはなぜ? 
The text registered to sqlite datebase. But,the Instance of textfiled was not sufficient successed.
int i