上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页
摘要: 学习链接:https://www.jianshu.com/p/2654198f4d08 OC中提供两个关键字@property和@synthesize,用于提供setter和getter方法,使得代码更加简洁,在这不多做介绍,看完会用就行。 一般@property在.h文件中使用,@synthesi 阅读全文
posted @ 2020-10-13 15:13 执||念 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 学习链接:https://www.jianshu.com/p/9e975a1cab93 学习消息机制时了解到了isa指针这个概念,那么isa指针到底是什么呢? 在这引出三个概念: 1)instance (实例对象) 2)class object (类对象) 3)metaclass(元类) 我们经常使 阅读全文
posted @ 2020-10-13 10:30 执||念 阅读(256) 评论(0) 推荐(0) 编辑
摘要: // // main.m // learn_oc_1.0 // // Created by 蔡佳明 on 2020/10/12. // /* 声明一个类 @interface 类名 : NSObject { //属性写这 } //方法声明写这 @end //实现类的方法 @implementatio 阅读全文
posted @ 2020-10-12 19:59 执||念 阅读(237) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cmath> #include<vector> #include<stack> #include<queue> using namespace std; struct Node { Node* next; int val; Node() {}; 阅读全文
posted @ 2020-06-29 11:59 执||念 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/problemset/problem/23/C In 2N - 1 boxes there are apples and oranges. Your task is to choose N boxes so, that they will con 阅读全文
posted @ 2020-04-04 16:12 执||念 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/problemset/problem/19/B Bob came to a cash & carry store, put n items into his trolley, and went to the checkout counter to 阅读全文
posted @ 2020-03-30 17:03 执||念 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/problemset/problem/1323/D Catherine received an array of integers as a gift for March 8. Eventually she grew bored with it, 阅读全文
posted @ 2020-03-29 12:32 执||念 阅读(178) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<vector> #include<stack> #include<map> #include<cstdio> #include<alg 阅读全文
posted @ 2020-03-26 17:54 执||念 阅读(123) 评论(0) 推荐(0) 编辑
摘要: pip install *** -i https://pypi.doubanio.com/simple 阅读全文
posted @ 2020-03-21 20:23 执||念 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://codeforces.com/problemset/problem/17/D Nick is attracted by everything unconventional. He doesn't like decimal number system any more, and 阅读全文
posted @ 2020-03-21 16:09 执||念 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 34 下一页