***#import "HMViewController.h"#define angle2radian(x) ((x) / 180.0 * M_PI)@interface HMViewController ()@property (weak, nonatomic) IBOutlet UIImageV...
分类:
移动平台 时间:
2015-09-06 18:18:44
收藏:
0 评论:
0 赞:
0 阅读:
335
Android——button控件使用
分类:
移动平台 时间:
2015-09-06 18:17:34
收藏:
0 评论:
0 赞:
0 阅读:
116
*******#import "HMViewController.h"@interface HMViewController ()@property (nonatomic, weak) CALayer *layer;@end@implementation HMViewController- (voi...
分类:
移动平台 时间:
2015-09-06 18:17:25
收藏:
0 评论:
0 赞:
0 阅读:
246
7777777 点击我我会变红的哦 提示1效果 提示2效果 鼠标放上去1 鼠标放上去2
分类:
移动平台 时间:
2015-09-06 18:15:45
收藏:
0 评论:
0 赞:
0 阅读:
217
- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // 创建一个图层 CALayer *laye...
分类:
移动平台 时间:
2015-09-06 18:15:25
收藏:
0 评论:
0 赞:
0 阅读:
127
Step11.点击Image.xcassets 进入图片管理,然后右击,弹出"New Launch Image"2.如图,右侧的勾选可以让你选择是否要对ipad,横屏,竖屏,以及低版本的ios系统做支持.这边我选了ios8.0,ios7.0,ios6没有做支持.Step2将规定尺寸的图片从你的文件中...
分类:
移动平台 时间:
2015-09-06 18:14:15
收藏:
0 评论:
0 赞:
0 阅读:
228
package auscend.sdk;import android.app.Activity;import android.content.Intent;import android.net.Uri;import android.os.Bundle;import android.view.View...
分类:
移动平台 时间:
2015-09-06 18:13:54
收藏:
0 评论:
0 赞:
0 阅读:
151
Android AndroidManifest 清单文件以及权限详解
分类:
移动平台 时间:
2015-09-06 18:09:35
收藏:
0 评论:
0 赞:
0 阅读:
197
******隐式动画(手指拖拽Layer)#import "HMViewController.h"@interface HMViewController ()@property (nonatomic, weak) CALayer *layer;@end@implementation HMViewCo...
分类:
移动平台 时间:
2015-09-06 18:08:55
收藏:
0 评论:
0 赞:
0 阅读:
188
遇到一个问题,JSONObject json = new JSONObject(params[1]);使用JSONObject构造函数将字符串转化成Json对象,程序编译通过,但运行到此处是,直接抛出异常,并跳出操作。原因分析:使用此构造函数,形参字符串应为json字符串,即要有保持json字符串的...
分类:
移动平台 时间:
2015-09-06 18:00:44
收藏:
0 评论:
0 赞:
0 阅读:
135
****#import "HMViewController.h"// 每秒秒针转6度#define perSecendA 6// 每分钟分针转6度#define perMinuteA 6// 每小时时针转6度#define perHourA 30// 每分钟时针转6度#define perMinut...
分类:
移动平台 时间:
2015-09-06 17:57:44
收藏:
0 评论:
0 赞:
0 阅读:
342
该方案测试可行,系统版本4.4.2。它算是借助android系统的一个bug,不确定在后续更高的版本中是否修复。该功能和360防卸载功能一样的实现原理。主要的参考资料是:http://bbs.pediy.com/showthread.php?t=193123public class MantaAdm...
分类:
移动平台 时间:
2015-09-06 17:55:44
收藏:
0 评论:
0 赞:
0 阅读:
2746
****动画效果- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [UIView animateWithDuration:1 animations:^{ // 旋转// ...
分类:
移动平台 时间:
2015-09-06 17:55:24
收藏:
0 评论:
0 赞:
0 阅读:
414
在开发项目中,会有这样变态的需求: 推送:根据服务端推送过来的数据规则,跳转到对应的控制器 feeds列表:不同类似的cell,可能跳转不同的控制器(嘘!产品经理是这样要求:我也不确定会跳转哪个界面哦,可能是这个又可能是那个,能给我做灵活吗?根据后台返回规则任意跳转?)思考:wocao!...
分类:
移动平台 时间:
2015-09-06 17:53:24
收藏:
0 评论:
0 赞:
0 阅读:
130
*******#import "HMViewController.h"@interface HMViewController ()@property (weak, nonatomic) IBOutlet UIView *redView;@end@implementation HMViewContro...
分类:
移动平台 时间:
2015-09-06 17:52:04
收藏:
0 评论:
0 赞:
0 阅读:
197
概述基本上,每一款APP都有相应的设置模块。怎么设置才能更灵活和通用呢,这也是大家一直思考的。下面说说在网易彩票中,设置模块的设置思想。基本上有三种方案:static cell(呆板,完全没有动态)使用代码,条件判断逐个编写(麻烦,代码冗长)使用plist加载(能够动态配置跳转控制器,不能配置请求代...
分类:
移动平台 时间:
2015-09-06 17:49:55
收藏:
0 评论:
0 赞:
0 阅读:
324
菜单单选窗口:import android.app.Activity;import android.app.AlertDialog;import android.content.DialogInterface;import android.os.Bundle;import android.view....
分类:
移动平台 时间:
2015-09-06 17:48:25
收藏:
0 评论:
0 赞:
0 阅读:
230
脚本sh05.sh#!/bin/bash# Program# Program shows the effect of shift function# History:# 2015/9/6 zengdp First releasePATH=/bin:/sbin:/usr/bin...
分类:
移动平台 时间:
2015-09-06 17:48:05
收藏:
0 评论:
0 赞:
0 阅读:
225
结果:1.网络好的情况下,打开很快,很流畅。2.地址栏真心不好使,如果真要做应用,这块必须自己优化一下。实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, Sy...
分类:
移动平台 时间:
2015-09-06 17:47:35
收藏:
0 评论:
0 赞:
0 阅读:
906
一、UITabBarController 使用详解 UITabBarController是IOS中很常用的一个viewController,例如系统的闹钟程序,ipod程序等。UITabBarController通常作为整个程序的rootViewController,而且不能添加到别的cont...
分类:
移动平台 时间:
2015-09-06 17:47:25
收藏:
0 评论:
0 赞:
0 阅读:
287