原创 UINavigationController Customization Tutorial
In this tutorial I’ll go through various tasks that are usually performed with a navigation controller. Feel free to
原创 UIVIEW drawing content和layout的概念
Drawing and printing: drawRect: - Implement this method if your view draws custom content. If your view does not do
原创 User Interface Customization in iOS 5
做項目過程中,需要自定義一些控件外觀,發現略微有些複雜,先記錄下來,這些個性化的外觀只是使用於IOS5.0,如[UISegmentedControl appearance]; appearance只有在IOS5裏纔可使用,如果你的部屬環境
原创 CATransition 的初級應用及type屬性
需要在frameworks中添加QuartzCore.framework 在接口程序中加上頭文件 #import <QuartzCore/QuartzCore.h> /*好多動畫效果*/ CATransition *tran
原创 獲取ios設備當前的系統版本
if [[[UIDevice currentDevice]systemVersion]floatvalue]>4.9 { [UINavigationBar setBackgroundImage:[UIImage imageNamed
原创 設置UITableView可以刪除或插入數據的模式
需要對UITableView中的cell數據做刪除和添加的時候,即使所有的回調方法都實現了,但是如果沒有把tableview的editing屬性設置爲yes,會導致添加或刪除的樣式還是不會顯示出來,即對UITableView這個對象還是不
原创 Switch viewcontroller with annimnation
http://www.devx.com/wireless/Article/42476/1954
原创 使用CAtransition類需要注意到的問題
在使用CAtransition做頁面之間動畫切換的時候,對於個別方法的設置需要注意。在查閱資料的過程中,發現對於setTimingFunction方
原创 Custom UINavigationBar: Two Techniques
A key component of almost any iPhone or iPad app is the UINavigationBar.
原创 iOS SDK中使用NSXMLParser解析XML
iOS SDK中使用NSXMLParser解析XML iOS SDK的NSXMLParser解析XML文檔是事件驅動模式的,即採用SAX方式來解析XML格式文檔。NSXMLParser在處理XML文檔的過程中當遇到一些要素(元素、屬性、C
原创 how to set UITableViewCell background image
UIView *cellBackView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; cellBackView.backgroundColor = [UIColor
原创 iPhone調用java的webService
Java代碼 package com.xiva.service; import org.apache.axis2.context.Messag
原创 ios 畫圖總結
0 CGContextRef context = UIGraphicsGetCurrentContext(); 設置上下文 1 CGContextMoveToPoint 開始畫線 2 CGContextAddLineToPoint 畫直線
原创 UINavigationController學習筆記
1-view controllers的關係: Each custom view controller manages a distinct view hierarchy but a navigation controller coordi
原创 iOS平臺XML解析類庫對比和安裝說明
在iPhone開發中,XML的解析有很多選擇,iOS SDK提供了NSXMLParser和libxml2兩個類庫,另外還有很多第三方類庫可選,例如TBXML、TouchXML、KissXML、TinyXML和GDataXML。問題是應該