Giter Club home page Giter Club logo

gbtaglistview's Introduction

GBTaglistView

##自定义流式标签仿写QQ别人对你的评价界面,就是类似我们在网页端用的那个QQ标签墙的效果,集成封装只需要传给他一个数组其他的都是自己计算,简单操作一键调用节约时间
###如果觉得有用的话请点个星谢谢支持,会继续出一些功能性的框架,如有bug也请指出群号:433060483欢迎加入组织
#使用说明:

  • 直接把文件包拖入到你的项目里面
  • 在你要调用的地方包含一下头文件,复制一下代码:
    strArray=@[@"大好人",@"自定义流式标签",@"github",@"code4app",@"已婚",@"阳光开朗",@"慷慨大方帅气身材好",@"仗义",@"值得一交的朋友",@"值得一交的朋友",@"值得的交",@"值得一交的朋友",@"值得一交的朋友",@"大好人",@"自定义流式标签",@"github",@"code4app",@"已婚"];

    GBTagListView *tagList=[[GBTagListView alloc]initWithFrame:CGRectMake(0, 100, ScreenWidth, 0)];
    [tagList setTagWithTagArray:strArray];
    [self.view addSubview:tagList];

*这个地方暴露了几个常用的接口给大家,对那些喜欢自定义的用户来说 如果你们的项目里面需要的时单一的标签背景色也可以自定义
*自定义单个标签的背景色和背景板的颜色:

   tagList.signalTagColor=[UIColor redColor];
   tagList.GBbackgroundColor=[UIColor greenColor];

###设置控件属性要放在-(void)setTagWithTagArray:(NSArray*)arr;之后才会有效,设置过单一标签颜色后,多样色失效单一标签颜色优先级要高于多样色属性
#效果图: image

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.