当前位置 博文首页 > xixi:ios 开发小技巧

    xixi:ios 开发小技巧

    作者:[db:作者] 时间:2021-08-07 18:52

    1.

    假如 定义 了一个 _tableView

    UITableView *_tableView; /**< 这个是数据源列表? */


    那么 在使用 _tableView 的时候? 当你输入? _tab? 那么 提示框的最下面 就会出现 ” ?这个是数据源列表? “?

    ?

    方便后面维护或者写代码的人知道 这个是干嘛的


    同样 注解到? 方法 也是可以行的




    --------------------------------------------------------

    3.

    显示/隐藏 文件夹

    显示:defaults write com.apple.finder AppleShowAllFiles -bool true
    隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false



    2015-8-5?

    4. 安装了新的Xcode 之后 启动不了

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root.

    提示是说没有权限

    sudo chown root /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim

    cs
    下一篇:没有了