Removing unused findsitesviewcontroller.

This commit is contained in:
Samuel Clay 2013-03-04 20:28:55 -08:00
parent c6fc48e2ba
commit 44b04107be
7 changed files with 142 additions and 2196 deletions

View file

@ -1,34 +0,0 @@
//
// findSitesViewController.h
// NewsBlur
//
// Created by Roy Yang on 7/31/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NewsBlurAppDelegate;
@class ASIHTTPRequest;
@interface FindSitesViewController : UIViewController
<UITableViewDataSource, UITableViewDataSource, UISearchBarDelegate> {
NewsBlurAppDelegate *appDelegate;
UISearchBar *sitesSearchBar;
UITableView *sitesTable;
NSArray *sites;
}
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
@property (nonatomic) IBOutlet UISearchBar *sitesSearchBar;
@property (nonatomic) IBOutlet UITableView *sitesTable;
@property (nonatomic) NSArray *sites;
- (void)doCancelButton;
- (void)loadSitesList:(NSString *)query;
- (void)requestFinished:(ASIHTTPRequest *)request;
- (void)requestFailed:(ASIHTTPRequest *)request;
@end

View file

@ -1,335 +0,0 @@
//
// FriendsListViewController.m
// NewsBlur
//
// Created by Roy Yang on 7/1/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import "NewsBlurAppDelegate.h"
#import "ASIHTTPRequest.h"
#import "FindSitesViewController.h"
#import "AddSiteViewController.h"
#import "MBProgressHUD.h"
#import "FeedDetailTableCell.h"
#import "Utilities.h"
#import "Base64.h"
#define FIND_SITES_ROW_HEIGHT 81;
@implementation UINavigationController (DelegateAutomaticDismissKeyboard)
- (BOOL)disablesAutomaticKeyboardDismissal {
return [self.topViewController disablesAutomaticKeyboardDismissal];
}
@end
@interface FindSitesViewController()
@property (readwrite) BOOL inSearch_;
@property (nonatomic) NSString *searchTerm_;
@property (nonatomic, strong) UIActivityIndicatorView *loadingIndicator_;
@end
@implementation FindSitesViewController
@synthesize appDelegate;
@synthesize sitesSearchBar;
@synthesize sitesTable;
@synthesize sites;
@synthesize inSearch_;
@synthesize searchTerm_;
@synthesize loadingIndicator_;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
}
return self;
}
- (void)viewDidLoad {
self.sitesTable.separatorStyle = UITableViewCellSeparatorStyleNone;
// loading indicator
UIActivityIndicatorView *loader = [[UIActivityIndicatorView alloc]
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
self.loadingIndicator_ = loader;
[self.view addSubview:self.loadingIndicator_];
[super viewDidLoad];
self.appDelegate = (NewsBlurAppDelegate *)[[UIApplication sharedApplication] delegate];
self.navigationItem.title = @"Find Sites";
UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc] initWithTitle: @"Done"
style: UIBarButtonSystemItemCancel
target: self
action: @selector(doCancelButton)];
[self.navigationItem setRightBarButtonItem:cancelButton];
self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:0.16f green:0.36f blue:0.46 alpha:0.9];
self.sitesTable.rowHeight = FIND_SITES_ROW_HEIGHT;
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
self.appDelegate = nil;
self.sitesSearchBar = nil;
self.sitesTable = nil;
self.sites = nil;
}
- (void)viewWillAppear:(BOOL)animated {
[self.sitesSearchBar becomeFirstResponder];
}
- (void)viewDidAppear:(BOOL)animated {
CGRect vb = self.view.bounds;
self.loadingIndicator_.frame = CGRectMake(vb.size.width - 52, 12,20,20);
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
[self.sitesTable reloadData];
}
- (void)doCancelButton {
[appDelegate.modalNavigationController dismissModalViewControllerAnimated:YES];
}
#pragma mark - UISearchBar delegate methods
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {
if (searchBar.text.length == 0) {
self.sites = nil;
self.inSearch_ = NO;
[self.sitesTable reloadData];
} else {
self.inSearch_ = YES;
self.searchTerm_ = searchText;
[self loadSitesList:searchText];
}
}
- (void)searchBarTextDidEndEditing:(UISearchBar *)theSearchBar {
[theSearchBar resignFirstResponder];
}
- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar {
[searchBar resignFirstResponder];
}
- (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar {
searchBar.text = nil;
}
- (void)loadSitesList:(NSString *)query {
[self.loadingIndicator_ startAnimating];
// [MBProgressHUD hideHUDForView:self.view animated:YES];
// MBProgressHUD *HUD = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
// HUD.labelText = @"Searching...";
NSString *urlString = [NSString stringWithFormat:@"http://%@/rss_feeds/feed_autocomplete?term=%@&limit=10&v=2",
NEWSBLUR_URL, [query stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
NSURL *url = [NSURL URLWithString:urlString];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDelegate:self];
[request setDidFinishSelector:@selector(requestFinished:)];
[request setDidFailSelector:@selector(requestFailed:)];
[request startAsynchronous];
}
- (void)requestFinished:(ASIHTTPRequest *)request {
[MBProgressHUD hideHUDForView:self.view animated:YES];
if (self.inSearch_) {
NSString *responseString = [request responseString];
NSData *responseData= [responseString dataUsingEncoding:NSUTF8StringEncoding];
NSError *error;
NSDictionary *results = [NSJSONSerialization
JSONObjectWithData:responseData
options:kNilOptions
error:&error];
// int statusCode = [request responseStatusCode];
self.sites = [results objectForKey:@"feeds"];
[self.sitesTable reloadData];
NSString *originalSearchTerm = [NSString stringWithFormat:@"%@", [results objectForKey:@"term"]];
if ([self.searchTerm_ isEqualToString:originalSearchTerm]) {
[self.loadingIndicator_ stopAnimating];
}
}
}
- (void)requestFailed:(ASIHTTPRequest *)request {
[MBProgressHUD hideHUDForView:self.view animated:YES];
NSError *error = [request error];
NSLog(@"Error: %@", error);
}
- (BOOL)disablesAutomaticKeyboardDismissal {
return NO;
}
#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return FIND_SITES_ROW_HEIGHT;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
if (self.inSearch_){
int siteCount = [self.sites count];
if (siteCount == 0) {
return 3;
}
return siteCount;
} else {
return 3;
}
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
CGRect vb = self.view.bounds;
static NSString *CellIdentifier = @"AddSiteEmptyCellIdentifier";
int sitesCount = [self.sites count];
if (self.inSearch_ && sitesCount){
if (sitesCount > indexPath.row) {
FeedDetailTableCell *cell = (FeedDetailTableCell *)[tableView
dequeueReusableCellWithIdentifier:@"AddSiteCellIdentifier"];
if (cell == nil) {
cell = [[FeedDetailTableCell alloc] initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:nil];
}
NSDictionary *site = [self.sites objectAtIndex:indexPath.row];
cell.siteTitle = [site objectForKey:@"label"];
cell.storyTitle = [site objectForKey:@"tagline"];
cell.storyAuthor = [site objectForKey:@"value"];
// adding comma to the number of subscribers
NSNumberFormatter *formatter = [NSNumberFormatter new];
[formatter setNumberStyle:NSNumberFormatterDecimalStyle]; // this line is important!
NSString *formatted = [formatter stringFromNumber:[NSNumber numberWithInteger:[[site objectForKey:@"num_subscribers"] intValue]]];
NSString *subscribers = [NSString stringWithFormat:@"%@ subscribers", formatted];
cell.storyDate = subscribers;
cell.isRiverOrSocial = YES;
// feed color bar border
unsigned int colorBorder = 0;
NSString *faviconColor = [site valueForKey:@"favicon_color"];
if ([faviconColor class] == [NSNull class]) {
faviconColor = @"505050";
}
NSScanner *scannerBorder = [NSScanner scannerWithString:faviconColor];
[scannerBorder scanHexInt:&colorBorder];
cell.feedColorBar = UIColorFromRGB(colorBorder);
// feed color bar border
NSString *faviconFade = [site valueForKey:@"favicon_border"];
if ([faviconFade class] == [NSNull class]) {
faviconFade = @"505050";
}
scannerBorder = [NSScanner scannerWithString:faviconFade];
[scannerBorder scanHexInt:&colorBorder];
cell.feedColorBarTopBorder = UIColorFromRGB(colorBorder);
// favicon
NSString *faviconStr = [NSString stringWithFormat:@"%@", [site valueForKey:@"favicon"]];
NSData *imageData = [NSData dataWithBase64EncodedString:faviconStr];
UIImage *faviconImage = [UIImage imageWithData:imageData];
cell.siteFavicon = faviconImage;
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
return cell;
}
}
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleSubtitle
reuseIdentifier:nil];
} else {
[[[cell contentView] subviews] makeObjectsPerformSelector: @selector(removeFromSuperview)];
}
int row = 0;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
row = 1;
}
UILabel *msg = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, vb.size.width, 81)];
msg.textColor = UIColorFromRGB(0x7a7a7a);
if (vb.size.width > 320) {
msg.font = [UIFont fontWithName:@"Helvetica-Bold" size: 20.0];
} else {
msg.font = [UIFont fontWithName:@"Helvetica-Bold" size: 14.0];
}
msg.textAlignment = UITextAlignmentCenter;
if (self.inSearch_ && sitesCount){
if (indexPath.row == row) {
[cell.contentView addSubview:msg];
msg.text = @"No results.";
}
} else {
if (indexPath.row == row) {
msg.text = @"Search for sites above";
}
}
cell.selectionStyle = UITableViewCellSelectionStyleNone;
return cell;
}
- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView {
[self.sitesSearchBar resignFirstResponder];
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[self.sitesSearchBar resignFirstResponder];
[appDelegate.modalNavigationController pushViewController:appDelegate.addSiteViewController animated:YES];
}
@end

File diff suppressed because it is too large Load diff

View file

@ -39,7 +39,6 @@
@class OriginalStoryViewController;
@class UserProfileViewController;
@class NBContainerViewController;
@class FindSitesViewController;
@class UnreadCounts;
@interface NewsBlurAppDelegate : BaseViewController <UIApplicationDelegate, UIAlertViewDelegate, UINavigationControllerDelegate> {
@ -71,7 +70,6 @@
ShareViewController *shareViewController;
LoginViewController *loginViewController;
AddSiteViewController *addSiteViewController;
FindSitesViewController *findSitesViewController;
MoveSiteViewController *moveSiteViewController;
TrainerViewController *trainerViewController;
OriginalStoryViewController *originalStoryViewController;
@ -152,7 +150,6 @@
@property (nonatomic) IBOutlet StoryPageControl *storyPageControl;
@property (nonatomic) IBOutlet LoginViewController *loginViewController;
@property (nonatomic) IBOutlet AddSiteViewController *addSiteViewController;
@property (nonatomic) IBOutlet FindSitesViewController *findSitesViewController;
@property (nonatomic) IBOutlet MoveSiteViewController *moveSiteViewController;
@property (nonatomic) IBOutlet TrainerViewController *trainerViewController;
@property (nonatomic) IBOutlet OriginalStoryViewController *originalStoryViewController;

View file

@ -19,7 +19,6 @@
#import "FriendsListViewController.h"
#import "LoginViewController.h"
#import "AddSiteViewController.h"
#import "FindSitesViewController.h"
#import "MoveSiteViewController.h"
#import "TrainerViewController.h"
#import "OriginalStoryViewController.h"
@ -27,7 +26,6 @@
#import "UserProfileViewController.h"
#import "NBContainerViewController.h"
#import "AFJSONRequestOperation.h"
#import "findSitesViewController.h"
#import "InteractionsModule.h"
#import "ActivityModule.h"
#import "FirstTimeUserViewController.h"
@ -66,7 +64,6 @@
@synthesize shareViewController;
@synthesize loginViewController;
@synthesize addSiteViewController;
@synthesize findSitesViewController;
@synthesize moveSiteViewController;
@synthesize trainerViewController;
@synthesize originalStoryViewController;

View file

@ -82,8 +82,6 @@
43A4BAE815C866FA00F3B8D4 /* popoverBg@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 43A4BAD915C866FA00F3B8D4 /* popoverBg@2x.png */; };
43A4BAE915C866FA00F3B8D4 /* popoverBgSimple.png in Resources */ = {isa = PBXBuildFile; fileRef = 43A4BADA15C866FA00F3B8D4 /* popoverBgSimple.png */; };
43A4BAEB15C893E300F3B8D4 /* FriendsListViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 43A4BAEA15C893E300F3B8D4 /* FriendsListViewController.xib */; };
43A4BAF315C89BF600F3B8D4 /* FindSitesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A4BAF115C89BF600F3B8D4 /* FindSitesViewController.m */; };
43A4BAF415C89BF600F3B8D4 /* FindSitesViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 43A4BAF215C89BF600F3B8D4 /* FindSitesViewController.xib */; };
43A4C3D715B00966008787B5 /* ABTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A4C3BA15B00966008787B5 /* ABTableViewCell.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
43A4C3D815B00966008787B5 /* Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A4C3BC15B00966008787B5 /* Base64.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
43A4C3DA15B00966008787B5 /* GTMNString+HTML.m in Sources */ = {isa = PBXBuildFile; fileRef = 43A4C3C015B00966008787B5 /* GTMNString+HTML.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
@ -489,9 +487,6 @@
43A4BAD915C866FA00F3B8D4 /* popoverBg@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "popoverBg@2x.png"; sourceTree = "<group>"; };
43A4BADA15C866FA00F3B8D4 /* popoverBgSimple.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = popoverBgSimple.png; sourceTree = "<group>"; };
43A4BAEA15C893E300F3B8D4 /* FriendsListViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FriendsListViewController.xib; sourceTree = "<group>"; };
43A4BAF015C89BF600F3B8D4 /* FindSitesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FindSitesViewController.h; sourceTree = "<group>"; };
43A4BAF115C89BF600F3B8D4 /* FindSitesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FindSitesViewController.m; sourceTree = "<group>"; };
43A4BAF215C89BF600F3B8D4 /* FindSitesViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = FindSitesViewController.xib; sourceTree = "<group>"; };
43A4C3B915B00966008787B5 /* ABTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ABTableViewCell.h; path = "Other Sources/ABTableViewCell.h"; sourceTree = "<group>"; };
43A4C3BA15B00966008787B5 /* ABTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ABTableViewCell.m; path = "Other Sources/ABTableViewCell.m"; sourceTree = "<group>"; };
43A4C3BB15B00966008787B5 /* Base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Base64.h; path = "Other Sources/Base64.h"; sourceTree = "<group>"; };
@ -1086,9 +1081,6 @@
431B858015A23C6B00DCE497 /* ProfileBadge.m */,
438FEDE615D5B15F00E3B3C9 /* FollowGrid.h */,
438FEDE715D5B15F00E3B3C9 /* FollowGrid.m */,
43A4BAF015C89BF600F3B8D4 /* FindSitesViewController.h */,
43A4BAF115C89BF600F3B8D4 /* FindSitesViewController.m */,
43A4BAF215C89BF600F3B8D4 /* FindSitesViewController.xib */,
432EBD2115D1D4070000729D /* AddSiteTableCell.h */,
432EBD2215D1D4070000729D /* AddSiteTableCell.m */,
);
@ -2080,7 +2072,6 @@
43A4BAE815C866FA00F3B8D4 /* popoverBg@2x.png in Resources */,
43A4BAE915C866FA00F3B8D4 /* popoverBgSimple.png in Resources */,
43A4BAEB15C893E300F3B8D4 /* FriendsListViewController.xib in Resources */,
43A4BAF415C89BF600F3B8D4 /* FindSitesViewController.xib in Resources */,
432EBD0E15D1A2B00000729D /* fountain_pen_on.png in Resources */,
432EBD0F15D1A2B00000729D /* fountain_pen_on@2x.png in Resources */,
432EBD1615D1A7800000729D /* user_on.png in Resources */,
@ -2346,7 +2337,6 @@
43A4BAC915C8663600F3B8D4 /* WEPopoverContainerView.m in Sources */,
43A4BACA15C8663600F3B8D4 /* WEPopoverController.m in Sources */,
43A4BACB15C8663600F3B8D4 /* WETouchableView.m in Sources */,
43A4BAF315C89BF600F3B8D4 /* FindSitesViewController.m in Sources */,
432EBD2315D1D4070000729D /* AddSiteTableCell.m in Sources */,
438FEDE815D5B15F00E3B3C9 /* FollowGrid.m in Sources */,
43B232C015D5F61700D035B4 /* AuthorizeServicesViewController.m in Sources */,

