用 Bézier 曲线做路径画浮云动画〜〜
http://www.cocoachina.com/bbs/read.php?tid-11425-fpage-2.html
线程
http://www.cocoachina.com/bbs/read.php?tid-3035-fpage-3.html
http://stackoverflow.com/questions/2399960/how-to-customize-navigationbar-color-of-mfmailcomposeviewcontroller
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
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/
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 [...]
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 &&
[...]
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 [...]
Open Source iPhone App Store Apps
http://www.cocoachina.com/bbs/read.php?tid-18198-fpage-4.html
http://www.cocoachina.com/bbs/read.php?tid-16268-fpage-13.html
解析附近的map信息
http://www.jb51.net/article/19193.htm
toolbar in talbe
http://itunes.apple.com/us/app/tweetie-2/id333903271?mt=8
http://www.cocoachina.com/bbs/read.php?tid-21494-fpage-15.html
来自 http://lichen1985.com/blog/?p=251
我找到了一个最为有效的解决方案:你以release模式编译的程序不会用NSLog输出,而你以debug模式编译的程序将执行NSLog的全部功能。
#ifndef __OPTIMIZE__
# define NSLog(…) NSLog(__VA_ARGS__)
#else
# define NSLog(…) {}
#endif
翻页效果
http://oleb.net/blog/2010/06/app-store-safe-page-curl-animations/
http://github.com/brow/leaves
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