Tangram-iOS icon indicating copy to clipboard operation
Tangram-iOS copied to clipboard

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.

Results 71 Tangram-iOS issues
Sort by recently updated
recently updated
newest added

Ios端吸顶布局会覆盖浮动布局 Android没问题望尽快解决 ![image](https://user-images.githubusercontent.com/21238579/34433518-e4102712-ecba-11e7-97f1-7fc57c93bdc7.png) ![image](https://user-images.githubusercontent.com/21238579/34433524-f189cb3c-ecba-11e7-8ad5-975182791ec3.png)

question

尝试设置卡片的阴影没有效果

question

+ (CGFloat)heightByModel:(TangramDefaultItemModel *)itemModel 现在只有这个方法返回高度,我想根据数据动态布局后,修改Element的高度如何实现?

question

请问在TangramFlowLayout布局中的calculateLayout方法中有以下一段代码,是否是可以使用的呢? ```//抛出可异步加载的事件,暂时仅FlowLayout支持 if ((self.loadType == TangramLayoutLoadTypeLoadOnce || self.loadType == TangramLayoutLoadTypeByPage) && self.loadAPI.length > 0) { TangramEvent *loadEvent = [[TangramEvent alloc]initWithTopic:@"requestItems" withTangramView:self.tangramView posterIdentifier:@"requestItems" andPoster:self]; [loadEvent setParam:self.loadAPI forKey:@"loadAPI"]; [loadEvent setParam:[NSNumber numberWithInteger:self.loadType] forKey:@"loadType"];...

question

` self.scrollView.contentSize = CGSizeMake(CGRectGetMaxX(lastElementModel.itemFrame) + lastElementModel.marginRight + self.scrollMarginLeft + self.scrollMarginRight, elementHeight) ; ` 多算了一次scrollMarginLeft导致实际MarginRight = self.scrollMarginLeft + self.scrollMarginRight

bug

如图:在不同的屏幕尺寸上,item距离屏幕的间距都是24,item之间的间距都是12,超过四个item还能够左右滑动。请问我应该如何设置item的宽度? ![50254538-170d-4c7a-a3ec-a0e2f13f5f60](https://user-images.githubusercontent.com/8543285/29443763-e1359426-840c-11e7-884c-b3b9535c73f5.png) 最后希望能够建个群,方便大家交流。

help wanted

如题,想通过后台配置感受下这个框架的整体易用性。

question
other

部分组件在宽高为浮点数时边缘绘制可能存在问题,需要在 Layout 层布局时处理掉此问题。 目前考虑采用各区域右侧补 & 左侧裁的四舍五入方法,即 375 宽度双列布局结果: 375 = 188 + 187 第一个元素 left = 0, right = 187.5,右侧补到 188 第二个元素 left = 187.5, right = 375,左侧裁剪到从 188 开始

enhancement
plan