码迷,mamicode.com
首页 >  
搜索关键字:sel    ( 12804个结果
OC description和sel
一、description方法Description方法包括类方法和对象方法。(NSObject类所包含)(一)基本知识-description(对象方法)使用NSLog和@%输出某个对象时,会调用对象的description方法,并拿到返回值进行输出。+description(类方法)使用NSLo...
分类:其他好文   时间:2015-12-08 12:56:35    阅读次数:117
leetcode Binary Tree Right Side View python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-08 08:39:52    阅读次数:176
类的本质、description方法、SEL、NSLog输出增强
一、类的本质1、类也是个对象其实类也是一个对象,是Class类型的对象,简称“类对象”Class类型的定义 typedef struct objc_class *Class;类名就代表着类对象,每个类只有一个类对象2、+load和+initialize+load 在程序启动的时候会加载所有的类和.....
分类:其他好文   时间:2015-12-08 00:07:13    阅读次数:185
SEL 类型
1.SEL类型的第一个作用, 配合对象/类来检查对象/类中有没有实现某一个方法 SEL sel = @selector(setAge:); Person *p = [Person new]; // 判断p对象中有没有实现-号开头的setAge:方法 // 如果P对象实现了se...
分类:其他好文   时间:2015-12-07 12:15:49    阅读次数:240
创建生产订单函数BAPI_PRODORD_CREATE
创建生产订单,创建订单长文本,订单下达 LOOP AT gt_zstybcp INTO gw_zstybcp WHERE sel = 'X' AND aufnr = ''."ADD BY 20150716 LY FOR 批量创建 CLEAR:gs_return,gw_return,gt_...
分类:Windows程序   时间:2015-12-07 12:02:04    阅读次数:421
leetcode Same Tree python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-07 00:23:43    阅读次数:248
leetcode Binary Tree Postorder Traversal python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-07 00:12:08    阅读次数:164
leetcode Binary Search Tree Iterator python
# Definition for a binary tree node# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-06 22:45:41    阅读次数:292
leetcode Maximum Depth of Binary Tree python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-06 17:33:21    阅读次数:155
leetcode Minimum Depth of Binary Tree python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-06 15:56:34    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!