随笔分类 -  iOS

摘要:以WeiboHelper单例为例子:头文件: 1 #import 2 3 #import "WeiboSDK.h" 4 5 6 7 @interface WeiboHelper : NSObject 8 9 10 11 + (WeiboHelper *)sharedWeiboHelper;12 13 14 15 - (void) WBAuthorize;16 17 - (void)sendTextContent:(NSString *)text;18 19 - (void)sendTextContent:(NSString *)text imageData:(NSData 阅读全文
posted @ 2013-12-17 11:13 坤坤同学 阅读(1921) 评论(0) 推荐(0)
摘要:上次说用svn add命令添加.a文件,下面是另外的一种解决办法:修改~/.subversion/config文件,增加一条# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo这样就ok了。 阅读全文
posted @ 2013-11-24 09:24 坤坤同学 阅读(5086) 评论(0) 推荐(0)
摘要:在mac下很多svn管理工具默认都不能上传.a文件,但是用命令行可以解决此问题。打开终端,cd 进入到需要上传的.a文件所在的文件夹。确保 ls能看到.a文件然后使用命令,如:svn add libWeiboSDK.a使用完成后出现:A (bin) libWeiboSDK.a表示添加成功,用svn图形管理工具就可以看到,刚才添加的.a文件,此时就可以手动上传了。 阅读全文
posted @ 2013-11-14 09:59 坤坤同学 阅读(539) 评论(0) 推荐(0)
摘要:1:statusBar字体为白色在plist里面设置View controller-based status bar appearance 为 NO;设置statusBarStyle 为UIStatusBarStyleLightContent2:设置statusBar和navigationbar为一体[nav.navigationBar setBackgroundImage:[UIImage imageNamed:@"bg_navbar.png"] forBarPosition:UIBarPositionTopAttached barMetrics:UIBarMetrics 阅读全文
posted @ 2013-10-23 10:06 坤坤同学 阅读(1838) 评论(0) 推荐(0)
摘要:1. Terms and conditions(法律与条款)1.1As a developer of applications for the App Store you are bound by the terms of theProgram License Agreement(PLA), Human Interface Guidelines (HIG), and any other licenses or contracts between you and Apple. The following rules and examples are intended to assist you 阅读全文
posted @ 2013-10-22 09:25 坤坤同学 阅读(4187) 评论(0) 推荐(0)