Mac版微信总结
- 微信基于swift 框架做的UI开发
- 网络库所使用的AFNetworking
- 日志框架使用的是CocoaLumberjack
- 数据库所使用的是WCDB
- 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
网友评论