不疯不成魔

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  iOS学习之路

1 2 3 4 下一页

摘要:1、在不同的应用中,有关状态栏的样式是不定的,系统的默认样式是黑色的,然而有一些应用是需要白色的,所以就需要进行相关的设置,设置状态栏的样式有2种方式,下面分别讲述一下。 2、方法一: 直接在需要改变默认状态栏样式的控制器中实现一个方法(其他任何事情都不用做): 这个方法会在界面调用的时候实现,并且 阅读全文
posted @ 2017-11-16 14:15 不疯不成魔 阅读(1112) 评论(0) 推荐(0)

摘要:文章来自http://www.jianshu.com/p/47c1377c61d6 https://www.cnblogs.com/Rinpe/p/5670017.html 111.png 工程配置信息中设置显示launchImage:1、删除Launch Screen File2、在Launch 阅读全文
posted @ 2017-11-16 13:58 不疯不成魔 阅读(1888) 评论(0) 推荐(0)

摘要:使用终端命令行将本地项目上传到Github 对于IOS开发者来说,Github的使用是必须要掌握的一种技能,而把项目由本地上传到Github有多种方式,1开发工具Xcode配置Git,由Xcode-->Source Control-->Commit;2使用Github客户端上传代码;3使用终端命令行 阅读全文
posted @ 2017-11-14 19:36 不疯不成魔 阅读(329) 评论(0) 推荐(0)

摘要:1.创建项目,项目中的非代码移到Suppoing Files中 2.创建对应的开发模块 3.搭建项目中的主体框架 一、微信主流框架的搭建 1. 在AppDelegate中,将window的rootViewController设置为带有UITabBarController的导航控制器; 2. 创建子控 阅读全文
posted @ 2017-05-03 16:43 不疯不成魔 阅读(202) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2016-10-20 09:44 不疯不成魔 阅读(189) 评论(0) 推荐(0)

摘要:xcoe7数据显示NSAllowsArbitraryLoadsNSAppTransportSecurity//自己设置主窗口 阅读全文
posted @ 2015-11-12 14:15 不疯不成魔 阅读(140) 评论(0) 推荐(0)

摘要:#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWith... 阅读全文
posted @ 2015-10-27 14:24 不疯不成魔 阅读(189) 评论(0) 推荐(0)

摘要:#import "ViewController.h"#import "Person.h"#import "Student.h"@interface ViewController (){ NSString *_text;}@property (weak, nonatomic) IBOutlet ... 阅读全文
posted @ 2015-10-27 14:12 不疯不成魔 阅读(167) 评论(0) 推荐(0)

摘要:UIView *yellowView = [[UIView alloc] initWithFrame:CGRectMake(30, 30, 200, 200)]; yellowView.backgroundColor = [UIColor yellowColor]; [self.wind... 阅读全文
posted @ 2015-09-19 11:08 不疯不成魔 阅读(198) 评论(0) 推荐(0)

摘要:#import "TextViewController.h"@interface TextViewController ()@end@implementation TextViewController/* UITextView文本视图相比与UITextField直观的区别就是UITextView可以... 阅读全文
posted @ 2015-09-18 17:38 不疯不成魔 阅读(273) 评论(0) 推荐(0)

摘要:#import "RootController.h"@interface RootController ()@property (nonatomic, retain) NSMutableArray *dataList; // 存储数据源@property (nonatomic, retain) NS... 阅读全文
posted @ 2015-09-18 17:34 不疯不成魔 阅读(231) 评论(0) 推荐(0)

摘要:#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain) UITextField *textField;@end@implementation RootViewControl... 阅读全文
posted @ 2015-09-18 17:32 不疯不成魔 阅读(5310) 评论(0) 推荐(0)

摘要:#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ... 阅读全文
posted @ 2015-09-18 17:29 不疯不成魔 阅读(585) 评论(0) 推荐(0)

摘要:#import int main(int argc, const char * argv[]) {// 一: copy 与 retain 的区别// 谁才有引用计数的概念:// 1. 堆区空间才有引用计数概念.// 2. 堆区的对象才会有引用计数. //%ld: - 1... 阅读全文
posted @ 2015-09-18 17:17 不疯不成魔 阅读(305) 评论(0) 推荐(0)

摘要:#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ... 阅读全文
posted @ 2015-09-17 22:36 不疯不成魔 阅读(215) 评论(0) 推荐(0)

摘要:用了三个第三方- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow all... 阅读全文
posted @ 2015-09-17 20:01 不疯不成魔 阅读(207) 评论(0) 推荐(0)

摘要:#import "AppDelegate.h"@interface AppDelegate (){ NSInteger _totalTickests;}@property (nonatomic, retain) NSLock *lock;@end@implementation AppDeleg... 阅读全文
posted @ 2015-09-17 19:32 不疯不成魔 阅读(320) 评论(0) 推荐(0)

摘要:#import "OneViewController.h"@interface OneViewController ()@end@implementation OneViewController- (void)viewDidLoad { [super viewDidLoad]; // D... 阅读全文
posted @ 2015-09-17 19:27 不疯不成魔 阅读(297) 评论(0) 推荐(0)

摘要:#import "ViewController.h"#import "UITextField+Shake.h"@interface ViewController ()@property (retain, nonatomic) IBOutlet UIImageView *balloonImage;@p... 阅读全文
posted @ 2015-09-17 19:17 不疯不成魔 阅读(221) 评论(0) 推荐(0)

摘要:#import "AppDelegate.h"#import "FirstTableViewController.h"#import "SecondTableViewController.h"#import "ThirdTableViewController.h"#import "FourthTab... 阅读全文
posted @ 2015-09-15 20:51 不疯不成魔 阅读(181) 评论(0) 推荐(0)

1 2 3 4 下一页