Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

addArrangedSubview逻辑错误

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
ios, objective-c
Domain
mobile

Research direction

Locate the Objective-C implementation of addArrangedSubview in FDStackView and compare its behavior with the iOS system method described in the issue. Reproduce the four-view example and verify that adding view2yellow again moves it to the end, while preserving the existing behavior for other arranged subviews.

Written by the indexing model from the issue text.

Description

stackView依次有4个arrangedSubview:view1red,view2yellow,view3green,view4orange

在系统方法中再次调用[stackView addArrangedSubview:view2yellow];view2yellow会被移动到最后面,view顺序变成view1red,view3green,view4orange,view2yellow

但是在iOS8 FDStackView中view2yellow的位置不会变动。

Dominant language
Objective-C
Stars
2.5k
Forks
310
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from forkingdog/FDStackView

All issues in forkingdog/FDStackView

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.