Skip to content

Conversation

@hemangshah
Copy link

@hemangshah hemangshah commented Apr 17, 2018

Updated the code to match the swift coding standards with minor logic improvements and features.

Updates:

  • UITextField proper alignment and corner margins.
  • Tried to minimal the code as much as possible.
  • rename strCountryName to countryName as we can say that it's a string.
  • usage in cellForRowAt function
  • added self to the class variables for clear visibility and use
  • divide the tasks into functions for code check
  • changes the access specifiers for the required variables and constants

PS. @leoiphonedev , nice work with this! 👍 I reached here after watching the video of this functionality on your YouTube channel. I have used your concept in my app to implement this live search functionality and made some more improvements in the code itself which I would like to share with you and for someone who will land here for the same solution.

UITextField proper alignment and corner margins.
Tried to minimal the code as much as possible.
- rename strCountryName to countryName as we can say that it's a string.
- usage in cellForRowAt function
- added self to the class variables for clear visibility and use
- divide the tasks in functions for code check
- changes the access specifiers for the require variables and constants
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