Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two minor improvements - findByTag and hidden type support like android #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

stonyw
Copy link

@stonyw stonyw commented Jul 23, 2013

I like CSLinearLayoutView very much. It is difficult to arrange the views in iOS without it.

I have two ideas to make life easier.

  1. add findByTag for and let the CSLinearLayoutItem share same tag value with its view.
    stonyw@a177cb4
    stonyw@41656a5
    I saw CSLinearLayoutItem did have tag and didn't use it yet. I added findByTag first. I find it is hard to maintain two tag id lists if I use tag. It is better to share the same tag id list.
  2. add hidden support.
    stonyw@09d8b9c
    Hidden has two meanings in Android: Invisible and Gone. I want to hide some views in CSLinearLayout and show them again later. "Gone" is useful to me.
  3. The rest commits are for ARC. @jaydee3 has a pending pull request Various improvements + Adding shortcuts for labels & images #2 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant