Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 07-10-2010, 05:40 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 9
kotireddy is on a distinguished road
Post UISearch Bar

Hi
I am new to iPhone app development. i have implement search bar thing in my table view controller,but it is not working properly.I follow many forums but i can't get that.If any one knows about it Please send me that snippet of code very urgent.
kotireddy is offline   Reply With Quote
Old 07-10-2010, 06:53 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

It might help to show how you've tried to implement it and state how exactly it's not working.

Also, please stop using bold unless it's really necessary.
harrytheshark is offline   Reply With Quote
Old 07-10-2010, 08:13 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 9
kotireddy is on a distinguished road
Post UISearch Bar

Quote:
Originally Posted by harrytheshark View Post
It might help to show how you've tried to implement it and state how exactly it's not working.

Also, please stop using bold unless it's really necessary.
Hi,
Thanks for attempt my query.I need when i click a search button on navigation bar then search is started and the table view is reload after getting search results.It is my exact question.
kotireddy is offline   Reply With Quote
Old 07-10-2010, 08:33 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

Right, but what have you tried so far? Post any code you're using.
harrytheshark is offline   Reply With Quote
Old 07-10-2010, 08:40 AM   #5 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 9
kotireddy is on a distinguished road
Post UISearch Bar

Quote:
Originally Posted by harrytheshark View Post
Right, but what have you tried so far? Post any code you're using.
////////////////this is my .h file and her i am not taking any button for search . will you help you?/////////////////////////////



@interface ExhibitorsViewController : UIViewController <UITableViewDelegate,UITableViewDataSource,UISearc hDisplayDelegate,UISearchBarDelegate>

{
UITableView *tableView4;

NSArray *listContent; // The master content.
NSMutableArray *filteredListContent; // The content filtered as a result of a search.

// The saved state of the search UI if a memory warning removed the view.
NSString *savedSearchTerm;
NSInteger savedScopeButtonIndex;
BOOL searchWasActive;



}
@property (nonatomic, retain) NSArray *listContent;
@property (nonatomic, retain) NSMutableArray *filteredListContent;

@property (nonatomic, copy) NSString *savedSearchTerm;
@property (nonatomic) NSInteger savedScopeButtonIndex;
@property (nonatomic) BOOL searchWasActive;




@property(nonatomic,retain) IBOutlet UITableView *tableView4;
@end

/////////////////////////this is my .m file//////////////////////////////
kotireddy is offline   Reply With Quote
Old 07-10-2010, 08:41 AM   #6 (permalink)
Registered Member
 
Join Date: Dec 2008
Location: UK
Posts: 1,896
harrytheshark is on a distinguished road
Default

You need to post your .m file.
harrytheshark is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 388
10 members and 378 guests
AragornSG, baja_yu, ChrisYates, davejas69, guusleijsten, hussain1982, Kryckter, locombiano89, Mah6447, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,646
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, locombiano89
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:39 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0