摘要: i use this solution :After finding this StackOverflow article:http://stackoverflow.com/questions/5543854/xcode-4-cant-locate-public-header-files-from-static-library-dependancyTurned out that setting my headers path to: "$(PROJECT_TEMP_DIR)/../UninstalledProducts/include" made it finally pr 阅读全文
posted @ 2012-07-22 21:08 snowlueng 阅读(698) 评论(0) 推荐(0) 编辑
摘要: this article would help you!see :http://soulwithmobiletechnology.blogspot.jp/2011/03/how-to-create-distribution-build-with.html 阅读全文
posted @ 2012-07-22 20:58 snowlueng 阅读(111) 评论(0) 推荐(0) 编辑
摘要: solution:After further investigation we found that if you import a header file that in turn imports the same framework header file than the .pch already does, then CodeSense will break.link on stack overflow:http://stackoverflow.com/questions/2138047/xcode-code-loses-syntax-coloring 阅读全文
posted @ 2012-07-18 22:42 snowlueng 阅读(187) 评论(0) 推荐(0) 编辑
摘要: see:http://stackoverflow.com/questions/50467/how-do-i-size-a-uitextview-to-its-contentcode:CGRectframe=_textView.frame;frame.size.height=_textView.contentSize.height;_textView.frame=frame;note this line:One thing to note is that the correct contentSize is only availableafterthe UITextView has been a 阅读全文
posted @ 2012-07-17 23:59 snowlueng 阅读(142) 评论(0) 推荐(0) 编辑
摘要: apple developer library(chinese):http://www.apple.com.cn/developer/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/WindowsandViews/WindowsandViews.html#//apple_ref/doc/uid/TP40007072-CH8-SW4apple developer library(english,just property):http://developer.apple.com/library/ios/ 阅读全文
posted @ 2012-07-17 21:00 snowlueng 阅读(121) 评论(0) 推荐(0) 编辑
摘要: [self.navigationBarsetBackgroundImage:[UIImageimageNamed:@"yourpngfile.png"]forBarMetrics:UIBarMetricsDefault];use this method;carefully : self.navigationBar may use in Subclass of UINavigationController,not self.navigationController.navigationBar 阅读全文
posted @ 2012-07-17 14:25 snowlueng 阅读(201) 评论(0) 推荐(0) 编辑
摘要: see this:http://c.gzl.name/archives/tag/uitableview 阅读全文
posted @ 2012-07-14 00:20 snowlueng 阅读(117) 评论(0) 推荐(0) 编辑
摘要: In UINavigation,back button is left-point shape style button.if you want to change the text and keep the style ,you can do this :use the navigation property : backBarButtonItemsee this (apple doc):https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UINavigationItem_Class/Reference 阅读全文
posted @ 2012-07-13 11:18 snowlueng 阅读(163) 评论(0) 推荐(0) 编辑
摘要: copy "Reachability.h","Reachability.m" in your project directory. add "SystemConfiguration.farmework" in your build target. if you get some build error,read this link:http://stackoverflow.com/questions/10119239/adding-reachability-class-fails-when-i-am-trying-to-build 阅读全文
posted @ 2012-07-05 00:22 snowlueng 阅读(123) 评论(0) 推荐(0) 编辑
摘要: it takes me many time in this:when i use TTListDataSource for TTTableViewController ,i update the TTListDataSource and the TTTableViewController can't reload data,as that,you may use TTModel for dataSource(demo in three20,TTCatalog project)but the point is when you update reflesh the TTModel sub 阅读全文
posted @ 2012-06-30 01:54 snowlueng 阅读(225) 评论(0) 推荐(0) 编辑