Skip to content

Conversation

@aleene
Copy link
Owner

@aleene aleene commented Nov 25, 2016

Several functions will be added that access tags by index. Finding a tag works now by finding the tagView of the tag. This makes it hard to keep data and tags in sync. And it exposes the tagViews themselves to the enduser. This might lead to inconsistencies between the users-code, TagListView and TagView.

Several functions will be added that access tags by index. Finding a tag works now by finding the tagView of the tag. This makes it hard to keep data and tags in sync. And it exposes the tagViews themselves to the enduser. This might lead to inconsistencies between the users-code, TagListView and TagView.
Added documentation for index variables and functions.
Added variables and functions for finding indices:
- var indexForSelectedTag: Int?
- var indecesForSelectedTags: [Int] 
- func indecesWithTag(_ title: String) -> [Int]
If a tag is selected the index is printed.
Set the TagListViews to the top margin and autolayout.
@aleene aleene changed the title Index-functions Index-functions for accessing tags Nov 26, 2016
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.

2 participants