show code js

顯示具有 apple 標籤的文章。 顯示所有文章
顯示具有 apple 標籤的文章。 顯示所有文章

2011年4月19日 星期二

NSMutableArray 物件生存週期

物件加入時retainCount自動+1,而物件移出後值-1

而與NSArray差異為此物件元素經宣告後無法變更,元素的內容,仍可變更



[self testArrary];


-(void)testArrary

{

NSMutableArray *array =[[NSMutableArray alloc] init];

NSObject *myObj4 = [[NSObject alloc] init];

[array addObject:myObj4];

NSLog(@"after add to array retainCount = %d",[myObj4 retainCount]);

[array removeObject:myObj4];

NSLog(@"after reomve from array retainCount = %d",[myObj4 retainCount]);

}


MyObject 已改用 NSObject

2011年4月8日 星期五

速記

xib 主要是設計介面,將物件擺放至介面中
h 為宣告用途,如物件的宣告或物件的方法、處理宣告,透過連接或是程式碼,將此處的物件宣告與介面的物件連結
m 為類別、方法的敘述處,或是處理方式

各屬性有不同的工具配置

2011年2月21日 星期一

Measure Map丈量土地

iPhone、iPad均適用
非常適合房仲或專營土地買、看地

用法:
1•找到要計算的地圖,可按右下鈕開關放置大頭針用的準心
2•將準心對準要放大頭針的點後,按下左下角的+即可,若錯了可點住大頭針移到正確的位置或按-刪除最後放的大頭針
3•按下下方的方塊鈕,即可在左上出現全區一週的長度及面積m^2
4•另可存、取檔及寄出,取得目前位置



也許不是很精確,但供參考規劃已很足夠


-- Send by my iPad

2011年2月20日 星期日

Tap-Translate 即時單字、區域及整頁翻譯,發聲

下載並安裝


執行Tap-Translate
按下右上的設定鈕


選擇翻譯的語言並按下最下面的Integrate鈕





將本頁加入書籤


點選書籤及編輯,再點選剛加入的Tap-Translate書籤


點擊游標處右邊的X,清除位置





再輕點空白處後再點擊貼上


點擊書籤鈕回到上頁


點擊完成





進入瀏覽任一語言網頁


開啟書籤,點擊並載入Tap-Translate








點擊頁面上任意單字即可開啟小對話盒並翻譯
點擊喇叭圖示即可發音


點擊頁面圖示即可開啟google translate作整頁翻譯





或點擊+圖示可區域翻譯







真是有夠讚

-- Send by my iPad

2011年2月9日 星期三

AirPlay with AirPort Express

AirPlay with AirPort Express

原本以為只能用Remote才能播放音樂至AirPort Express的
結果..........可以用了
無須透過PC,直接由iPad、iPhone中,選擇由AirPlay輸出音效至AirPort Express再輸出至音響播放,實在有夠讚,ㄏㄏ

圖懶得轉了,大家將就一下

在iPad上
iPod



YouTube



HomeFree Combo




在iPhone上
iPod



YouTube




不能用的原因,可能是JB不完全所至,昨日使用由sam通知的完整JB後
即可像全民情聖影片中的那部控器,控制音響等等

現在能用了,有夠High的,哈哈

-- Send by my iPad



-- Send by my iPad

2011年1月31日 星期一

Airport Express

這是一個非常好用的裝置。






盒內除了裝置主體外,只有一片內含win、mac工具程式的CD



裝置的外觀很漂亮,大小如同一般的變壓器



除了隱藏式的插頭外,亦可選購延長式插頭


裝置還有有線網路、USB、AUDIO三種連接埠及無線網路模組
1、有線網路埠:可透過此埠對裝置作設定、有無線網路相互橋接及撥接上網
2、USB埠:可連接印表機並分享爲網路印表機,須支援air print
3、AUDIO埠:可以iphone、ipad至apple store下載並安裝remote軟體,用來操控pc上的itunes將音樂透過網路傳輸至airport express的audio埠,將音樂輸出至音響撥放,即air play,只可惜不是由iphone或ipad直接將音樂(效)直接輸出至此埠撥放
4、無線網路模組:可加入或延伸現有無線網路、自建新的無線網路環境



狀態顯示燈號,可快速了解裝置的狀態



有如將網路隨身帶著走,真的很方便

-- Send by my iPad

2011年1月25日 星期二

Snes(HD) for iPad & iPhone

You can use iPhone control Snes emulator on iPad by Bluetooth

Website SNES(HD)







Add source in Cydia and you can install controlipad on iphone, and install snes(hd) on ipad.













Download roms from www.doperoms.com and move to /var/mobile/media/roms/snes/

If you can't save game, that you will to check permission of directory

Open bluetooth both iPhone(x2) and iPad and connected.













Select game and click {power} on iPad to start game.



















