// // ViewController.swift // Swift-String // // Created by luorende on 16/9/10. // Copyright © 2016年 luorende. All rights reserved. // import UIKit c ...
分类:
移动开发 时间:
2016-09-11 20:11:57
阅读次数:
477
// // ViewController.swift // Swift-UIButton // // Created by luorende on 16/9/9. // Copyright © 2016年 luorende. All rights reserved. // import UIKit ...
分类:
编程语言 时间:
2016-09-11 01:26:54
阅读次数:
366
iOS tableview cell 的展开收缩 iOS tableview cell 的展开收缩 #import "ViewController.h" @interface ViewController ()<UITableViewDataSource,UITableViewDelegate>{ ...
分类:
移动开发 时间:
2016-09-08 18:15:18
阅读次数:
204
#import <AVFoundation/AVFoundation.h> #import <AssetsLibrary/AssetsLibrary.h> @interface ViewController ()<AVCaptureFileOutputRecordingDelegate> @prop ...
分类:
其他好文 时间:
2016-09-08 12:53:09
阅读次数:
199
// // ViewController.m // 二维码 // // Created by 123 on 16/9/4. // Copyright © 2016年 彭洪. All rights reserved. // #import "ViewController.h" #import "QRC ...
分类:
其他好文 时间:
2016-09-06 22:44:28
阅读次数:
174
原文链接 前端大概三大块. 基本上每个概念在iOS中都有对应的.HTML请想象成只能拉Autolayout或者设置Frame的ViewController.好比你在网页上放了一个Button,如果用HTML你就可以设置他的摆放位置,在哪哪个控件里.但是你不可以设置大小,颜色,圆角之类的属性.CSS专 ...
分类:
移动开发 时间:
2016-09-05 19:02:53
阅读次数:
251
题目: (参考:陈曦 包子的iOS开发)我在code review的时候,发现了某个viewController中有这样一段代码,觉得很不妥当,请尝试找出代码中的任何问题,或者可以优化的部分。 很多面试者第一反应都是,好像是没什么问题啊。如果再仔细的看一下代码,如果再次回答没什么问题,那么这个人基本 ...
分类:
移动开发 时间:
2016-09-03 23:47:31
阅读次数:
298
获取当前屏幕显示的viewcontroller,然后想怎么跳就怎么跳。 - (UIViewController *)getCurrentVC { UIViewController *result = nil; UIWindow * window = [[UIApplication sharedApp ...
分类:
移动开发 时间:
2016-09-02 13:09:12
阅读次数:
288
1. 创建“WYWaterflowLayout”继承制 “UICollectionViewLayout”。 2. 在“ViewController” 中导入“WYWaterflowLayout”类。并创建,创建的代码如下 @property (nonatomic,weak) UICollection ...
分类:
其他好文 时间:
2016-09-02 12:57:51
阅读次数:
137
一、效果展示 1. 启动界面只有一个按钮 2. 点击按钮,显示文本信息 二、 分析 1. 两个控件UILabel && UIButton 2. 点击按钮触动方法设置文本信息 三、 实现 1. 不加载Main.storyboard 2. APPDelegate.m 3. ViewController. ...
分类:
其他好文 时间:
2016-09-02 00:46:48
阅读次数:
206