240 发简信
IP属地:江苏
  • https://github.com/Tencent/wcdb/wiki/ORM%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b#WCTTableCoding%e6%96%87%e4%bb%b6%e6%a8%a1%e7%89%88

    供参考。

    WCDB使用文档

    使用简介iOS 官方使用教程从FMDB迁移到WCDB 基本特性 易用,WCDB支持一句代码即可将数据取出并组合为object。 WINQ(WCDB语言集成查询):通过WINQ...

  • @越天高 打开 python 命令行 是什么操作:fearful:

    iOS开发——socket服务器的搭建

    socket服务器可通过python来搭建 源程序分享在百度云,下载链接如下:链接: http://pan.baidu.com/s/1o6Gk0u2 密码: fvju 在终端...

  • 最后一种方式有 bug, 当快速切换 tabbar 的几个页面时, 快到几乎是同时点击的时候, tabbar 就不见了, 当然 push 一次之后再回来会再出现, 变态的测试偶然发现的这个问题...

    关于UIViewController的属性——hidesBottomBarWhenPushed

    今天闲来无事来聊一聊这个反复刷新我开发观的属性——hidesBottomBarWhenPushed。 在开发的过程中总会遇到有些页面有tabbar,而有些页面没有。比如: 那...

  • output.rectOfInterest = [previewLayer metadataOutputRectOfInterestForRect:CGRectMake(x, x, x, x)];
    这是 rect 转换 rectOfInterest 的方法, 直接用转换方法会返回 (0, 0, 0, 0), 需要加在AVCaptureInputPortFormatDescriptionDidChangeNotification的系统通知里.
    [[NSNotificationCenter defaultCenter] addObserverForName:AVCaptureInputPortFormatDescriptionDidChangeNotification
    object:nil
    queue:[NSOperationQueue currentQueue]
    usingBlock: ^(NSNotification *_Nonnull note) {
    output.rectOfInterest = [previewLayer metadataOutputRectOfInterestForRect:CGRectMake(x, x, x, x)];
    }];

    这样就不用自己绞尽脑汁转换了.

    iOS开发--二维码/条形码(扫描(可区域)和生成)

    关于二维码(或者条形码,以下归类简称二维码)扫描和生成的,我相信网络上相关的文章层数不穷,但是,大部分都是直接粘贴上代码,不去解释,这样导致每次遇到诸如此类的功能行的问题,简...