Comments (2)
@senfi, currently there is no way to link search results tableview with any other external view element. You have to manually calculate the search result position and update external view. Here is a rough example
func tokenView(tokenView: KSTokenView, didChangeFrame frame: CGRect) { var frame = myView.frame frame.origin.y = tokenView.frame.maxY+tokenView.searchResultSize.height myView.frame = frame }
After the search result is hidden, you can re-locate the view.
func tokenViewDidHideSearchResults(tokenView: KSTokenView) { var frame = myView.frame frame.origin.y = 150 // or whatever was the initial position myView.frame = frame }
Two delegates, tokenViewDidHideSearchResults
and tokenViewDidShowSearchResults
are added in latest commit today 03e7507.
from kstokenview.
Yeah, great idea. Thank you for your support! This should work.
from kstokenview.
Related Issues (20)
- Autocapitalize words.
- How to manage the Scrollview Offset when tokenview is added in a scrollview? HOT 2
- Textfield text is not editable
- performSearchWithString not being called
- How to clear kstokenview textfield with placeholder displaying?
- Set token programmatically
- Search table does not show when using auto layout with KSTokenView HOT 1
- Delete button in the token HOT 2
- Setting `KSToken` font property
- Can we limit the entry of characters to 10 max?
- Swift 4.2 support
- Index KSTokenView
- tokenview view changes when keyboard hide. HOT 1
- API not Called performSearchWithString ... please Check
- TokenView search table does not show up on iOS 13
- how to set the value of token ios swift
- didSelectRowAtIndexPath ignores the latest token. I have attached screenshot about the error. While selecting the tokens it does't print the latest value.
- Adding delete button in token
- Issue with expanding when adding more token
- Autocapitalize words.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kstokenview.