admin on July 4th, 2010

CoreText example: Column Layout (correctly inverted text)

继续阅读..

admin on July 1st, 2010

免费iPad应用软件推荐
理解iPhone项目的BaseSDK和DeploymentTarget含义
image process
http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/
Rendering PDF is easier than you thought
Drawing on UIImages

继续阅读..

admin on June 28th, 2010

WPTouch
iPhone中将字符串转化为方法的方案 
 
1. NSString *strSelector;
2. SEL sel = NSSelectorFromString(strSelector);
3. if ([self respondsToSelector:sel])
4. ret = [self performSelector:sel withObject:(id)state];
5.
phone开发中切换两个sub view的层次关系方法 
 
假设这两个子视图的tag分别为1000,和1001,则代码如下:
NSInteger index1 = [[parentView subviews] indexOfObject:[parentView viewWithTag:1000]];
NSInteger index2 = [[parentView subviews] indexOfObject:[parentView viewWithTag:1001]];
[parentView exchangeSubviewAtIndex:index1 withSubviewAtIndex:index2];
上传图片到服务器
the iPhone Gradient Buttons project
Categories as Stylesheets
good site
http://akosma.com/2010/06/03/objective-c-categories-as-stylesheets/

继续阅读..

admin on June 26th, 2010

Now since you have a custom built button, u can assign any title/image as you like.
In order to remove the navigation bar from showing up when you go back, in the ‘callview’ method define an instance of the application delegate where the navigationcontroller is instantiated and assign its navigationBar’s hidden property as TRUE. Something like [...]

继续阅读..

admin on June 26th, 2010

for (Shop *shop in self.shops) {
ShopAnnotation *ann = [ShopAnnotation annotationWithShop:shop];
[self.mapView addAnnotation:ann];
CGPoint annPoint = [self.mapView convertCoordinate:ann.coordinate
toPointToView:self.mapView];
if (annPoint.x > 0.0 && annPoint.y > 0.0 &&
[...]

继续阅读..

admin on June 25th, 2010

http://duivesteyn.net/2010/01/16/iphone-custom-tabbar-background-image/
OBGradientView is a very simple UIView subclass that wraps the functionality of CAGradientLayer in a view. It exposes all of the layer’s gradient-related properties (colors, locations, startPoint, endPoint, and type) as its own properties. Calls of the setters and getters are simply forwarded to the underlying CAGradientLayer so you can use the same syntax
Customizing UINavigationBar
iPhone [...]

继续阅读..

admin on June 20th, 2010

http://uxebu.com/blog/2010/02/15/eventninja-a-mobile-cross-platform-app/#more-934
http://randymcmillan.net/iwebkitphonegap

继续阅读..

UIWebView: Dynamically Modify HTML documents
QTouch is a jQuery plugin that allows development of iphone web applications with native animations and default application styles. Alpha release is available here.
Multi Threaded Image Loading
good sdk tutorials
http://www.aboutobjects.com/tutorials.html
User Interface Design Example Using Phonegap and JQTouch
http://maniacdev.com/
UITextField Validation That Also Handles Copy/Paste

继续阅读..

admin on June 18th, 2010

http://spitzkoff.com/craig/?feed=rss2
http://stackoverflow.com/questions/1873755/iphone-mapkit-update-annotations-coordinates-and-map
http://stackoverflow.com/questions/218252/is-there-a-way-to-place-a-pin-into-the-google-maps-iphone-app-using-openurl
http://appsamuck.com/day8.html
http://developer.apple.com/iphone/library/samplecode/MapCallouts/Introduction/Intro.html
http://stackoverflow.com/search?q=iphone+map+pin+update

继续阅读..

admin on June 17th, 2010

提供高品质iPhone&iPad UI设计服务.欢迎合作.
ansca 同时支持iPad/Android开发的第三方控件

继续阅读..