zoukankan      html  css  js  c++  java
  • 普通IT和文艺IT工程师的区别

    在一个UITableView的editing设置的方法实现过程中,我想到两种写法,顺便想了一下两种方法的区别。觉得这时一个普通IT工程师和NB工程师的区别一个有趣的印记。

    您通常时怎么去实现的呢?


    - (void)editTableView

    {

        

        //normale IT engineer work to implement this function

        

        if (_testTableView.editing) {

            [_testTableViewsetEditing:NOanimated:YES];

            NSLog(@"no edit");

        } else {

            [_testTableViewsetEditing:YESanimated:YES];

             NSLog(@"yes edit");

        }


        // NB IT engineer 

        [_testTableViewsetEditing:!_testTableView.editinganimated:YES];

        

        

        //2B IT engineer ,how to do this work?

        

        

    }



  • 相关阅读:
    小端大端
    位域
    c++ 2.1 编译器何时创建默认构造函数
    python 内置&&递归
    python返回值与局部全局变量
    python file
    python set
    python 字典的函数
    python FileError
    python pickle
  • 原文地址:https://www.cnblogs.com/jiangu66/p/3246701.html
Copyright © 2011-2022 走看看