原创 多線程的使用
多線程的使用與注意事項 http://www.yifeiyang.net/iphone-developer-advanced-11-multiple-threads-of-use-and-precautions/ 這一回,主要介紹一下iP
原创 iphone 線程 NSCondition NSThread
多線程在各種編程語言中都是難點,很多語言中實現起來很麻煩,objective-c雖然源於c,但其多線程編程卻相當簡單,可以與java相媲美。這篇文章主要從線程創建與啓動、線程的同步與鎖、線程的交互、線程池等等四個方面簡單的講解一下ipho
原创 防止視頻前的黑屏
HiIn order to make a seamlessly looping video using MediaPlayer (which annoyingly fades in and out of movies) I used
原创 NSTimer實現倒計時 及 定時器用法
-(void)awakeFromNib{ // Create the rendering loop timer renderTimer = [[NSTimer scheduledTimerWithTimeInterval:
原创 Geolocation API Network Protocol
http://code.google.com/intl/zh-CN/apis/gears/geolocation_network_protocol.html#request package cn.MyAndroid.Test; im
原创 Easy inclusion of OpenSSL into iOS projects
Oddly, iOS doesn’t provide any OpenSSL implementation at all — If you want to do anything with crypto (like checki
原创 How To Compile OpenSSL for the iPhone
This is a quick tutorial to show you how to minimally compile a version of the openssl and crypto libraries for the iPh
原创 iphone實例集錦
iPhone 任天堂模擬器http://code.google.com/p/iphonenes/iPhone任天堂模擬器,可以跑很多遊戲。 iPhone 街機模擬器http://code.google.com/p/iphone-sdl-m
原创 MyMoviePlayerController.h 播放器
MoviePlayerController的初始化可以接受一個NSURL的參數,指定播放的視頻資源文件,既可以是本地的,也可以是遠程的。在舊的SDK中,MoviePlayerController只要實例化後調用play方法就可以自動全屏
原创 OpenSSL-安裝與配置指南作者
OpenSSL-0.9.8g :金步國 -------------------------------------------------------------------------------- 版權聲明本文作者是一位自由軟件愛好者
原创 播放器
開發 參考庫 http://developer.apple.com/library/ios/navigation/
原创 iphone之MPMoviePlayer本地視頻 與 遠程視頻
iphone之MPMoviePlayer 視頻播放 iphone的視頻播放官方的例子有問題。這次是費了比較長的時間。 原因是在sdk3.2以後。視頻這一塊官方有很大的改動造成的。 遠程視頻: 本地視頻: 首先需要引
原创 iphone代碼集2
1. stringWithFormat 用法: [NSString stringWithFormat:@"Hight: %d°%@ Low: %d°%@", [Temp],@"C",[lTemp],@"C"];
原创 Playing Video on the iPhone and iPad 播放器
This article discusses the two classes supported in the iPhone SDK for video playback. by Wei-Meng Lee Playing videos
原创 變量命名規則
iPhone項目命名規則 撰寫人:iPhone小組 撰寫時間:2011-3-22 1. 命名 1.1通用規則 1.1.1 不要聲明以一個或多個下劃線 ('_') 開頭的名稱 開頭帶有一個下劃線(“_”)的名