ChildhoodAndy

Results 39 comments of ChildhoodAndy

不建议这么修改。这么修改,iOS11系统的手势侧滑会失效。

可以内置开源等宽字体,比如Adobe公司的Souce Code Pro字体 :octocat: [From gitme iOS](http://flutterchina.club/app/gm.html)

You could try `--exclude-deps` option

补充:[iOS9适配系列教程](https://github.com/ChenYilong/iOS9AdaptationTips)

@tobealeader 你的代码中如果使用`performSelector`, `target`就是调用者,`action`就是selector。

## 常用命令 将光标移至括号内,按shift+v进入行选模式,然后 - i( 选小括号中内容,不包括小括号 - a( 选小括号中内容,包括小括号 - ib 选中括号中内容,不包括括号 - ab 选中括号中内容,包括括号 - vi{ 选中{}中间的内容,不包括{} - va{ 选中{}中间内容,包括{} - vi( 选中()中间内容 - vi< 选中中间内容 - vi[ 选中[]中间内容...

``` objective-c #import @class Course; @interface Student : NSObject { NSString *name; Course *course; NSInteger point; NSArray *otherStudent; } @end #import "Student.h" #import "Course.h" int main(int argc, const char *...

``` objective-c @interface User : NSObject @property (nonatomic,copy) NSString *userId; @property (nonatomic,copy) NSString *name; @property (nonatomic,assign) NSInteger age; @property (nonatomic,copy) NSString *sex; - (id)initWithDictionary:(NSDictionary *)jsonDictionary; @end @implementation User - (id)initWithDictionary:(NSDictionary...

当时这段代码写的时候没有用xCode,没有编译,但其核心思想是没有问题的。重新在xCode上整理了下,有些分号加上了。注意最后 ``` objective-c id a = [ClassA new]; a.aaa(YES).bbb(@"HelloWorld!").ccc(@"Objective-C").ddd(NO); ``` 代码的位置,显然要放在main()函数里面或者自己新建一个类。