Comments (2)
Hi,I try to compile you project in xcode8.3,but not success,the error message detail:
Showing All Messages
ld: '/Users/mac/Downloads/NewsComing-master/NewsComing/NewsComing/Classes/Vendor/UM/UMSocial_Sdk_Extra_Frameworks/Wechat/libWeChatSDK.a(AppCommunicateData.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
from newscoming.
首先觉得大哥的封装能力很强,
1、但是每个接口都单独写了个类,那么一个工程中岂不是会创建很多这样类,找代码感觉不集中了,这样做真的好吗?
虽然解耦性很好!
每个接口封装成一个类有这样一些好处:
1.使得每个接口和网络库隔离,以后可以更方便以后更换网络底层库.
2.可以在接口的基类里面统一配置一些东西,如缓存,接口版本号等.
如果项目比较大,这种模式比较适合,但是项目不大的话就显得比较臃肿了,具体可以参考YTKNetwork
from newscoming.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newscoming.