上一页 1 2 3 4 5 6 7 ··· 9 下一页

2011年4月27日

Custom colored UITabBar icons

摘要: Custom colored UITabBar iconsOctober 6, 2010 in iPhone & iPad by Tom Van HerrewegheOn the iPhone, there is no such thing as a menu. When you create an application, you will usually work with a drill-down structure called NavigationController, or with the TabBarController. The difference between 阅读全文

posted @ 2011-04-27 17:43 GaryGaryGary 阅读(144) 评论(0) 推荐(0)

Modal方式显示UIView

摘要: + (void)showModal:(UINavigationController*)parentController{ static LoginController* sharedController; static UINavigationController *navigationController; if(!sharedController) { sharedController = [[LoginController alloc] initWithNibName:@"Login" bundle:nil modal:YES]; navigationControll 阅读全文

posted @ 2011-04-27 13:25 GaryGaryGary 阅读(176) 评论(0) 推荐(0)

2011年4月26日

creating and drawing on a new UIImage

摘要: creating and drawing on a new UIImage February 23, 2009 Someone asked me how to create a new image and draw another UIImage on it. Here’s the public answer, so everyone can benefit You can make a new image with using core graphics, but there is group of higher ... 阅读全文

posted @ 2011-04-26 17:35 GaryGaryGary 阅读(152) 评论(0) 推荐(0)

standard-ios-element-sizes

摘要: Have you memorized the heights of the status bar, navigation bar, tab bar, etc. for the iPhone? Yeah, me neither so here they are:Core Elements: Carrier Status bar – 20 px UINavigationBar – 44 px UITabBar – 49 px UISearchBar – 44 px UIToolBar – 44 pxData Input: UIPickerView – 216 px UIDatePicker – . 阅读全文

posted @ 2011-04-26 10:01 GaryGaryGary 阅读(124) 评论(0) 推荐(0)

2011年4月21日

iOS中使用RegexKitLite来试用正则表达式

摘要: iOS中使用RegexKitLite来试用正则表达式 收藏 准备工作,下载RegexKitLite软件包,解压后有2个文件,需要加载到project中。然后还要加载framework libicucore.dylib,因为RegexKitLite是调用这个里面的API,苹果规定过不能使用私有的api和没有发布的api。实际上RegexKitLite对NSString做了扩展,目前只支持NSString,对我来说也够了...基本使用的例子(更多信息参看官方文档)1.NSString*searchString=@"Thisisneat.";NSString*re... 阅读全文

posted @ 2011-04-21 14:19 GaryGaryGary 阅读(146) 评论(0) 推荐(0)

2011年4月20日

用坐标计算里程

摘要: 用坐标计算里程代码一private const double EARTH_RADIUS=6378.137; private static double rad(double d) { return d*Math.PI/180.0; }public static double GetDistance(double lat1,double lng1,double lat2,double lng2) { double radLat1=rad(lat1); double radLat2=rad(lat2); double a=radLat1-radLat2; double b=rad(lng1)-.. 阅读全文

posted @ 2011-04-20 16:01 GaryGaryGary 阅读(759) 评论(0) 推荐(0)

计算两个地理坐标之间的距离

摘要: 计算两个地理坐标之间的距离 Posted on 26/09/2010 by James Tang 下面这个函数(PHP实现)用于计算两个地理坐标之间的距离,主要用于处理源自Google地图的坐标数据。验证数据:[48.856667, 2.350987], [38.895113, -77.036366]验证结果:6172.4281776242KM01/**02* Calculate the distance between two coordinates.03* @param array $s, array(float:latitude, float: longitude)04... 阅读全文

posted @ 2011-04-20 15:59 GaryGaryGary 阅读(628) 评论(0) 推荐(0)

移动设备界面开发: 专业Android, iPhone, iPad, Palm Pre设计工具箱

摘要: http://uiclub.blogbus.com/logs/73239992.html用性测试,更关注设计创新!] <<Android UI Design Patterns | 首 页 | 触摸手势参数指南>>2010-08-17移动设备界面开发: 专业Android, iPhone, iPad, Palm Pre设计工具箱 - [设计资源]版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明http://uiclub.blogbus.com/logs/73239992.html从事移动终端设计的朋友,一定对不同平台的设计规范有了解。实际在终端平台上开发软 阅读全文

posted @ 2011-04-20 10:18 GaryGaryGary 阅读(154) 评论(0) 推荐(0)

2011年4月19日

iPhone、iPad 网页抓取工具源码分享

摘要: http://www.cocoachina.com/downloads/video/2010/0817/2020.htmliPhone、iPad 网页抓取工具源码分享时间: 2010-08-17 17:20 CocoaChina 会员gycfz分享了iXpather、iRegex2个网页抓取工具的源代码,对于希望在 iPhone、iPad 应用里嵌入抓取网页内容功能的开发者们一定有所帮助。 截图 附件下载 iXpather.zip (585 K) iRegex.z CocoaChina 会员“gycfz”分享了... 阅读全文

posted @ 2011-04-19 14:58 GaryGaryGary 阅读(299) 评论(0) 推荐(0)

我要搭高鐵Lite版突破10萬次下載及我們從台灣App Store所學到的一些小事

摘要: 我要搭高鐵Lite版突破10萬次下載及我們從台灣App Store所學到的一些小事二月 23, 2011由 Olli Wang 發表 App, App Store, 新聞, Ollix, 台灣, 我要搭高鐵, iPhone 11 個回應 English, 正體中文, 简体中文 TweetShare1感謝所有愛用者的支持,我們的第一個iPhone app「我要搭高鐵」Lite版自上架七個月來全球已經突破10萬次下載了,其中台灣約佔總下載數的93%。我知道這數字跟大家常常在新聞上看到的成功故事裡所提的天文數字仍有很大的一段差距,但考量到這個app幾乎是... 阅读全文

posted @ 2011-04-19 14:45 GaryGaryGary 阅读(126) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 9 下一页

导航