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

Basic video tutorial #1135

Closed
rebeloper opened this issue Nov 15, 2017 · 8 comments
Closed

Basic video tutorial #1135

rebeloper opened this issue Nov 15, 2017 · 8 comments

Comments

@rebeloper
Copy link

Hi,

I have created two videos on how to implement IQKeyboardManager at it's core:

https://www.youtube.com/playlist?list=PL_csAAO9PQ8aTL87XnueOXi3RpWE2m_8v

@hackiftekhar
Copy link
Owner

hackiftekhar commented Nov 16, 2017

Hey @rebeloper That's awesome! I can include this in the readme file.

I checked both videos and just one thing I noticed, while demoing you've added constraint pinned to safe area (top on textView and bottom on textField) and that's why you get some jumping layout issue while switching between textField and textView. Can you replace that constraint with superview to remove jumping layout issue? Or if it will be hard for you to do then just let me know we can include these video links in repo readme file without any change. Thanks mate!

@rebeloper
Copy link
Author

Hi,

I have changed the top constraint of the textView to be anchored to the Superview, and the bottom constraint of the textField to be anchored to the Superview, but still no change. The jumping layout issue remains.

screen shot 2017-11-16 at 13 43 07

screen shot 2017-11-16 at 13 43 18

Any advice? I would like to create a third video with this fix.

@hackiftekhar
Copy link
Owner

Nope, I think this should fix the issue, if not then I'll need to check what might be the problem, I'm was sure that library should work out of the box.

Anyhow then I'll include those video links in README file.

@hackiftekhar
Copy link
Owner

Added to README. Cheers!

@rebeloper
Copy link
Author

Awesome. Could you please add this image with the YouTube link to the ReadMe too? People tend to click on images more. Thank you.

keyboardmagic

@hackiftekhar
Copy link
Owner

Sure! Will do.

@hackiftekhar hackiftekhar reopened this Nov 18, 2017
@hackiftekhar
Copy link
Owner

done!

@gnshkamath
Copy link
Contributor

In the videos, @rebeloper you had added the text field (bottom view) before adding the text view (top view).

The subviews of the main view had the following order:
1: text field (bottom view)
2: text view (top view)

Hence, the up/down arrows in the toolbar got messed up. That's when I realised how consistent is IQKeyboardManager - what you give is what you get.

@hackiftekhar an awesome and beautiful library.
@rebeloper thanks for the videos. They really showed how simple it is to integrate this library.

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

No branches or pull requests

3 participants