GithubHelp home page GithubHelp logo

carvertime / tangram-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/tangram-ios

0.0 0.0 0.0 128 KB

Tangram is a modular UI solution for building native page dynamically, including Tangram for Android, Tangram for iOS and even backend CMS. This project provides the sdk on iOS platform.

License: MIT License

Objective-C 99.59% Ruby 0.41%

tangram-ios's Introduction

Tangram - iOS

Tangram is a UI Framework for building a fast and dynamic ScrollView.

The system requirement for Tangram is iOS 7.0+

中文站点

Tips: If you get [!] Unable to find a specification for `LazyScroll` when executed pod install, you can try to update ruby to 2.3.0 or higher and update CocoaPods to 1.0.0 or higher . If it doesn't work , you can try to reset or update CocoaPods master repo again .

Feature

  • Two platform support (iOS & Android, See Tangram-Android in Github for Android Version)
  • Fast Generate View by JSON Data , provide default parser.
  • Easily control the reuseability of views
  • Provide multiple built-in layouts
  • Custom layout style (by JSON Data or code)
  • High scroll performance (Base on LazyScrollView)
  • Extendable API

Advantage

Compare to system standard controls(like UICollectionView, GridView), the advantages of Tangram are :

Easily control 'layout' selected for elements(cells).

In the picture above, it shows several kinds of layout, Tangram can easily control
which kind of layout these elements use. You can find its usage in TangramDemo.

Provide default parser , quick parse JSON to View

JSON to View can be very easy by use our default parser.

You can open TangramDemo to see how to tranfer JSON to view.

The default parsers are same in two platform (Android and iOS).

Provide several kinds of layout

We provide internal layouts, including:

  • FlowLayout (like grid)
  • One drag N Layout (N=2/3/4)
  • Fix Layout
  • Sticky Layout
  • Dragable Layout
  • PageScroll Layout
  • WaterFlow Layout

To See detailed performance of interal layouts , Click me

Install

Use Cocoapods to Get latest version of Tangram

pod 'Tangram'

Getting Started

LICENSE

The MIT License

Copyright (c) 2017 Alibaba

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

tangram-ios's People

Contributors

fydx avatar harrisonxi avatar

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.