mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Stubbing in new modal trainer for ios.
This commit is contained in:
parent
c65d486f41
commit
50e3fc5f0f
19 changed files with 3960 additions and 3113 deletions
1
fabfile.py
vendored
1
fabfile.py
vendored
|
@ -160,6 +160,7 @@ def deploy_code(copy_assets=False, full=False):
|
|||
def deploy_node():
|
||||
with cd(env.NEWSBLUR_PATH):
|
||||
run('sudo supervisorctl restart node_unread')
|
||||
run('sudo supervisorctl restart node_unread_ssl')
|
||||
run('sudo supervisorctl restart node_favicons')
|
||||
|
||||
def gunicorn_restart():
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
[options addObject:[deleteText uppercaseString]];
|
||||
|
||||
[options addObject:[@"Move to another folder" uppercaseString]];
|
||||
[options addObject:[@"Train this site" uppercaseString]];
|
||||
|
||||
if (!appDelegate.isRiverView) {
|
||||
[options addObject:[@"Insta-fetch stories" uppercaseString]];
|
||||
|
@ -139,6 +140,8 @@
|
|||
} else if (indexPath.row == 1) {
|
||||
cell.imageView.image = [UIImage imageNamed:@"arrow_branch"];
|
||||
} else if (indexPath.row == 2) {
|
||||
cell.imageView.image = [UIImage imageNamed:@"bricks"];
|
||||
} else if (indexPath.row == 3) {
|
||||
cell.imageView.image = [UIImage imageNamed:@"car"];
|
||||
}
|
||||
|
||||
|
@ -164,6 +167,8 @@
|
|||
} else if (indexPath.row == 1) {
|
||||
[appDelegate.feedDetailViewController openMoveView];
|
||||
} else if (indexPath.row == 2) {
|
||||
[appDelegate.feedDetailViewController openTrainSite];
|
||||
} else if (indexPath.row == 3) {
|
||||
[appDelegate.feedDetailViewController instafetchFeed];
|
||||
}
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
- (void)deleteSite;
|
||||
- (void)deleteFolder;
|
||||
- (void)openMoveView;
|
||||
- (void)openTrainSite;
|
||||
- (void)showUserProfile;
|
||||
- (void)changeActiveFeedDetailRow;
|
||||
- (void)instafetchFeed;
|
||||
|
|
|
@ -1081,7 +1081,7 @@
|
|||
if ([self.popoverController respondsToSelector:@selector(setContainerViewProperties:)]) {
|
||||
[self.popoverController setContainerViewProperties:[self improvedContainerViewProperties]];
|
||||
}
|
||||
[self.popoverController setPopoverContentSize:CGSizeMake(260, appDelegate.isRiverView ? 38 * 3 : 38 * 5)];
|
||||
[self.popoverController setPopoverContentSize:CGSizeMake(260, appDelegate.isRiverView ? 38 * 4 : 38 * 6)];
|
||||
[self.popoverController presentPopoverFromBarButtonItem:self.settingsButton
|
||||
permittedArrowDirections:UIPopoverArrowDirectionDown
|
||||
animated:YES];
|
||||
|
@ -1178,6 +1178,10 @@
|
|||
[appDelegate showMoveSite];
|
||||
}
|
||||
|
||||
- (void)openTrainSite {
|
||||
[appDelegate openTrainSite];
|
||||
}
|
||||
|
||||
- (void)showUserProfile {
|
||||
appDelegate.activeUserProfileId = [NSString stringWithFormat:@"%@", [appDelegate.activeFeed objectForKey:@"user_id"]];
|
||||
appDelegate.activeUserProfileName = [NSString stringWithFormat:@"%@", [appDelegate.activeFeed objectForKey:@"username"]];
|
||||
|
|
|
@ -279,7 +279,7 @@
|
|||
popoverController.delegate = self;
|
||||
|
||||
|
||||
[popoverController setPopoverContentSize:CGSizeMake(260, appDelegate.isRiverView ? 38*3 : 38*5)];
|
||||
[popoverController setPopoverContentSize:CGSizeMake(260, appDelegate.isRiverView ? 38*4 : 38*6)];
|
||||
[popoverController presentPopoverFromBarButtonItem:sender
|
||||
permittedArrowDirections:UIPopoverArrowDirectionAny
|
||||
animated:YES];
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
@class LoginViewController;
|
||||
@class AddSiteViewController;
|
||||
@class MoveSiteViewController;
|
||||
@class TrainerViewController;
|
||||
@class OriginalStoryViewController;
|
||||
@class UserProfileViewController;
|
||||
@class NBContainerViewController;
|
||||
|
@ -71,6 +72,7 @@
|
|||
AddSiteViewController *addSiteViewController;
|
||||
FindSitesViewController *findSitesViewController;
|
||||
MoveSiteViewController *moveSiteViewController;
|
||||
TrainerViewController *trainerViewController;
|
||||
OriginalStoryViewController *originalStoryViewController;
|
||||
UserProfileViewController *userProfileViewController;
|
||||
|
||||
|
@ -146,6 +148,7 @@
|
|||
@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;
|
||||
@property (nonatomic) IBOutlet ShareViewController *shareViewController;
|
||||
@property (nonatomic) IBOutlet FontSettingsViewController *fontSettingsViewController;
|
||||
|
@ -220,6 +223,7 @@
|
|||
|
||||
- (void)showAddSiteModal:(id)sender;
|
||||
- (void)showMoveSite;
|
||||
- (void)openTrainSite;
|
||||
- (void)loadFeedDetailView;
|
||||
- (void)loadTryFeedDetailView:(NSString *)feedId withStory:(NSString *)contentId isSocial:(BOOL)social withUser:(NSDictionary *)user showFindingStory:(BOOL)showHUD;
|
||||
- (void)loadRiverFeedDetailView;
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#import "AddSiteViewController.h"
|
||||
#import "FindSitesViewController.h"
|
||||
#import "MoveSiteViewController.h"
|
||||
#import "TrainerViewController.h"
|
||||
#import "OriginalStoryViewController.h"
|
||||
#import "ShareViewController.h"
|
||||
#import "UserProfileViewController.h"
|
||||
|
@ -64,6 +65,7 @@
|
|||
@synthesize addSiteViewController;
|
||||
@synthesize findSitesViewController;
|
||||
@synthesize moveSiteViewController;
|
||||
@synthesize trainerViewController;
|
||||
@synthesize originalStoryViewController;
|
||||
@synthesize userProfileViewController;
|
||||
|
||||
|
@ -404,6 +406,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void)openTrainSite {
|
||||
UINavigationController *navController = self.navigationController;
|
||||
|
||||
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
|
||||
trainerViewController.modalPresentationStyle=UIModalPresentationFormSheet;
|
||||
[navController presentModalViewController:trainerViewController animated:YES];
|
||||
} else {
|
||||
[navController presentModalViewController:trainerViewController animated:YES];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)reloadFeedsView:(BOOL)showLoader {
|
||||
[feedsViewController fetchFeedList:showLoader];
|
||||
[loginViewController dismissModalViewControllerAnimated:NO];
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="8.00">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C3006</string>
|
||||
<string key="IBDocument.SystemVersion">12C2037</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
|
@ -41,7 +41,6 @@
|
|||
<int key="NSvFlags">303</int>
|
||||
<string key="NSFrame">{{86, 15}, {532, 75}}</string>
|
||||
<reference key="NSSuperview" ref="766721923"/>
|
||||
<reference key="NSNextKeyView"/>
|
||||
<string key="NSReuseIdentifierKey">_NS:9</string>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">1</int>
|
||||
|
|
34
media/ios/Classes/TrainerViewController.h
Normal file
34
media/ios/Classes/TrainerViewController.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
//
|
||||
// TrainerViewController.h
|
||||
// NewsBlur
|
||||
//
|
||||
// Created by Samuel Clay on 12/24/12.
|
||||
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "BaseViewController.h"
|
||||
#import "NewsBlurAppDelegate.h"
|
||||
|
||||
@interface TrainerViewController : BaseViewController
|
||||
<UIWebViewDelegate> {
|
||||
NewsBlurAppDelegate *appDelegate;
|
||||
|
||||
IBOutlet UIBarButtonItem * closeButton;
|
||||
UIWebView *webView;
|
||||
UINavigationBar *navBar;
|
||||
}
|
||||
|
||||
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
|
||||
@property (nonatomic) IBOutlet UIBarButtonItem *closeButton;
|
||||
@property (nonatomic) IBOutlet UIWebView *webView;
|
||||
@property (nonatomic) IBOutlet UINavigationBar *navBar;
|
||||
|
||||
- (NSString *)makeTrainerSections;
|
||||
- (NSString *)makeAuthor;
|
||||
- (NSString *)makeTags;
|
||||
- (NSString *)makePublisher;
|
||||
- (NSString *)makeTitle;
|
||||
- (IBAction)doCloseDialog:(id)sender;
|
||||
|
||||
@end
|
150
media/ios/Classes/TrainerViewController.m
Normal file
150
media/ios/Classes/TrainerViewController.m
Normal file
|
@ -0,0 +1,150 @@
|
|||
//
|
||||
// TrainerViewController.m
|
||||
// NewsBlur
|
||||
//
|
||||
// Created by Samuel Clay on 12/24/12.
|
||||
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TrainerViewController.h"
|
||||
#import "StringHelper.h"
|
||||
|
||||
@implementation TrainerViewController
|
||||
|
||||
@synthesize closeButton;
|
||||
@synthesize webView;
|
||||
@synthesize navBar;
|
||||
@synthesize appDelegate;
|
||||
|
||||
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||||
{
|
||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||
if (self) {
|
||||
// Custom initialization
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)viewDidLoad
|
||||
{
|
||||
[super viewDidLoad];
|
||||
self.appDelegate = [NewsBlurAppDelegate sharedAppDelegate];
|
||||
|
||||
navBar.tintColor = UIColorFromRGB(0x183353);
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[self.webView loadHTMLString:[self makeTrainerSections] baseURL:nil];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Story layout
|
||||
|
||||
- (NSString *)makeTrainerSections {
|
||||
NSString *storyAuthor = [self makeAuthor];
|
||||
NSString *storyTags = [self makeTags];
|
||||
NSString *storyTitle = [self makeTitle];
|
||||
NSString *storyPublisher = [self makePublisher];
|
||||
|
||||
NSString *storyHeader = [NSString stringWithFormat:@
|
||||
"<div class=\"NB-trainer\"><div class=\"NB-trainer-inner\">"
|
||||
"<div class=\"NB-trainer-title\">%@</div>"
|
||||
"<div class=\"NB-trainer-author\">%@</div>"
|
||||
"<div class=\"NB-trainer-tags\">%@</div>"
|
||||
"<div class=\"NB-trainer-publisher\">%@</div>"
|
||||
"</div></div>",
|
||||
storyTitle,
|
||||
storyAuthor,
|
||||
storyTags,
|
||||
storyPublisher];
|
||||
return storyHeader;
|
||||
}
|
||||
|
||||
- (NSString *)makeAuthor {
|
||||
NSString *feedId = [NSString stringWithFormat:@"%@", [appDelegate.activeStory
|
||||
objectForKey:@"story_feed_id"]];
|
||||
NSString *storyAuthor = @"";
|
||||
if ([[appDelegate.activeStory objectForKey:@"story_authors"] class] != [NSNull class] &&
|
||||
[[appDelegate.activeStory objectForKey:@"story_authors"] length]) {
|
||||
NSString *author = [NSString stringWithFormat:@"%@",
|
||||
[appDelegate.activeStory objectForKey:@"story_authors"]];
|
||||
if (author && [author class] != [NSNull class]) {
|
||||
int authorScore = [[[[appDelegate.activeClassifiers objectForKey:feedId]
|
||||
objectForKey:@"authors"]
|
||||
objectForKey:author] intValue];
|
||||
storyAuthor = [NSString stringWithFormat:@"<a href=\"http://ios.newsblur.com/classify-author/%@\" "
|
||||
"class=\"NB-story-author %@\" id=\"NB-story-author\"><div class=\"NB-highlight\"></div>%@</a>",
|
||||
author,
|
||||
authorScore > 0 ? @"NB-story-author-positive" : authorScore < 0 ? @"NB-story-author-negative" : @"",
|
||||
author];
|
||||
}
|
||||
}
|
||||
return storyAuthor;
|
||||
}
|
||||
|
||||
- (NSString *)makeTags {
|
||||
NSString *feedId = [NSString stringWithFormat:@"%@", [appDelegate.activeStory
|
||||
objectForKey:@"story_feed_id"]];
|
||||
|
||||
NSString *storyTags = @"";
|
||||
if ([appDelegate.activeStory objectForKey:@"story_tags"]) {
|
||||
NSArray *tagArray = [appDelegate.activeStory objectForKey:@"story_tags"];
|
||||
if ([tagArray count] > 0) {
|
||||
NSMutableArray *tagStrings = [NSMutableArray array];
|
||||
for (NSString *tag in tagArray) {
|
||||
int tagScore = [[[[appDelegate.activeClassifiers objectForKey:feedId]
|
||||
objectForKey:@"tags"]
|
||||
objectForKey:tag] intValue];
|
||||
NSString *tagHtml = [NSString stringWithFormat:@"<a href=\"http://ios.newsblur.com/classify-tag/%@\" "
|
||||
"class=\"NB-story-tag %@\"><div class=\"NB-highlight\"></div>%@</a>",
|
||||
tag,
|
||||
tagScore > 0 ? @"NB-story-tag-positive" : tagScore < 0 ? @"NB-story-tag-negative" : @"",
|
||||
tag];
|
||||
[tagStrings addObject:tagHtml];
|
||||
}
|
||||
storyTags = [NSString
|
||||
stringWithFormat:@"<div id=\"NB-story-tags\" class=\"NB-story-tags\">"
|
||||
"%@"
|
||||
"</div>",
|
||||
[tagStrings componentsJoinedByString:@""]];
|
||||
}
|
||||
}
|
||||
|
||||
return storyTags;
|
||||
}
|
||||
- (NSString *)makePublisher {
|
||||
NSString *feedId = [NSString stringWithFormat:@"%@", [appDelegate.activeStory
|
||||
objectForKey:@"story_feed_id"]];
|
||||
NSString *storyPublisher = [NSString stringWithFormat:@"%@", [[appDelegate.dictFeeds objectForKey:feedId] objectForKey:@"feed_title"]];
|
||||
return storyPublisher;
|
||||
}
|
||||
|
||||
- (NSString *)makeTitle {
|
||||
NSString *feedId = [NSString stringWithFormat:@"%@", [appDelegate.activeStory
|
||||
objectForKey:@"story_feed_id"]];
|
||||
NSString *storyTitle = [appDelegate.activeStory objectForKey:@"story_title"];
|
||||
NSMutableDictionary *titleClassifiers = [[appDelegate.activeClassifiers objectForKey:feedId]
|
||||
objectForKey:@"titles"];
|
||||
for (NSString *titleClassifier in titleClassifiers) {
|
||||
if ([storyTitle containsString:titleClassifier]) {
|
||||
int titleScore = [[titleClassifiers objectForKey:titleClassifier] intValue];
|
||||
storyTitle = [storyTitle
|
||||
stringByReplacingOccurrencesOfString:titleClassifier
|
||||
withString:[NSString stringWithFormat:@"<span class=\"NB-story-title-%@\">%@</span>",
|
||||
titleScore > 0 ? @"positive" : titleScore < 0 ? @"negative" : @"",
|
||||
titleClassifier]];
|
||||
}
|
||||
}
|
||||
|
||||
return storyTitle;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark Actions
|
||||
|
||||
- (IBAction)doCloseDialog:(id)sender {
|
||||
[appDelegate.trainerViewController dismissModalViewControllerAnimated:YES];
|
||||
}
|
||||
|
||||
@end
|
|
@ -373,6 +373,9 @@
|
|||
FF5F3A89162B8377008DBE3E /* arrow_branch.png in Resources */ = {isa = PBXBuildFile; fileRef = FF5F3A88162B8377008DBE3E /* arrow_branch.png */; };
|
||||
FF5F3A8B162B8390008DBE3E /* car.png in Resources */ = {isa = PBXBuildFile; fileRef = FF5F3A8A162B8390008DBE3E /* car.png */; };
|
||||
FF67D3B2168924C40057A7DA /* TrainerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FF67D3B1168924C40057A7DA /* TrainerViewController.m */; };
|
||||
FF67D3B51689746B0057A7DA /* bricks.png in Resources */ = {isa = PBXBuildFile; fileRef = FF67D3B41689746B0057A7DA /* bricks.png */; };
|
||||
FF67D3B7168977690057A7DA /* TrainerViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = FF67D3B6168977690057A7DA /* TrainerViewController.xib */; };
|
||||
FF67D3B916897AD80057A7DA /* TrainerViewController~ipad.xib in Resources */ = {isa = PBXBuildFile; fileRef = FF67D3B816897AD80057A7DA /* TrainerViewController~ipad.xib */; };
|
||||
FF6A233216448E0700E15989 /* StoryPageControl.m in Sources */ = {isa = PBXBuildFile; fileRef = FF6A233116448E0700E15989 /* StoryPageControl.m */; };
|
||||
FF6A23391644957800E15989 /* StoryPageControl.xib in Resources */ = {isa = PBXBuildFile; fileRef = FF6A23361644903900E15989 /* StoryPageControl.xib */; };
|
||||
FF793E1B13F1A9F700F282D2 /* ASIDataCompressor.m in Sources */ = {isa = PBXBuildFile; fileRef = FF793E1813F1A9F700F282D2 /* ASIDataCompressor.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
|
||||
|
@ -906,6 +909,9 @@
|
|||
FF5F3A8A162B8390008DBE3E /* car.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = car.png; sourceTree = "<group>"; };
|
||||
FF67D3B0168924C40057A7DA /* TrainerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TrainerViewController.h; sourceTree = "<group>"; };
|
||||
FF67D3B1168924C40057A7DA /* TrainerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TrainerViewController.m; sourceTree = "<group>"; };
|
||||
FF67D3B41689746B0057A7DA /* bricks.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bricks.png; sourceTree = "<group>"; };
|
||||
FF67D3B6168977690057A7DA /* TrainerViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TrainerViewController.xib; sourceTree = "<group>"; };
|
||||
FF67D3B816897AD80057A7DA /* TrainerViewController~ipad.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = "TrainerViewController~ipad.xib"; path = "Resources-iPad/Classes/TrainerViewController~ipad.xib"; sourceTree = "<group>"; };
|
||||
FF6A233016448E0700E15989 /* StoryPageControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StoryPageControl.h; sourceTree = "<group>"; };
|
||||
FF6A233116448E0700E15989 /* StoryPageControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = StoryPageControl.m; sourceTree = "<group>"; };
|
||||
FF6A23361644903900E15989 /* StoryPageControl.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = StoryPageControl.xib; path = ../Classes/StoryPageControl.xib; sourceTree = "<group>"; };
|
||||
|
@ -1390,6 +1396,7 @@
|
|||
433323B5158901A40025064D /* Images */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
FF67D3B41689746B0057A7DA /* bricks.png */,
|
||||
432EBD1415D1A7800000729D /* user_on.png */,
|
||||
432EBD1515D1A7800000729D /* user_on@2x.png */,
|
||||
432EBD0C15D1A2B00000729D /* fountain_pen_on.png */,
|
||||
|
@ -1484,6 +1491,7 @@
|
|||
43081E2115AFE84200B24D7A /* ShareViewController.xib */,
|
||||
43B8F021156603170008733D /* StoryDetailViewController.xib */,
|
||||
FF6A23361644903900E15989 /* StoryPageControl.xib */,
|
||||
FF67D3B6168977690057A7DA /* TrainerViewController.xib */,
|
||||
43A4BAEA15C893E300F3B8D4 /* FriendsListViewController.xib */,
|
||||
);
|
||||
path = "Resources-iPhone";
|
||||
|
@ -1498,6 +1506,7 @@
|
|||
43D045241565BC150085F811 /* LoginViewController~ipad.xib */,
|
||||
43D0451F1565BC150085F811 /* MainWindow~ipad.xib */,
|
||||
43D045281565BC150085F811 /* MoveSiteViewController~ipad.xib */,
|
||||
FF67D3B816897AD80057A7DA /* TrainerViewController~ipad.xib */,
|
||||
43D045251565BC150085F811 /* OriginalStoryViewController~ipad.xib */,
|
||||
43D045271565BC150085F811 /* AddSiteAutocompleteCell~ipad.xib */,
|
||||
43D045221565BC150085F811 /* StoryDetailViewController~ipad.xib */,
|
||||
|
@ -2196,6 +2205,9 @@
|
|||
FF4130AB162F3C2F00DDB6A7 /* archive_white.png in Resources */,
|
||||
FF6A23391644957800E15989 /* StoryPageControl.xib in Resources */,
|
||||
FFAD0BE71649EC1800EE33D0 /* StoryPageControl~ipad.xib in Resources */,
|
||||
FF67D3B51689746B0057A7DA /* bricks.png in Resources */,
|
||||
FF67D3B7168977690057A7DA /* TrainerViewController.xib in Resources */,
|
||||
FF67D3B916897AD80057A7DA /* TrainerViewController~ipad.xib in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,22 +1,22 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1296</int>
|
||||
<string key="IBDocument.SystemVersion">11E53</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2182</string>
|
||||
<string key="IBDocument.AppKitVersion">1138.47</string>
|
||||
<string key="IBDocument.HIToolboxVersion">569.00</string>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C2037</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string key="NS.object.0">1181</string>
|
||||
<string key="NS.object.0">1926</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>IBUIWebView</string>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIBarButtonItem</string>
|
||||
<string>IBUIToolbar</string>
|
||||
<string>IBUIView</string>
|
||||
<string>IBProxyObject</string>
|
||||
<string>IBUIWebView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="IBDocument.PluginDependencies">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -46,7 +46,6 @@
|
|||
<int key="NSvFlags">274</int>
|
||||
<string key="NSFrameSize">{768, 960}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="623759027"/>
|
||||
<bool key="IBUIMultipleTouchEnabled">YES</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
|
@ -59,7 +58,6 @@
|
|||
<int key="NSvFlags">266</int>
|
||||
<string key="NSFrame">{{0, 960}, {768, 44}}</string>
|
||||
<reference key="NSSuperview" ref="191373211"/>
|
||||
<reference key="NSWindow"/>
|
||||
<bool key="IBUIOpaque">NO</bool>
|
||||
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
|
@ -113,7 +111,6 @@
|
|||
</object>
|
||||
<string key="NSFrame">{{0, 20}, {768, 1004}}</string>
|
||||
<reference key="NSSuperview"/>
|
||||
<reference key="NSWindow"/>
|
||||
<reference key="NSNextKeyView" ref="812726678"/>
|
||||
<object class="NSColor" key="IBUIBackgroundColor">
|
||||
<int key="NSColorSpace">3</int>
|
||||
|
@ -1448,7 +1445,7 @@
|
|||
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
||||
<real value="1296" key="NS.object.0"/>
|
||||
<real value="1536" key="NS.object.0"/>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
||||
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
||||
|
@ -1469,6 +1466,6 @@
|
|||
<string>{16, 24}</string>
|
||||
</object>
|
||||
</object>
|
||||
<string key="IBCocoaTouchPluginVersion">1181</string>
|
||||
<string key="IBCocoaTouchPluginVersion">1926</string>
|
||||
</data>
|
||||
</archive>
|
||||
|
|
1710
media/ios/Resources-iPad/Classes/TrainerViewController~ipad.xib
Normal file
1710
media/ios/Resources-iPad/Classes/TrainerViewController~ipad.xib
Normal file
File diff suppressed because it is too large
Load diff
BIN
media/ios/Resources-iPad/Images/bricks.png
Executable file
BIN
media/ios/Resources-iPad/Images/bricks.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 765 B |
|
@ -2,7 +2,7 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C60</string>
|
||||
<string key="IBDocument.SystemVersion">12C2037</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
|
@ -201,6 +201,18 @@
|
|||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIViewController" id="1050382266">
|
||||
<string key="IBUINibName">TrainerViewController~ipad</string>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
|
||||
<int key="IBUIStatusBarStyle">2</int>
|
||||
</object>
|
||||
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
|
||||
<int key="IBUIInterfaceOrientation">1</int>
|
||||
<int key="interfaceOrientation">1</int>
|
||||
</object>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIViewController" id="943309135">
|
||||
<string key="IBUINibName">NewsBlurViewController</string>
|
||||
<object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics">
|
||||
|
@ -315,6 +327,7 @@
|
|||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBUIViewController" id="813520712">
|
||||
<object class="IBUINavigationItem" key="IBUINavigationItem" id="165811166">
|
||||
<reference key="IBUINavigationBar"/>
|
||||
<string key="IBUITitle">Title</string>
|
||||
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
||||
</object>
|
||||
|
@ -528,6 +541,14 @@
|
|||
</object>
|
||||
<int key="connectionID">285</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">trainerViewController</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="1050382266"/>
|
||||
</object>
|
||||
<int key="connectionID">289</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">appDelegate</string>
|
||||
|
@ -696,6 +717,14 @@
|
|||
</object>
|
||||
<int key="connectionID">283</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">appDelegate</string>
|
||||
<reference key="source" ref="1050382266"/>
|
||||
<reference key="destination" ref="664661524"/>
|
||||
</object>
|
||||
<int key="connectionID">288</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
|
@ -870,6 +899,12 @@
|
|||
<reference key="object" ref="396232691"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">287</int>
|
||||
<reference key="object" ref="1050382266"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
<string key="objectName">Trainer View Controller</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
|
@ -932,6 +967,9 @@
|
|||
<string>282.CustomClassName</string>
|
||||
<string>282.IBLastUsedUIStatusBarStylesToTargetRuntimesMap</string>
|
||||
<string>282.IBPluginDependency</string>
|
||||
<string>287.CustomClassName</string>
|
||||
<string>287.IBLastUsedUIStatusBarStylesToTargetRuntimesMap</string>
|
||||
<string>287.IBPluginDependency</string>
|
||||
<string>3.CustomClassName</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>51.CustomClassName</string>
|
||||
|
@ -1023,6 +1061,12 @@
|
|||
<integer value="0" key="NS.object.0"/>
|
||||
</object>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>TrainerViewController</string>
|
||||
<object class="NSMutableDictionary">
|
||||
<string key="NS.key.0">IBCocoaTouchFramework</string>
|
||||
<integer value="0" key="NS.object.0"/>
|
||||
</object>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>FeedDetailViewController</string>
|
||||
|
@ -1051,7 +1095,7 @@
|
|||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">286</int>
|
||||
<int key="maxID">289</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -2580,6 +2624,7 @@
|
|||
<string>shareViewController</string>
|
||||
<string>storyDetailViewController</string>
|
||||
<string>storyPageControl</string>
|
||||
<string>trainerViewController</string>
|
||||
<string>userProfileViewController</string>
|
||||
<string>window</string>
|
||||
</object>
|
||||
|
@ -2608,6 +2653,7 @@
|
|||
<string>ShareViewController</string>
|
||||
<string>StoryDetailViewController</string>
|
||||
<string>StoryPageControl</string>
|
||||
<string>TrainerViewController</string>
|
||||
<string>UserProfileViewController</string>
|
||||
<string>UIWindow</string>
|
||||
</object>
|
||||
|
@ -2639,6 +2685,7 @@
|
|||
<string>shareViewController</string>
|
||||
<string>storyDetailViewController</string>
|
||||
<string>storyPageControl</string>
|
||||
<string>trainerViewController</string>
|
||||
<string>userProfileViewController</string>
|
||||
<string>window</string>
|
||||
</object>
|
||||
|
@ -2736,6 +2783,10 @@
|
|||
<string key="name">storyPageControl</string>
|
||||
<string key="candidateClassName">StoryPageControl</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">trainerViewController</string>
|
||||
<string key="candidateClassName">TrainerViewController</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">userProfileViewController</string>
|
||||
<string key="candidateClassName">UserProfileViewController</string>
|
||||
|
@ -3203,7 +3254,6 @@
|
|||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>doNextStory</string>
|
||||
<string>doNextUnreadStory</string>
|
||||
<string>doPreviousStory</string>
|
||||
<string>showOriginalSubview:</string>
|
||||
|
@ -3217,14 +3267,12 @@
|
|||
<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>doNextStory</string>
|
||||
<string>doNextUnreadStory</string>
|
||||
<string>doPreviousStory</string>
|
||||
<string>showOriginalSubview:</string>
|
||||
|
@ -3233,10 +3281,6 @@
|
|||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">doNextStory</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">doNextUnreadStory</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
@ -3268,7 +3312,6 @@
|
|||
<string>bottomPlaceholderToolbar</string>
|
||||
<string>buttonAction</string>
|
||||
<string>buttonNext</string>
|
||||
<string>buttonNextStory</string>
|
||||
<string>buttonPrevious</string>
|
||||
<string>fontSettingsButton</string>
|
||||
<string>originalStoryButton</string>
|
||||
|
@ -3289,7 +3332,6 @@
|
|||
<string>UIBarButtonItem</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIPageControl</string>
|
||||
<string>UIProgressView</string>
|
||||
<string>UIView</string>
|
||||
|
@ -3307,7 +3349,6 @@
|
|||
<string>bottomPlaceholderToolbar</string>
|
||||
<string>buttonAction</string>
|
||||
<string>buttonNext</string>
|
||||
<string>buttonNextStory</string>
|
||||
<string>buttonPrevious</string>
|
||||
<string>fontSettingsButton</string>
|
||||
<string>originalStoryButton</string>
|
||||
|
@ -3340,10 +3381,6 @@
|
|||
<string key="name">buttonNext</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">buttonNextStory</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">buttonPrevious</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
|
@ -3387,6 +3424,64 @@
|
|||
<string key="minorKey">./Classes/StoryPageControl.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">TrainerViewController</string>
|
||||
<string key="superclassName">BaseViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">doCloseDialog:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">doCloseDialog:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">doCloseDialog:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<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>closeButton</string>
|
||||
<string>webView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIWebView</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>closeButton</string>
|
||||
<string>webView</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">closeButton</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">webView</string>
|
||||
<string key="candidateClassName">UIWebView</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/TrainerViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">UserProfileViewController</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
|
||||
<data>
|
||||
<int key="IBDocument.SystemTarget">1536</int>
|
||||
<string key="IBDocument.SystemVersion">12C60</string>
|
||||
<string key="IBDocument.SystemVersion">12C2037</string>
|
||||
<string key="IBDocument.InterfaceBuilderVersion">2840</string>
|
||||
<string key="IBDocument.AppKitVersion">1187.34</string>
|
||||
<string key="IBDocument.HIToolboxVersion">625.00</string>
|
||||
|
@ -154,6 +154,16 @@
|
|||
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
||||
<bool key="IBUIHorizontal">NO</bool>
|
||||
</object>
|
||||
<object class="IBUIViewController" id="24323153">
|
||||
<string key="IBUINibName">TrainerViewController</string>
|
||||
<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="538190729">
|
||||
<string key="IBUINibName">OriginalStoryViewController</string>
|
||||
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
|
||||
|
@ -480,6 +490,14 @@
|
|||
</object>
|
||||
<int key="connectionID">173</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">trainerViewController</string>
|
||||
<reference key="source" ref="664661524"/>
|
||||
<reference key="destination" ref="24323153"/>
|
||||
</object>
|
||||
<int key="connectionID">176</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">appDelegate</string>
|
||||
|
@ -624,6 +642,14 @@
|
|||
</object>
|
||||
<int key="connectionID">171</int>
|
||||
</object>
|
||||
<object class="IBConnectionRecord">
|
||||
<object class="IBCocoaTouchOutletConnection" key="connection">
|
||||
<string key="label">appDelegate</string>
|
||||
<reference key="source" ref="24323153"/>
|
||||
<reference key="destination" ref="664661524"/>
|
||||
</object>
|
||||
<int key="connectionID">175</int>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBMutableOrderedSet" key="objectRecords">
|
||||
<object class="NSArray" key="orderedObjects">
|
||||
|
@ -788,6 +814,11 @@
|
|||
<reference key="object" ref="384264276"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
<object class="IBObjectRecord">
|
||||
<int key="objectID">174</int>
|
||||
<reference key="object" ref="24323153"/>
|
||||
<reference key="parent" ref="0"/>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="flattenedProperties">
|
||||
|
@ -833,6 +864,8 @@
|
|||
<string>165.IBPluginDependency</string>
|
||||
<string>170.CustomClassName</string>
|
||||
<string>170.IBPluginDependency</string>
|
||||
<string>174.CustomClassName</string>
|
||||
<string>174.IBPluginDependency</string>
|
||||
<string>3.CustomClassName</string>
|
||||
<string>3.IBPluginDependency</string>
|
||||
<string>39.IBPluginDependency</string>
|
||||
|
@ -886,6 +919,8 @@
|
|||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>StoryPageControl</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>TrainerViewController</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
||||
|
@ -911,7 +946,7 @@
|
|||
<reference key="dict.values" ref="0"/>
|
||||
</object>
|
||||
<nil key="sourceID"/>
|
||||
<int key="maxID">173</int>
|
||||
<int key="maxID">176</int>
|
||||
</object>
|
||||
<object class="IBClassDescriber" key="IBDocument.Classes">
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
|
@ -2440,6 +2475,7 @@
|
|||
<string>shareViewController</string>
|
||||
<string>storyDetailViewController</string>
|
||||
<string>storyPageControl</string>
|
||||
<string>trainerViewController</string>
|
||||
<string>userProfileViewController</string>
|
||||
<string>window</string>
|
||||
</object>
|
||||
|
@ -2468,6 +2504,7 @@
|
|||
<string>ShareViewController</string>
|
||||
<string>StoryDetailViewController</string>
|
||||
<string>StoryPageControl</string>
|
||||
<string>TrainerViewController</string>
|
||||
<string>UserProfileViewController</string>
|
||||
<string>UIWindow</string>
|
||||
</object>
|
||||
|
@ -2499,6 +2536,7 @@
|
|||
<string>shareViewController</string>
|
||||
<string>storyDetailViewController</string>
|
||||
<string>storyPageControl</string>
|
||||
<string>trainerViewController</string>
|
||||
<string>userProfileViewController</string>
|
||||
<string>window</string>
|
||||
</object>
|
||||
|
@ -2596,6 +2634,10 @@
|
|||
<string key="name">storyPageControl</string>
|
||||
<string key="candidateClassName">StoryPageControl</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">trainerViewController</string>
|
||||
<string key="candidateClassName">TrainerViewController</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">userProfileViewController</string>
|
||||
<string key="candidateClassName">UserProfileViewController</string>
|
||||
|
@ -2998,11 +3040,71 @@
|
|||
<object class="IBPartialClassDescription">
|
||||
<string key="className">StoryDetailViewController</string>
|
||||
<string key="superclassName">BaseViewController</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>feedTitleGradient</string>
|
||||
<string>innerView</string>
|
||||
<string>noStorySelectedLabel</string>
|
||||
<string>webView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>UIView</string>
|
||||
<string>UIView</string>
|
||||
<string>UILabel</string>
|
||||
<string>UIWebView</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>feedTitleGradient</string>
|
||||
<string>innerView</string>
|
||||
<string>noStorySelectedLabel</string>
|
||||
<string>webView</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">feedTitleGradient</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">innerView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">noStorySelectedLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">webView</string>
|
||||
<string key="candidateClassName">UIWebView</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/StoryDetailViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">StoryPageControl</string>
|
||||
<string key="superclassName">BaseViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="NSArray" key="dict.sortedKeys">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>doNextStory</string>
|
||||
<string>doNextUnreadStory</string>
|
||||
<string>doPreviousStory</string>
|
||||
<string>showOriginalSubview:</string>
|
||||
|
@ -3016,14 +3118,12 @@
|
|||
<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>doNextStory</string>
|
||||
<string>doNextUnreadStory</string>
|
||||
<string>doPreviousStory</string>
|
||||
<string>showOriginalSubview:</string>
|
||||
|
@ -3032,10 +3132,6 @@
|
|||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">doNextStory</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
<object class="IBActionInfo">
|
||||
<string key="name">doNextUnreadStory</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
|
@ -3067,18 +3163,15 @@
|
|||
<string>bottomPlaceholderToolbar</string>
|
||||
<string>buttonAction</string>
|
||||
<string>buttonNext</string>
|
||||
<string>buttonNextStory</string>
|
||||
<string>buttonPrevious</string>
|
||||
<string>feedTitleGradient</string>
|
||||
<string>fontSettingsButton</string>
|
||||
<string>innerView</string>
|
||||
<string>noStorySelectedLabel</string>
|
||||
<string>originalStoryButton</string>
|
||||
<string>pageControl</string>
|
||||
<string>progressView</string>
|
||||
<string>progressViewContainer</string>
|
||||
<string>scrollView</string>
|
||||
<string>subscribeButton</string>
|
||||
<string>toolbar</string>
|
||||
<string>webView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -3089,16 +3182,13 @@
|
|||
<string>UIBarButtonItem</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIView</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIView</string>
|
||||
<string>UILabel</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIPageControl</string>
|
||||
<string>UIProgressView</string>
|
||||
<string>UIView</string>
|
||||
<string>UIScrollView</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIToolbar</string>
|
||||
<string>UIWebView</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
|
||||
|
@ -3110,18 +3200,15 @@
|
|||
<string>bottomPlaceholderToolbar</string>
|
||||
<string>buttonAction</string>
|
||||
<string>buttonNext</string>
|
||||
<string>buttonNextStory</string>
|
||||
<string>buttonPrevious</string>
|
||||
<string>feedTitleGradient</string>
|
||||
<string>fontSettingsButton</string>
|
||||
<string>innerView</string>
|
||||
<string>noStorySelectedLabel</string>
|
||||
<string>originalStoryButton</string>
|
||||
<string>pageControl</string>
|
||||
<string>progressView</string>
|
||||
<string>progressViewContainer</string>
|
||||
<string>scrollView</string>
|
||||
<string>subscribeButton</string>
|
||||
<string>toolbar</string>
|
||||
<string>webView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -3145,34 +3232,22 @@
|
|||
<string key="name">buttonNext</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">buttonNextStory</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">buttonPrevious</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">feedTitleGradient</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">fontSettingsButton</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">innerView</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">noStorySelectedLabel</string>
|
||||
<string key="candidateClassName">UILabel</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">originalStoryButton</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">pageControl</string>
|
||||
<string key="candidateClassName">UIPageControl</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">progressView</string>
|
||||
<string key="candidateClassName">UIProgressView</string>
|
||||
|
@ -3181,6 +3256,10 @@
|
|||
<string key="name">progressViewContainer</string>
|
||||
<string key="candidateClassName">UIView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">scrollView</string>
|
||||
<string key="candidateClassName">UIScrollView</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">subscribeButton</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
|
@ -3189,6 +3268,60 @@
|
|||
<string key="name">toolbar</string>
|
||||
<string key="candidateClassName">UIToolbar</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/StoryPageControl.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">TrainerViewController</string>
|
||||
<string key="superclassName">BaseViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">doCloseDialog:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">doCloseDialog:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">doCloseDialog:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<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>closeButton</string>
|
||||
<string>webView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>UIBarButtonItem</string>
|
||||
<string>UIWebView</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>closeButton</string>
|
||||
<string>webView</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">closeButton</string>
|
||||
<string key="candidateClassName">UIBarButtonItem</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">webView</string>
|
||||
<string key="candidateClassName">UIWebView</string>
|
||||
|
@ -3197,65 +3330,7 @@
|
|||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/StoryDetailViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">StoryPageControl</string>
|
||||
<string key="superclassName">UIViewController</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<string key="NS.key.0">changePage:</string>
|
||||
<string key="NS.object.0">id</string>
|
||||
</object>
|
||||
<object class="NSMutableDictionary" key="actionInfosByName">
|
||||
<string key="NS.key.0">changePage:</string>
|
||||
<object class="IBActionInfo" key="NS.object.0">
|
||||
<string key="name">changePage:</string>
|
||||
<string key="candidateClassName">id</string>
|
||||
</object>
|
||||
</object>
|
||||
<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>pageControl</string>
|
||||
<string>scrollView</string>
|
||||
</object>
|
||||
<object class="NSArray" key="dict.values">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<string>NewsBlurAppDelegate</string>
|
||||
<string>UIPageControl</string>
|
||||
<string>UIScrollView</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>pageControl</string>
|
||||
<string>scrollView</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">pageControl</string>
|
||||
<string key="candidateClassName">UIPageControl</string>
|
||||
</object>
|
||||
<object class="IBToOneOutletInfo">
|
||||
<string key="name">scrollView</string>
|
||||
<string key="candidateClassName">UIScrollView</string>
|
||||
</object>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
||||
<string key="majorKey">IBProjectSource</string>
|
||||
<string key="minorKey">./Classes/StoryPageControl.h</string>
|
||||
<string key="minorKey">./Classes/TrainerViewController.h</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBPartialClassDescription">
|
||||
|
|
File diff suppressed because it is too large
Load diff
1711
media/ios/Resources-iPhone/TrainerViewController.xib
Normal file
1711
media/ios/Resources-iPhone/TrainerViewController.xib
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue