Organic icon indicating copy to clipboard operation
Organic copied to clipboard

how do you add search to organic

Open markmark1 opened this issue 9 years ago • 10 comments

how do you add searchbar to organic uitableview thanks for an amazing library

markmark1 avatar Jun 28 '16 20:06 markmark1

You could simply add it as a header view for your table.

mamaral avatar Jun 29 '16 01:06 mamaral

That's not the problem how about the filtered search data source how about loading from backend

Can you please give examples since it's not in read me can't use it till given

markmark1 avatar Jun 29 '16 02:06 markmark1

Pls give an example with organic

markmark1 avatar Jun 29 '16 02:06 markmark1

Are you familiar with how to do this with a normal UITableView?

mamaral avatar Jun 29 '16 02:06 mamaral

Yes but not sure how that would translate into organic ; can you please share  the right way to do with organic Also it's not quite clear how the data source is handled in cells with reuse 

On Tue, Jun 28, 2016 at 7:10 PM -0700, "Mike Amaral" [email protected] wrote:

Are you familiar with how to do this with a normal UITableView?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

markmark1 avatar Jun 29 '16 02:06 markmark1

Another thing that would be good in an example is load more or append more cells by loading data from backend how would you do that with organic as the table view interface is not exposed directly 

On Tue, Jun 28, 2016 at 6:29 PM -0700, "Mike Amaral" [email protected] wrote:

You could simply add it as a header view for your table.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

markmark1 avatar Jun 29 '16 02:06 markmark1

Amazing library can't wait to use for everything also what do you think of component kit

On Jun 28, 2016 at 7:20 PM, <Mark M (mailto:[email protected])> wrote:

Another thing that would be good in an example is load more or append more cells by loading data from backend how would you do that with organic as the table view interface is not exposed directly

On Tue, Jun 28, 2016 at 6:29 PM -0700, "Mike Amaral" <[email protected] (mailto:[email protected])> wrote:

You could simply add it as a header view for your table.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/mamaral/Organic/issues/12#issuecomment-229232121), or mute the thread (https://github.com/notifications/unsubscribe/AGHomy3zSavY3gpDzN0UeQq3LsU4QcUtks5qQcp2gaJpZM4JAgj-).

markmark1 avatar Jun 29 '16 02:06 markmark1

Take a look at the demo project - that uses sections using reuse which basically exposes the cellForRowAtIndexPath as a block.

mamaral avatar Jun 29 '16 02:06 mamaral

I did but it doesn't show how todo load more and search 

On Tue, Jun 28, 2016 at 7:29 PM -0700, "Mike Amaral" [email protected] wrote:

Take a look at the demo project - that uses sections using reuse which basically exposes the cellForRowAtIndexPath as a block.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

markmark1 avatar Jun 29 '16 02:06 markmark1

@mamaral would it be possible to give a gist of how to add search code snippets to organic using

--- Take a look at the demo project - that uses sections using reuse which basically exposes the cellForRowAtIndexPath as a block.

markmark1 avatar Jul 01 '16 19:07 markmark1