Coder Social home page Coder Social logo

你好 讨论几个问题 about newscoming HOT 2 OPEN

jj89757hhb avatar jj89757hhb commented on August 20, 2024
你好 讨论几个问题

from newscoming.

Comments (2)

vistatinchao avatar vistatinchao commented on August 20, 2024

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.

melo30 avatar melo30 commented on August 20, 2024

首先觉得大哥的封装能力很强,
1、但是每个接口都单独写了个类,那么一个工程中岂不是会创建很多这样类,找代码感觉不集中了,这样做真的好吗?
虽然解耦性很好!

每个接口封装成一个类有这样一些好处:
1.使得每个接口和网络库隔离,以后可以更方便以后更换网络底层库.
2.可以在接口的基类里面统一配置一些东西,如缓存,接口版本号等.
如果项目比较大,这种模式比较适合,但是项目不大的话就显得比较臃肿了,具体可以参考YTKNetwork

from newscoming.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.