
iOS
文章平均质量分 88
gnicky
这个作者很懒,什么都没留下…
展开
-
animation tableview
[self.tableView beginUpdates]; // remove row exists [self.tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:(rows exists) withRowAnimation:UITableViewRowAnimationFade]; (chang data source h原创 2012-03-26 16:28:16 · 932 阅读 · 0 评论 -
关于iOS项目开发控制
The effort of design and development of mobile device applications is significantly more complex and contains greater number of nuances than a similar one targeting a PC.Nevertheless, we devised a转载 2012-03-29 13:26:14 · 548 阅读 · 0 评论 -
ui 自定义的度如何把握
http://www.buildingiphoneapps.com/buildingiphoneapps/2010/12/20/user-interface-customize-or-not-that-is-the-question.htmlGreat example of custom design of standard UI ele转载 2012-04-04 17:25:05 · 555 阅读 · 0 评论 -
Icons and launch images for iPhone and iPad apps
Question: As a graphic designer I often have to design icons, logos, launch and background images for iPhone applications. Latest apps run on iPhone 3G, iPhone 3GS, iPod Touch 3, iPhone 4GS and iPad a转载 2012-04-04 14:07:58 · 2813 阅读 · 0 评论 -
iOS要怎么样的美工
http://pttrns.com/For iOS developers who hire designers to help them create their beautiful applications, here is a list of things they should communicate to the designers to get him started and转载 2012-04-04 17:33:57 · 598 阅读 · 0 评论 -
在iphone/ipad 上预览阅读服务器端的 PDF not UIDocumentInteractionController
or this you require the QuickLook Framework and its class called as the QLPreviewController. With the help of this class you can view documents likea) iWork Documentsb) Microsoft Office Docume转载 2012-04-04 17:16:02 · 1522 阅读 · 0 评论 -
Git branch management with Xcode
Xcode has supported Git for version control since version 4.0 but I generally prefer to perform my version control from the command-line. The only version control operation that I do sometimes perfo转载 2012-04-04 20:19:10 · 945 阅读 · 0 评论 -
tableview 自定义可水平拖动
easyTable under documents folder:https://github.com/SlavaBushtruk/EasyTableViewSo now you can create simple partial screen table views, either vertically or horizontally, with the same i转载 2012-04-05 23:12:06 · 960 阅读 · 0 评论 -
超越默认splitviewcontroller功能的MGSpliatviewController
https://github.com/mattgemmell/FeaturesPlease note that, since split-views are commonly used for "Master-Detail" interfaces, I call the first sub-view the "master" and the second sub-vie转载 2012-04-05 23:16:08 · 868 阅读 · 0 评论 -
iOS的美工要什么工具
1。 photoshop 所有美工的必用工具2。 GUI element 能够直接在photo shop中使用的 ipad vector GUI elements: tabs buttons menus icons http://iconlibrary.iconshock.com/icons/ipad-vector-gui-elements-tabs-buttons-原创 2012-04-05 16:50:30 · 1181 阅读 · 0 评论 -
一些常见又好用的代码
部分一:关于改变labelReturns a rectangle that is smaller or larger than the source rectangle, with the same center point. CGContextRef context=UIGraphicsGetCurrentContext(); //draws a recta原创 2012-04-08 13:08:07 · 894 阅读 · 0 评论 -
icon 大小集合
Drag the following files into the project window iPhone folder (if designing for iPhone):Icon.png (57x57px)Icon@2x.png(114x114px)Icon-Small.png (29x29px)Icon-Small@2x.png (58x58px)转载 2012-04-08 16:28:58 · 1212 阅读 · 0 评论 -
iPad程序多方向支持的多种方式
[原]http://my.oschina.net/plumsoft/blog/47289 ::::加些理解::::苹果的产品iPad和iPhone都是支持自动旋转的,因而我们写的程序也要支持两种视图:纵向和横向。默认情况下,我们写的程序都是纵向的,就像前边的几个例子中那样。如果运行以前写的程序,当把模拟器旋转,你会发现很不友好,有的控件看不见了。这个时候,自动旋转就转载 2012-04-07 21:22:29 · 1430 阅读 · 0 评论 -
easytableview的代码阅读
先看一下效果,整体来看没啥特别的:右侧和下方两个可拖动的table view,单元格是定制的,半透明也值得看看。总的背景图,要么是background image要么就是一个image view作为图层下方的tableview可以水平方向滚动,这个是比较特别的,by default, table不支持这样的scroll的 决定第一显示内容的代码:比较特别是直接用了VCon原创 2012-04-08 15:27:36 · 2012 阅读 · 0 评论 -
缓冲执行动作
主要是两个东西,第一就是取消之前的request,这个问题关系到取消会不会产生影响。第二就是延迟0.2调用,保证用户有0.2的时间去改变主意 { //延时调用 [UIApplicationcancelPreviousPerformRequestsWithTarget:selfselector:@selector(realReloadData:) object:nil];原创 2012-04-08 14:09:01 · 534 阅读 · 0 评论 -
安装xcode 3.2.6 于 xcode 4已安装10.3.7
目前来看,实践下来看:以下方式是靠谱的Change system date(20120403 to 20110403), and spell magic command(export COMMAND....).Set the machine's date back to March 1, 2012. This works around the CSSMERR_TP_CERT原创 2012-04-09 23:28:21 · 886 阅读 · 0 评论 -
mac iphone ipad 截图六方法汇总
方法一:原生态,Command-Shift-3 直接把整个桌面作为 PNG 格式保存 Command-Shift-4功能类似,但可以自由圈定范围了 。Ctrl+Command-Shift-3. 可以控制文件保存的位置,但格式变化不了方法二:grab,自带的一个程序,较灵活,支持4个方式选择图形,文件自由保存到任何位置。方法三:Xcode’s Orga原创 2012-04-09 20:03:57 · 1163 阅读 · 0 评论 -
iOS splitviewer controller
http://useyourloaf.com/blog/2011/10/19/ios-5-split-view-controller-changes.htmlThe split view is something very cool within the new iPhone OS 3.2. It allows us to visualize a master-detail view原创 2012-04-10 15:12:04 · 992 阅读 · 0 评论 -
iOS指南系列:使用QLPreviewController浏览文档
在iOS SDK包括了QLPreviewControllerAPI,组件允许用户浏览许多不同的文件类型,如XLS文件,Word文档文件,PDF文件。约翰已创建了一个示例应用程序演示使用QLPreviewController。在示范中,您可以查看几个不同的文件类型,甚至打印(使用无线打印机。)随着一个简短的教程,我们解释实施QLPreviewController的基础步骤,你可以找到约翰的例翻译 2012-04-13 17:33:56 · 15399 阅读 · 1 评论 -
iOS指南系列:关于进度条的问题
项目主要是演示如何使用progresview以及适当自定义:先看自定义得怎么做的?我们看到画图中唯一和value有关系得就是计算填充颜色得宽度,这个就是进度得一个表示,如果要做垂直得进度条,那么就选用高度*value@interface MyProgressView :UIView@synthesize value; //进度表示的值- (void)drawRect原创 2012-04-24 11:19:52 · 1272 阅读 · 0 评论 -
使用fmdb进行SQLlite 操作
ARC还是手工管理内存在你的cocoa项目中,可以任意地使用,fmd在编译选项中判断作出正确的选择UsageThere are three main classes in FMDB:FMDatabase - Represents a single SQLite database. Used for executing SQL statements.FMR原创 2012-04-24 13:15:11 · 1654 阅读 · 0 评论 -
关于版本系统的判断
It seems for me that the question is a duplicate, but I'll try to brief all I know about device type and iOS version detection.There are several methods based on which information you want to rece转载 2012-04-11 19:43:46 · 527 阅读 · 0 评论 -
a NavigationController in the details side within MGSplitViewController
http://forums.macrumors.com/showthread.php?t=1091071Just wondering if anybody has managed to get the MGSplitViewController (http://mattgemmell.com/2010/08/03/mg...roller-updated) wor原创 2012-04-11 13:30:47 · 1286 阅读 · 0 评论 -
关于解决MGSPlitview iOS版本兼容性问题
问题:运行在4.3模拟器上的程序,到5.01失败了,错误信息如下MGSplitView[839:f803] *** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'child view controller: should have pare原创 2012-04-11 22:23:47 · 1376 阅读 · 0 评论 -
关于一种移动端门户的设计和IOS APNS的关联
昨天喝茶,学院派导师聊到一个架构,PSDL-portal service describe language.主要思想是封装了数据/操作序列/view(甚至view container)然后这个与此有关的东西APNS:A push notification is a short message that consists of the device token, a payload原创 2012-04-24 16:28:25 · 1624 阅读 · 0 评论 -
background and notification of local
Scheduling the Delivery of Local NotificationsNotifications are a way for an app that is suspended, is in the background, or is not running to get the user’s attention. 本地消息主要用于获得用户注意,可见方式有显示alert转载 2012-04-25 15:51:39 · 1139 阅读 · 0 评论 -
PDF 阅读和PDF 全功能库
PDF 阅读,专业的,无冲突的市场,从什么地方来,买国外的library,搞自己的底层library?看了好几个了:(当然可以先学习下QLPreviewControllerQLPreviewController and on the QLPreviewController is a dataSource that has to conform to QLPreviewItem. The原创 2012-04-13 16:37:50 · 1877 阅读 · 0 评论 -
活跃的magnify glass效果开源项目
magnifying 放大镜效果,在iOS的note以及其他的一些阅读类应用上,这个使用很平凡,而且看上去非常一致。ACMagnifyingGlass is a magnifier like the one you can find in the notes iOS app when moving the cursor. 当鼠标/持续touch移动,放大镜把内容放大后显示原创 2012-04-25 01:22:58 · 1314 阅读 · 0 评论 -
Sample code collection for iOS
http://www.raywenderlich.com/tutorials ---tutorials....Introducing the iOS 5 FeastUser Interface Customization in iOS 5Beginning Storyboards in iOS 5 Part 1Beginning Storyboa原创 2012-04-05 09:03:54 · 609 阅读 · 0 评论 -
图书类内容类应用的东西
内容杂志类的app典型界面就是陈列/购买/阅读(往往阅读的体验部分是最重要的,内容当然也非常重要)it can be a general purpose PDF or e-pub reader, or use (but this is not recommended as the capabilities are quite limited) the system Preview fe翻译 2012-04-25 16:55:57 · 854 阅读 · 0 评论 -
为什么选择ASIHttpRequest 而非NSURLRequest
第一:Why use ASIHttpRequest over NSURLRequestASIHTTPRequest is just significantly easier to use. You don't have to concatenate data blocks manually, POST requests are easy to construct, blocks a转载 2012-04-25 17:59:42 · 2615 阅读 · 0 评论 -
OpenFlow library实现的cover flow效果
号称是apple自己不开放出来,这下好了openflow,感谢这帮牛人!环境iOS SDK 5.0+Dev环境Xcode4.2.3下载https://github.com/thefaj/OpenFlow,直接原文件copy到项目,build编译2处警告:1. warning: Semantic Issue: Writable atomic property 'number'转载 2012-04-25 22:16:34 · 1415 阅读 · 0 评论 -
How to change the Push and Pop animations in a navigation based app
I have a navigation based application and I want to change the animation of the push and pop animations. How would I do that?========This is how I've always managed to complete this task.转载 2012-04-15 08:00:05 · 1078 阅读 · 0 评论 -
iOS指南系列:如何解决内存问题 深入调试 结尾篇
iOS指南系列:如何解决奔溃问题iOS指南系列:如何解决奔溃问题-关于内存访问iOS指南系列:如何解决奔溃问题-关于内存访问续iOS指南系列:如何解决奔溃问题-关于内存访问续iOS指南系列:如何解决奔溃问题-深入调试iOS指南系列:程序运行非我所设想:tableviewiOS指南系列:如何解决内存问题 深入调试 结尾篇Zombies!翻译 2012-04-15 12:58:58 · 7008 阅读 · 2 评论 -
Tutorial 关于PNS
How To Enable PHP & MySQL in Snow Leopardhttp://osxfactor.com/2009/08/30/how-to-enable-php-mysql-in-snow-leopard/http://foundationphp.com/tutorials/php_leopard.phpcreating a REST API with PHPHow To原创 2012-04-14 15:31:55 · 942 阅读 · 0 评论 -
iOS指南系列:如何解决奔溃问题-关于内存访问续
Push the Button现在的应用程序工程 - 或者至少是没有问题的开始 - ,点击该按钮运行。Woah! 程序又崩溃了 SIGABRT ,还在 main.m. 在调试窗格中的错误消息是:Problems[6579:f803] -[MainViewController buttonTapped]: unrecognized select翻译 2012-04-14 17:27:35 · 30534 阅读 · 0 评论 -
iOS指南系列:如何解决奔溃问题-关于内存访问
第一个内存错误我们的第一个问题,应该有解决了。再次运行程序。哎呦,它崩溃,在同一行,现在只显示一个EXC_BAD_ACCESS错误。这意味着应用程序有一个内存管理的问题。内存相关的崩溃的来源往往是很难确定,因为内存破坏可能已在更早前完成得。如果故障的代码一块内存结构破坏,这一结果可能不会出现,直到很久以后,在一个完全不同的地方,程序奔溃了。其实,而在所有翻译 2012-04-13 22:20:37 · 3044 阅读 · 0 评论 -
iOS指南系列:如何解决奔溃问题-深入调试
(lldb)po $eax(unsigned int) $1 = 112518480 Receiver () has no segue with identifier 'ModalSegue'一上来就看到这两行东西,是不是觉得有点用,但又莫名其妙呢与调试器交朋友 Making Friends With the Debugger对于最近的这个crash点,代码如下:翻译 2012-04-14 21:52:19 · 5107 阅读 · 0 评论 -
iOS指南系列:如何解决奔溃问题
没有任何crash发生,在我们来看是最好的:你工作愉快,对您的应用程序,一切都很好!然后突然 - 噗! - 崩溃。 aaargh!! (提示悲伤的小提琴。)首先要做的是:不要惊慌!修复崩溃并不需要是很难的。如果你吓坏了,并开始随意改变事情,你很可能使局势恶化;你如果期望只说出正确的咒语,希望错误会奇迹般地消失,你在做梦。相反,你需要采取有条不紊的方法,并学习如何通过自己的方式找崩溃的原因。翻译 2012-04-13 21:45:28 · 6366 阅读 · 0 评论 -
iOS指南系列:如何解决奔溃问题-关于内存访问续
Messing with Memory:iOS指南系列:如何解决奔溃问题iOS指南系列:如何解决奔溃问题-关于内存访问iOS指南系列:如何解决奔溃问题-关于内存访问续iOS指南系列:如何解决奔溃问题-关于内存访问续你知道演练过程了:运行程序,点击按钮,等待崩溃。没错!又来一内存访问错误的问题 EXC_BAD_ACCESS, yik翻译 2012-04-14 21:14:10 · 2276 阅读 · 0 评论