Have fun.

- Posted using BlogPress from my iPhone

2011年1月15日 星期六

Cydia Go!

  • your device already jailbreaked
  • cydia installed
1.run {cydia}
2.click {developer or user} and {omplete}
3.install {afc2add} for use ifunbox
4.click {sources} below to add some sources
a.click [edit] and [add] to add url below, and click [add source] and [add anyway]
(1)sinfuliphonerepo.com
(2)cydia.hackulo.us
(3)cydia.xsellize.com
(4)i.danstaface.net/deb/
(5)cydia.myrepospace.com/HackStor/
(6)cydia.myrepospace.com/sniperlan/ (my list)
b.click [return cydia] or [done] to finish
c.install nice apps or not
(0)installous (from hackulo.us)
(1)ifile
(2)SBSettings (from bigboss), touch panel top from left to rigth can call sbs, and touch top anyaway to close
(a)Autolock SBSettings
(b)iPod Widget
(c)SBSettings Tethering Toggle
(d)SBSettings VPN Toggle
(e)Veency SBSettings Toggle, when you have installed {Veency}
(f)Display Out
(3)infinidock (iphone, add app icon below into sprintboard)
(4)Safari Download Manager (for Safari, it can use with iFile)
(5)Yourtube 2 (iOS4)(download video to iphone)
(6)WeekinCal
(7)AttachmentSaver (iphone)
(8)infinifolders (vertical scroll when open subfolder and select icon)
(9)MultiCleaner (the end this app when you hold on [home] button in it)
(10)My3G
(11)MyWi
(12)WeatherIcon (iphone)
(13)AnyRing (iphone)
(14)liveclock (iphone)
(15)iAcces
(16)MultiMusicInfo
(17)iBlacklist
d.other app
(1)alarm clock
(2)weatherpro(HD)
(3)Camerafor (iphone & ipad)
(4)mental note
(5)eRead
(6)土豆網
(7)SoundHound
(8)電子書工具
(9)leonradio
(10)TVUplayer
(11)air video
(12)facebook
(13)mobile fotos
(14)blogpress
(15)ostoora
(16)微博
(17)mbox mail
(18)buzzie
(19)messenger
(20)gtalk
(21)skype
(22)y!messenger
(23)nimbuzz
(24)QQ
(25)docstogo
(26)pdfreader pro
(27)offline pages
(28)web2pdf
(29)1password
(30)informant
(31)anote
(32)buzz player
(33)page capture
(34)telnet
(35)translator
(36)print hp (iprint)/ epson (eprint)
(37)realvnc
(38)worldcard
(39)萬年曆
(40)i68國道資訊
(41)PAPAGO!M8
(42)power universe
(43)solar walk
(44)retouch
(45)live cams
(46)BlueWaves (shark iphone to transfer anything by bluetooth)
(47)ezShare (SMB, FTP, DOC)
(48)appbox pro
e.game iphone connect ipad
(1)ipad kl dartboard / iphone darts pro
(2)ipad padracer

iphone 3GS ios 4.2.1 8c148a jailbreak by redsn0w

  • iTunes upgrade to newest
  • iPad connect to pc and backup
  • download {iPhone2,1_4.2.1_8C148a_Restore.ipsw}
  • download {redsn0w.exe version 0.9.6rc8}

2010年12月10日 星期五

iPad iOS 4.2.1 8C148 JailBreak By RedSn0w

Ready

  • iTunes upgrade to newest
  • iPad connect to pc and backup
  • download {iPad1,1_4.2.1_8C148_Restore.ipsw}
  • download {redsn0w.exe version 0.9.6b6}

JailBreak

  • turn off ipad before connect to pc
  • double click {redsn0w.exe with your os}
  • click {browse} to select {iPad1,1_4.2.1_8C148_Restore.ipsw} and click {next}
  • checkbox {install cydia} and {next}
  • click {next}
    1. press and keep the {power button} to turn on ipad, and press the {home button}
    2. keep button for 10 sec both before release the {power button}
    3. keep the {home button} for 10 sec before release it
    4. start jailbreak and boot when the ipad in DFU
  • see the cydia white icon on springboard
  • go {Boot when ipad will reboot or turn on}

Boot (when your ipad reboot or turn on power must use it)

  • turn off ipad before connect to pc
  • double click {redsn0w.exe with your os}
  • click {browse} to select {iPad1,1_4.2.1_8C148_Restore.ipsw} and click {next}
  • checkbox {just boot tethered right now} and {next}
  • click {next}
    1. press and keep the {power button} to turn on ipad, and press the {home button}
    2. keep button for 10 sec both before release the {power button}
    3. keep the {home button} for 10 sec before release it
    4. start jailbreak and boot when the ipad in DFU
  • see and click the cydia icon is work now

My iPad

12/6 iPad wifi with 3G 64GB come home.....