目前分類:iphone 程式設計 (13)

瀏覽方式: 標題列表 簡短摘要

@interface Person : NSObject

{

   int old, weight;

hfchou 發表在 痞客邦 留言(0) 人氣()

[前言]

兩個以上的參數, 寫法如下

 - (void) createBudge: (double) aBudget withExchangeRate: (float) anExchangeRate;

hfchou 發表在 痞客邦 留言(0) 人氣()

 可參考這一篇

http://dev.iphonetw.net/thread-38-1-3.html


hfchou 發表在 痞客邦 留言(0) 人氣()

[前言]

有時候我們會需要計算某個值, 會要求使用者輸入資料, 來計算, 並秀出計算後的結果

例如:請使用者輸入新台幣的金額和利率, 算出並顯示一年的利息費用

hfchou 發表在 痞客邦 留言(0) 人氣()

[前言]

要在應用程式中加入GUI的類別, 必須寫在controll.h檔

[Text Field]

hfchou 發表在 痞客邦 留言(0) 人氣()

[前言]

可以利用 Text Field 的類別, 只要使用者觸碰所指定的Text Field 就可以叫出key pad

[步驟]

hfchou 發表在 痞客邦 留言(1) 人氣()

1) 進入終端機

2) 建立資料庫 

     > svnadmin create Subversion

hfchou 發表在 痞客邦 留言(0) 人氣()

第一種方法

1) 開啟 info.plist

2) 修改Bundle display name 欄位

hfchou 發表在 痞客邦 留言(1) 人氣()

首先準備大小為 57*57的PNG圖

1) 將檔案拖曳到專案底下

2) 勾選複製到專案內

hfchou 發表在 痞客邦 留言(0) 人氣()

要按button 印出字串

首先, 分別完成印出字串, 和增加button的動作

然後

hfchou 發表在 痞客邦 留言(0) 人氣()

在iphone的應用程式中印出字串:

1) 開啟view controller.xib

2) 開啟 tools > library > objects

hfchou 發表在 痞客邦 留言(0) 人氣()

在iphone的應用程式中加button:

1) 開啟view controller.xib

2) 開啟 tools > library > objects

hfchou 發表在 痞客邦 留言(0) 人氣()

iphone 的記憶體限制, 128M, 扣掉內部的服務, 只剩50~60M給應用程式使用

 


hfchou 發表在 痞客邦 留言(0) 人氣()