美文网首页
Mac版微信所使用的框架库

Mac版微信所使用的框架库

作者: 王国的荣耀 | 来源:发表于2021-03-12 11:24 被阅读0次

    Mac版微信总结

    1. 微信基于swift 框架做的UI开发
    2. 网络库所使用的AFNetworking
    3. 日志框架使用的是CocoaLumberjack
    4. 数据库所使用的是WCDB
    5. MMLibHooks 感觉是防止hook等工具使用的。

    Mantle

    https://github.com/Mantle/Mantle
    Mantle makes it easy to write a simple model layer for your Cocoa or Cocoa Touch application.

    Why Not Use Core Data?

    Core Data solves certain problems very well. If you need to execute complex queries across your data, handle a huge object graph with lots of relationships, or support undo and redo, Core Data is an excellent fit.

    It does, however, come with a couple of pain points:

    There's still a lot of boilerplate. Managed objects reduce some of the boilerplate seen above, but Core Data has plenty of its own. Correctly setting up a Core Data stack (with a persistent store and persistent store coordinator) and executing fetches can take many lines of code.
    It's hard to get right. Even experienced developers can make mistakes when using Core Data, and the framework is not forgiving.
    If you're just trying to access some JSON objects, Core Data can be a lot of work for little gain.

    Nonetheless, if you're using or want to use Core Data in your app already, Mantle can still be a convenient translation layer between the API and your managed model objects.

    AFNetworking.framework
    CocoaLumberjack.framework
    libswiftAppKit.dylib
    libswiftCore.dylib
    libswiftCoreData.dylib
    libswiftCoreFoundation.dylib
    libswiftCoreGraphics.dylib
    libswiftCoreImage.dylib
    libswiftDarwin.dylib
    libswiftDispatch.dylib
    libswiftFoundation.dylib
    libswiftIOKit.dylib
    libswiftMetal.dylib
    libswiftObjectiveC.dylib
    libswiftos.dylib
    libswiftQuartzCore.dylib
    libswiftXPC.dylib
    matrixreport.framework
    MMLibHooks.framework
    WCDB.framework

    mac weixin framework.png

    相关文章

      网友评论

          本文标题:Mac版微信所使用的框架库

          本文链接:https://www.haomeiwen.com/subject/jtxzqltx.html