码迷,mamicode.com
首页 >  
搜索关键字:super fingerprint    ( 6784个结果
objc_setAssociatedObject 使用实例间传值
ViewController.m -?(void)viewDidLoad?{ ????[super?viewDidLoad]; ????self.view.backgroundColor?=?[UIColor?redColor]; } -(void)touchesBegan:(NSSet?*)touches?withEvent:(UIEvent?*)eve...
分类:其他好文   时间:2015-07-23 18:00:21    阅读次数:270
ISO swift下XML数据解析
import UIKit class ViewController: UIViewController ,NSXMLParserDelegate{ override func viewDidLoad() { super.viewDidLoad() //创建XMLParser对象,传入XML格式的数据文件 // var parser=NSXM...
分类:编程语言   时间:2015-07-23 15:36:42    阅读次数:124
canvas和paint常用方法
效果图:页面代码: @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); mPaint = new Paint(); mPaint.setColor(Color.BLACK);//设置画笔颜色 mPaint.setTextSize(14);...
分类:其他好文   时间:2015-07-23 14:02:06    阅读次数:125
Spring(二)Spring对JavaBean的管理
用实体类保存JavaBean的配置信息 package test.spring.entity; public class Bean { private String id; private String classPath; public Bean(String id, String classPath) { super(); this.id = id; this.clas...
分类:编程语言   时间:2015-07-22 22:57:14    阅读次数:126
8 Great Java 8 Features No One's Talking about--转载
原文地址:http://www.infoq.com/articles/Java-8-Quiet-FeaturesIf you haven’t seen some of the videos or tutorials around Java 8, you’ve probably been super-...
分类:编程语言   时间:2015-07-22 20:21:58    阅读次数:166
java.lang.NoSuchMethodException: <init> [class android.content.Context, interface androidutil.Attri
private int mIndex;public HomeItem(Context context, AttributeSet attrs) { super(context, attrs); // TODO Auto-generated constructor stub mContext = context; TypedArray attrs_index = context.o...
分类:移动开发   时间:2015-07-22 18:56:01    阅读次数:164
objc_setAssociatedObject 使用
-?(void)viewDidLoad?{ ????[super?viewDidLoad]; ?? ???? //????static?const?char?associatedButtonkey; ???? ???? ???? ????UIButton?*btn?=?[UIButton?buttonWithT...
分类:其他好文   时间:2015-07-22 16:40:54    阅读次数:393
GCD 之线程死锁
GCD 确实好用 ,很强大,相比NSOpretion 无法提供 取消任务的功能。如此强大的工具用不好可能会出现线程死锁。 如下代码:- (void)viewDidLoad{ [super viewDidLoad]; NSLog(@"=================4"); dis...
分类:编程语言   时间:2015-07-22 06:59:11    阅读次数:120
java学习4(84-106)
1、继承extends复用性提高,让类与类之间产生了关系,也引起了多态。查阅父类描述,创建子类对象子类中出现非私有的同名成员变量时,子类要访问本类中的变量,用this;子类要访问父类总的同名变量,用super;1.1重写(覆盖)当子类出现和父类一模一样的函数时,子类对象调用该函数,会运行子类函数的内...
分类:编程语言   时间:2015-07-22 01:32:16    阅读次数:122
应用设置及用户默认设置
1.设置捆绑包分组文本框设置安全文本框设置多值字段拨动开关设置滑动条设置子设置视图(more)2.读取应用中得设置 1 - (void)viewDidAppear:(BOOL)animated 2 { 3 [super viewDidAppear:animated]; 4 [self...
分类:其他好文   时间:2015-07-21 16:34:35    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!