forkingdog / forkingdog/FDStackView

There is a difference of function from FDStackView to UIStackView. “- (void)insertArrangedSubview:(UIView *)view atIndex:(NSUInteger)stackIndex” /

未关闭
#30 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Objective-C
星标
2.5k
派生
310
PR 合并指标
30 天内没有已合并 PR

描述

In UIStackView :
/*
Adds the view as a subview of the container if it isn't already.
Updates the stack index (but not the subview index) of the
arranged subview if it's already in the arrangedSubviews list.
*/
- (void)insertArrangedSubview:(UIView *)view atIndex:(NSUInteger)stackIndex;

But FDStackView can not update it.

So that I have to treate the function differently.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 FDStackView 对 insertArrangedSubview:atIndex: 的实现,并将其行为与 issue 中引用的 UIStackView 契约进行比较。验证现有 arranged subview 被插入到不同 stack 索引的情况;当该索引得到一致更新时,工作即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
objective-c
领域
mobile-dev
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。