Giter VIP home page Giter VIP logo

ynsearch's Issues

Search Button Click, how to track?

Hi,
I see delegates for history clicked, category clicked and listview clicked.
But don't see a way to track search button clicked?

Use case:
My search string does not match with anything in database. But I want to get the search string in the program once the search button is clicked.

Clear history button and x button doesn't work if there are a lot of histories

@younatics @controversial The clear history button only works if there are a few histories in the scroll view to the point where it fits inside the current view and the history table/scroll view does scroll. But once the tableview has enough histories to the point where the clear history button is not in the view then the clear history button doesn't work for some reason. Also the "x" button right beside each history doesn't work for same reason. If there are a little bit of history cells then the buttons work fine, but if there a lot then both buttons are disabled or don't work. Try it for yourself. Create a bunch of histories, probably 15-20 searches so you have 15-20 history cells and the buttons inside the history cell and clear history button wont work. Can you fix this as soon as possible. Im trying to roll out my app.

How to show Navigationbar?

Hi,
I would rather like to have a navigationcontroller instead of a modal view for clicked items.
How to make the navigationbar visible?

Thanks and kind regards

Edit:
I found out that self.navigationController!.isNavigationBarHidden = false does the job, but then the textfield is hidden. How to put the textfield in front of the navigation bar?

Clearing history is not working

@younatics For some reason, clearing history is not working. I tried debugging it for hours and realized the button wasn't enabled if the clear history button y value was past the height of the screen. Could I send you my project and could you please take a look at it. Thanks. Great project by the way.

Pinterest Home grid

Hi

Nice work. Quick question. Does your version have the same Pinterest Home VC that displays the search results in a vertical scrolling grid? From the screenshot it looks like your search results are presented as single boards instead of a two-image wide Pinterest-like grid. Thanks

Text Field Did Begin editing

I am trying to get Character enter in Search bar. When I use textField Did begin Editing it overrides the other Delegate and not work properly. I am sending the Single text enter by user to API for getting response and then sending new data. Also how to add navigation bar with search bar, if I unhide navigatio bar search bar disappears. I have earlier solution but not worked

DemoSearchHistories only gets set after first search

Hi,

Firstly, great repo - its perfect for what I'm wanting to do!

Secondly, I can't seem to get the demoSearchHistories array to appear on the initial load of the app - I can only get it to appear once I tap the search text field, then click cancel.

I've tried putting the "ynSearch.setSearchHistories(value: demoSearchHistories)" into a viewDidAppear() class, but no luck. It appears to be the same issue with the demo repo as well.

Thanks!

Easy way to customise cells?

Great project, thank you for sharing!

I am curious if there is an easy way to be able to customise the look and feel of our cells, for example the result cells in YNSearchListViewCell.

Also, if I want to add an additional field, such as a UILabel on the right of the cell (for example specifying the occurence of a particular item), is there an easy way to do that in your library?

Thanks again!

Swift 4 Support

Please provide support for Swift 4 as after upgrading to Swift 4 the library is not compiling.

Dependency "YNSearch" has no shared framework schemes

I try to install the library through the Carthage, it's giving me below error

*** Fetching YNSearch
*** Checking out YNSearch at "0.2.1"
*** xcodebuild output can be found in /var/folders/lf/13b1q2vd1892s9l8knv_m7nw0000gn/T/carthage-xcodebuild.VmVLpH.log
*** Skipped building YNSearch due to the error:
Dependency "YNSearch" has no shared framework schemes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.