View file

@ -192,15 +192,6 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
<object class="IBUIViewController" id="925352312">
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="IBUIInterfaceOrientation">1</int>
<int key="interfaceOrientation">1</int>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
<object class="IBUIViewController" id="738062285">
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
@ -271,7 +262,6 @@
<string key="NSFrameSize">{320, 480}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
@ -429,14 +419,6 @@
</object>
<int key="connectionID">142</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">findSitesViewController</string>
<reference key="source" ref="664661524"/>
<reference key="destination" ref="925352312"/>
</object>
<int key="connectionID">144</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">fontSettingsViewController</string>
@ -597,14 +579,6 @@
</object>
<int key="connectionID">136</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">appDelegate</string>
<reference key="source" ref="925352312"/>
<reference key="destination" ref="664661524"/>
</object>
<int key="connectionID">145</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">appDelegate</string>
@ -801,11 +775,6 @@
<reference key="object" ref="1045229907"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">143</int>
<reference key="object" ref="925352312"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">146</int>
<reference key="object" ref="738062285"/>
@ -880,8 +849,6 @@
<string>134.IBPluginDependency</string>
<string>141.CustomClassName</string>
<string>141.IBPluginDependency</string>
<string>143.CustomClassName</string>
<string>143.IBPluginDependency</string>
<string>146.CustomClassName</string>
<string>146.IBPluginDependency</string>
<string>149.CustomClassName</string>
@ -937,8 +904,6 @@
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>UserProfileViewController</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>FindSitesViewController</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>FontSettingsViewController</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>FirstTimeUserViewController</string>
@ -1002,12 +967,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addFolder</string>
<string>addSite</string>
<string>checkSiteAddress</string>
<string>doAddButton</string>
<string>doCancelButton</string>
<string>selectAddTypeSignup</string>
<string>toggleAddFolder:</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -1016,26 +980,20 @@
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addFolder</string>
<string>addSite</string>
<string>checkSiteAddress</string>
<string>doAddButton</string>
<string>doCancelButton</string>
<string>selectAddTypeSignup</string>
<string>toggleAddFolder:</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBActionInfo">
<string key="name">addFolder</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">addSite</string>
<string key="candidateClassName">id</string>
@ -1053,7 +1011,7 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">selectAddTypeSignup</string>
<string key="name">toggleAddFolder:</string>
<string key="candidateClassName">id</string>
</object>
</object>
@ -1064,8 +1022,8 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>activityIndicator</string>
<string>addButton</string>
<string>addFolderButton</string>
<string>addFolderInput</string>
<string>addTypeControl</string>
<string>addingLabel</string>
<string>appDelegate</string>
<string>cancelButton</string>
@ -1082,8 +1040,8 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIActivityIndicatorView</string>
<string>UIBarButtonItem</string>
<string>UIButton</string>
<string>UITextField</string>
<string>UISegmentedControl</string>
<string>UILabel</string>
<string>NewsBlurAppDelegate</string>
<string>UIBarButtonItem</string>
@ -1103,8 +1061,8 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>activityIndicator</string>
<string>addButton</string>
<string>addFolderButton</string>
<string>addFolderInput</string>
<string>addTypeControl</string>
<string>addingLabel</string>
<string>appDelegate</string>
<string>cancelButton</string>
@ -1128,12 +1086,12 @@
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">addFolderInput</string>
<string key="candidateClassName">UITextField</string>
<string key="name">addFolderButton</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">addTypeControl</string>
<string key="candidateClassName">UISegmentedControl</string>
<string key="name">addFolderInput</string>
<string key="candidateClassName">UITextField</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">addingLabel</string>
@ -1396,13 +1354,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>doOpenMarkReadActionSheet:</string>
<string>doOpenSettingsActionSheet:</string>
<string>selectIntelligence</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@ -1411,7 +1367,6 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>doOpenMarkReadActionSheet:</string>
<string>doOpenSettingsActionSheet:</string>
<string>selectIntelligence</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -1423,10 +1378,6 @@
<string key="name">doOpenSettingsActionSheet:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">selectIntelligence</string>
<string key="candidateClassName">id</string>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@ -1435,19 +1386,23 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>feedMarkReadButton</string>
<string>feedScoreSlider</string>
<string>feedViewToolbar</string>
<string>intelligenceControl</string>
<string>settingsButton</string>
<string>rightToolbar</string>
<string>separatorBarButton</string>
<string>settingsBarButton</string>
<string>spacer2BarButton</string>
<string>spacer3BarButton</string>
<string>spacerBarButton</string>
<string>storyTitlesTable</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NewsBlurAppDelegate</string>
<string>UIBarButtonItem</string>
<string>UISlider</string>
<string>UIToolbar</string>
<string>UISegmentedControl</string>
<string>TransparentToolbar</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UITableView</string>
</object>
@ -1458,10 +1413,12 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>feedMarkReadButton</string>
<string>feedScoreSlider</string>
<string>feedViewToolbar</string>
<string>intelligenceControl</string>
<string>settingsButton</string>
<string>rightToolbar</string>
<string>separatorBarButton</string>
<string>settingsBarButton</string>
<string>spacer2BarButton</string>
<string>spacer3BarButton</string>
<string>spacerBarButton</string>
<string>storyTitlesTable</string>
</object>
<object class="NSArray" key="dict.values">
@ -1475,19 +1432,27 @@
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">feedScoreSlider</string>
<string key="candidateClassName">UISlider</string>
<string key="name">rightToolbar</string>
<string key="candidateClassName">TransparentToolbar</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">feedViewToolbar</string>
<string key="candidateClassName">UIToolbar</string>
<string key="name">separatorBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">intelligenceControl</string>
<string key="candidateClassName">UISegmentedControl</string>
<string key="name">settingsBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">settingsButton</string>
<string key="name">spacer2BarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">spacer3BarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">spacerBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
@ -1541,53 +1506,6 @@
<string key="minorKey">./Classes/FeedsMenuViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">FindSitesViewController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>sitesSearchBar</string>
<string>sitesTable</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NewsBlurAppDelegate</string>
<string>UISearchBar</string>
<string>UITableView</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>sitesSearchBar</string>
<string>sitesTable</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">appDelegate</string>
<string key="candidateClassName">NewsBlurAppDelegate</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">sitesSearchBar</string>
<string key="candidateClassName">UISearchBar</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">sitesTable</string>
<string key="candidateClassName">UITableView</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/FindSitesViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">FirstTimeUserAddFriendsViewController</string>
<string key="superclassName">UIViewController</string>
@ -2481,6 +2399,14 @@
<string key="minorKey">./Classes/NBContainerViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSLayoutConstraint</string>
<string key="superclassName">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/NSLayoutConstraint.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NewsBlurAppDelegate</string>
<string key="superclassName">BaseViewController</string>
@ -2495,7 +2421,6 @@
<string>feedDetailViewController</string>
<string>feedsMenuViewController</string>
<string>feedsViewController</string>
<string>findSitesViewController</string>
<string>firstTimeUserAddFriendsViewController</string>
<string>firstTimeUserAddNewsBlurViewController</string>
<string>firstTimeUserAddSitesViewController</string>
@ -2524,7 +2449,6 @@
<string>FeedDetailViewController</string>
<string>FeedsMenuViewController</string>
<string>NewsBlurViewController</string>
<string>FindSitesViewController</string>
<string>FirstTimeUserAddFriendsViewController</string>
<string>FirstTimeUserAddNewsBlurViewController</string>
<string>FirstTimeUserAddSitesViewController</string>
@ -2556,7 +2480,6 @@
<string>feedDetailViewController</string>
<string>feedsMenuViewController</string>
<string>feedsViewController</string>
<string>findSitesViewController</string>
<string>firstTimeUserAddFriendsViewController</string>
<string>firstTimeUserAddNewsBlurViewController</string>
<string>firstTimeUserAddSitesViewController</string>
@ -2606,10 +2529,6 @@
<string key="name">feedsViewController</string>
<string key="candidateClassName">NewsBlurViewController</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">findSitesViewController</string>
<string key="candidateClassName">FindSitesViewController</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">firstTimeUserAddFriendsViewController</string>
<string key="candidateClassName">FirstTimeUserAddFriendsViewController</string>
@ -2763,6 +2682,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>activitiesButton</string>
<string>addBarButton</string>
<string>appDelegate</string>
<string>feedScoreSlider</string>
@ -2778,6 +2698,7 @@
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>NewsBlurAppDelegate</string>
<string>UISlider</string>
<string>UITableView</string>
@ -2794,6 +2715,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>activitiesButton</string>
<string>addBarButton</string>
<string>appDelegate</string>
<string>feedScoreSlider</string>
@ -2808,6 +2730,10 @@
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">activitiesButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">addBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
@ -2869,12 +2795,18 @@
<string>doCloseOriginalStoryViewController</string>
<string>doOpenActionSheet</string>
<string>loadAddress:</string>
<string>webViewGoBack:</string>
<string>webViewGoForward:</string>
<string>webViewRefresh:</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@ -2884,6 +2816,9 @@
<string>doCloseOriginalStoryViewController</string>
<string>doOpenActionSheet</string>
<string>loadAddress:</string>
<string>webViewGoBack:</string>
<string>webViewGoForward:</string>
<string>webViewRefresh:</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -2899,6 +2834,18 @@
<string key="name">loadAddress:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">webViewGoBack:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">webViewGoForward:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">webViewRefresh:</string>
<string key="candidateClassName">id</string>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
@ -3048,16 +2995,22 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>appdotnetButton</string>
<string>commentField</string>
<string>facebookButton</string>
<string>keyboardHeight</string>
<string>storyTitle</string>
<string>submitButton</string>
<string>twitterButton</string>
</object>
<object class="NSArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NewsBlurAppDelegate</string>
<string>UIButton</string>
<string>UITextView</string>
<string>UIButton</string>
<string>NSLayoutConstraint</string>
<string>UILabel</string>
<string>UIBarButtonItem</string>
<string>UIButton</string>
</object>
@ -3067,8 +3020,11 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>appDelegate</string>
<string>appdotnetButton</string>
<string>commentField</string>
<string>facebookButton</string>
<string>keyboardHeight</string>
<string>storyTitle</string>
<string>submitButton</string>
<string>twitterButton</string>
</object>
@ -3078,6 +3034,10 @@
<string key="name">appDelegate</string>
<string key="candidateClassName">NewsBlurAppDelegate</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">appdotnetButton</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">commentField</string>
<string key="candidateClassName">UITextView</string>
@ -3086,6 +3046,14 @@
<string key="name">facebookButton</string>
<string key="candidateClassName">UIButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">keyboardHeight</string>
<string key="candidateClassName">NSLayoutConstraint</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">storyTitle</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">submitButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
@ -3233,7 +3201,12 @@
<string>pageControl</string>
<string>progressView</string>
<string>progressViewContainer</string>
<string>rightToolbar</string>
<string>scrollView</string>
<string>separatorBarButton</string>
<string>spacer2BarButton</string>
<string>spacer3BarButton</string>
<string>spacerBarButton</string>
<string>subscribeButton</string>
<string>toolbar</string>
</object>
@ -3250,8 +3223,13 @@
<string>UIPageControl</string>
<string>UIProgressView</string>
<string>UIView</string>
<string>TransparentToolbar</string>
<string>UIScrollView</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIBarButtonItem</string>
<string>UIToolbar</string>
</object>
</object>
@ -3270,7 +3248,12 @@
<string>pageControl</string>
<string>progressView</string>
<string>progressViewContainer</string>
<string>rightToolbar</string>
<string>scrollView</string>
<string>separatorBarButton</string>
<string>spacer2BarButton</string>
<string>spacer3BarButton</string>
<string>spacerBarButton</string>
<string>subscribeButton</string>
<string>toolbar</string>
</object>
@ -3320,10 +3303,30 @@
<string key="name">progressViewContainer</string>
<string key="candidateClassName">UIView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">rightToolbar</string>
<string key="candidateClassName">TransparentToolbar</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">scrollView</string>
<string key="candidateClassName">UIScrollView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">separatorBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">spacer2BarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">spacer3BarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">spacerBarButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">subscribeButton</string>
<string key="candidateClassName">UIBarButtonItem</string>
@ -3412,6 +3415,14 @@
<string key="minorKey">./Classes/TrainerWebView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">TransparentToolbar</string>
<string key="superclassName">UIToolbar</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/TransparentToolbar.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UserProfileViewController</string>
<string key="superclassName">UIViewController</string>