码迷,mamicode.com
首页 > 移动开发
IOS UI学习 UISearchController
使用UISearchController 配合UITableView实现搜索功能 1 #import "ViewController12.h" 2 3 @interface ViewController12 () 4 5 @end 6 7 @implementation Vie...
分类:移动开发   时间:2015-09-17 21:27:00    阅读次数:192
迷宫移动
{"■","■","■","■","■","■","■","■","■"," ","■"}, {"■"," "," "," "," "," "," "," "," "," ",&q
分类:移动开发   时间:2015-09-17 21:25:46    阅读次数:196
iOS中的瀑布流(RootCollectionViewControlle)
用了三个第三方- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow all...
分类:移动开发   时间:2015-09-17 21:23:42    阅读次数:307
iOS中NSThread(主线程,子线程)
#import "AppDelegate.h"@interface AppDelegate (){ NSInteger _totalTickests;}@property (nonatomic, retain) NSLock *lock;@end@implementation AppDeleg...
分类:移动开发   时间:2015-09-17 21:26:00    阅读次数:201
Android布局属性LayoutParams的理解
在一次笔试中搞混LayoutParams的用法,特来总结一番:LayoutParams继承于Android.View.ViewGroup.LayoutParams.LayoutParams相当于一个Layout的信息包,它封装了Layout的位置、高、宽等信息。假设在屏幕上一块区域是由一个Layou...
分类:移动开发   时间:2015-09-17 21:25:39    阅读次数:242
android自定义属性
http://blog.csdn.net/lihengfang/article/details/8290754http://developer.android.com/intl/zh-cn/guide/topics/ui/themes.htmlhttp://www.cnblogs.com/wangf...
分类:移动开发   时间:2015-09-17 21:22:28    阅读次数:216
IOS开发指南第四章 IOS8多分辨率屏幕适配 学习
1 获取IOS设备屏幕信息 CGSize iOSDeviceScreenSize = [UIScreen mainScreen].bounds.size; NSString *s = [NSString stringWithFormat:@"%.0f x %.0f", iOSDevic...
分类:移动开发   时间:2015-09-17 21:24:46    阅读次数:312
iOS - Animation 八种方法
一.//UIView动画//能够做动画的属性, feame, center, bounds, alpha, transfom, backgroundcolor//iOS4.0 之前如果想做动画, 必须放在开始可提交之前才有效 //对属性更改值是有效值, 最终会对视图作出修改 //开始动画 [U...
分类:移动开发   时间:2015-09-17 21:21:17    阅读次数:266
Android开发环境的演变
由于我初高中在私立学校读书,手机什么的电子设备都不能带,所以第一次听到安卓这个词是在大二一次讲座上,一个出去工作很多的年的学长开的讲座,他告诉我们,现在最热的是Java在安卓上的运用,于是在那时我就决定往那个方向发展,当然我决定先学好Java再看安卓,所以真正接触安卓平台是最近几天。Android....
分类:移动开发   时间:2015-09-17 21:16:23    阅读次数:259
安卓平台的开发环境的发展演变
因为之前有自学过安卓的一些知识,之前在自己的电脑中也把环境和安卓模拟器都配置好了,所以现在再简单地演示一遍。我用的是MyEclipse Professional 2014,我也用过eclipse,选择MyEclipse完全是个人喜好,因为我觉得MyEclipse的功能会比较多一些,但是也会比较卡,启...
分类:移动开发   时间:2015-09-17 21:11:40    阅读次数:193
iOS中的串行,并行,分组,一次,障碍,延迟,反复执行(GCD)
#import "OneViewController.h"@interface OneViewController ()@end@implementation OneViewController- (void)viewDidLoad { [super viewDidLoad]; // D...
分类:移动开发   时间:2015-09-17 21:12:54    阅读次数:375
android异步加载AsyncTask
http://blog.csdn.net/abc5382334/article/details/17097633http://keeponmoving.iteye.com/blog/1515611http://www.cnblogs.com/suinuaner/archive/2013/04/11/...
分类:移动开发   时间:2015-09-17 21:13:12    阅读次数:181
【转】android fragment 学习
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/37970961自从Fragment出现,曾经有段时间,感觉大家谈什么都能跟Fragment谈上关系,做什么都要问下Fragment能实现不~~~哈哈,是不是有点过~~~本篇博客力求为...
分类:移动开发   时间:2015-09-17 21:10:01    阅读次数:192
android 开发环境
大部分学习视频使用Android的开发工具是eclipse,那我就来讲一下eclipse 搭建Android环境(不要在路径中有中文)1.安装jdk(注意是32位还是64位) 安装jdk后还需要进行环境变量的配置,是在系统变量里面配置的。 a.JAVA_HOME:安装jdk的目录(D:\mypr.....
分类:移动开发   时间:2015-09-17 21:06:21    阅读次数:287
ios 判断字符串为空和只为空格解决办法
ios 判断字符串为空和只为空格解决办法 - (BOOL)isBlankString:(NSString?*)string{ ?? ? ? ??if?(string ==?nil) { ? ? ? ??return?YES; ? ? } ?? ? ? ??if?(string ==?NULL) { ? ? ...
分类:移动开发   时间:2015-09-17 20:00:44    阅读次数:211
app.use(express.methodOverride(‘_method‘))执行报错
错误信息 F:\my_dev_work\todo\node_modules\express\lib\express.js:99 ??????throw?new?Error(‘Most?middleware?(like?‘?+?name?+?‘)?is?no?longer?bundle ????????????^ Error...
分类:移动开发   时间:2015-09-17 19:57:07    阅读次数:463
Android中GridView使用
GridView(网格视图)是按照行列的方式来显示内容的,一般用于显示图片,图片等内容,比如实现九宫格图,用GridView是首选,也是最简单的。主要用于设置Adapter。 下面有三个例子,第一个是只显示图片的,第二个是显...
分类:移动开发   时间:2015-09-17 19:58:57    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!