Adding feed table cell to show unread counts on main page of iphone app.

This commit is contained in:
Samuel Clay 2011-07-18 09:56:48 -07:00
parent ecc2f7c211
commit 3a9f5b888b
12 changed files with 6597 additions and 58 deletions

View file

@ -2,13 +2,13 @@
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1024</int>
<string key="IBDocument.SystemVersion">10J869</string>
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
<string key="IBDocument.AppKitVersion">1038.35</string>
<string key="IBDocument.SystemVersion">10K540</string>
<string key="IBDocument.InterfaceBuilderVersion">1306</string>
<string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">300</string>
<string key="NS.object.0">301</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -51,7 +51,7 @@
<object class="IBUILabel" id="750430533">
<reference key="NSNextResponder" ref="994014136"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{153, 37}, {145, 15}}</string>
<string key="NSFrame">{{153, 33}, {145, 15}}</string>
<reference key="NSSuperview" ref="994014136"/>
<reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor" id="932003208">
@ -86,7 +86,7 @@
<object class="IBUILabel" id="417683225">
<reference key="NSNextResponder" ref="994014136"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 4}, {280, 31}}</string>
<string key="NSFrame">{{20, 0}, {280, 31}}</string>
<reference key="NSSuperview" ref="994014136"/>
<reference key="NSWindow"/>
<reference key="IBUIBackgroundColor" ref="932003208"/>
@ -117,7 +117,7 @@
<object class="IBUILabel" id="194816084">
<reference key="NSNextResponder" ref="994014136"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 37}, {131, 15}}</string>
<string key="NSFrame">{{20, 33}, {131, 15}}</string>
<reference key="NSSuperview" ref="994014136"/>
<reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor">
@ -149,7 +149,7 @@
<object class="IBUIImageView" id="523799572">
<reference key="NSNextResponder" ref="994014136"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{2, 12}, {16, 16}}</string>
<string key="NSFrame">{{2, 8}, {16, 16}}</string>
<reference key="NSSuperview" ref="994014136"/>
<reference key="NSWindow"/>
<bool key="IBUIAutoresizesSubviews">NO</bool>
@ -157,7 +157,7 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<string key="NSFrameSize">{300, 55}</string>
<string key="NSFrameSize">{300, 51}</string>
<reference key="NSSuperview" ref="749780469"/>
<reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor">
@ -171,7 +171,7 @@
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<string key="NSFrameSize">{320, 55}</string>
<string key="NSFrameSize">{320, 51}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="IBUIBackgroundColor" ref="932003208"/>
@ -386,6 +386,6 @@
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">300</string>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
</archive>

View file

@ -8,6 +8,7 @@
#import "NewsBlurViewController.h"
#import "NewsBlurAppDelegate.h"
#import "FeedTableCell.h"
#import "JSON.h"
@implementation NewsBlurViewController
@ -97,7 +98,7 @@
- (void)fetchFeedList {
NSURL *urlFeedList = [NSURL URLWithString:[NSString
stringWithFormat:@"http://nb.local.host:8000/reader/feeds?flat=true"]];
stringWithFormat:@"http://nb.local.host:8000/reader/feeds?flat=true&favicons=true"]];
responseData = [[NSMutableData data] retain];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL: urlFeedList];
NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
@ -211,13 +212,18 @@
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *SimpleTableIdentifier = @"SimpleTableIdentifier";
static NSString *FeedCellIdentifier = @"FeedCellIdentifier";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:SimpleTableIdentifier];
FeedTableCell *cell = (FeedTableCell *)[tableView dequeueReusableCellWithIdentifier:FeedCellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:SimpleTableIdentifier] autorelease];
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"FeedTableCell"
owner:self
options:nil];
for (id oneObject in nib) {
if ([oneObject isKindOfClass:[FeedTableCell class]]) {
cell = (FeedTableCell *)oneObject;
}
}
}
int section_index = 0;
@ -227,8 +233,14 @@
NSArray *feeds = [self.dictFolders objectForKey:f];
id feed_id = [feeds objectAtIndex:indexPath.row];
NSString *feed_id_str = [NSString stringWithFormat:@"%@",feed_id];
cell.textLabel.text = [[self.dictFeeds objectForKey:feed_id_str]
objectForKey:@"feed_title"];
NSDictionary *feed = [self.dictFeeds objectForKey:feed_id_str];
cell.feedTitle.text = [feed objectForKey:@"feed_title"];
// NSURL *url = [NSURL URLWithString:[feed objectForKey:@"favicon"]];
// if (url) {
// NSLog(@"URL: %@", url);
// NSData *imageData = [NSData dataWithContentsOfURL:url];
// cell.feedFavicon.image = [UIImage imageWithData:imageData];
// }
return cell;
}
section_index++;

View file

@ -3,12 +3,12 @@
<data>
<int key="IBDocument.SystemTarget">1024</int>
<string key="IBDocument.SystemVersion">10K540</string>
<string key="IBDocument.InterfaceBuilderVersion">1305</string>
<string key="IBDocument.InterfaceBuilderVersion">1306</string>
<string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">300</string>
<string key="NS.object.0">301</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -69,6 +69,7 @@
<string key="NSFrame">{{0, 421}, {320, 44}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@ -81,7 +82,7 @@
</object>
<object class="IBUIBarButtonItem" id="1027460252">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<float key="IBUIWidth">11</float>
<float key="IBUIWidth">29</float>
<reference key="IBUIToolbar" ref="623759027"/>
<int key="IBUISystemItemIdentifier">6</int>
</object>
@ -90,21 +91,21 @@
<reference key="IBUIToolbar" ref="623759027"/>
<int key="IBUISystemItemIdentifier">17</int>
</object>
<object class="IBUIBarButtonItem" id="505279370">
<object class="IBUIBarButtonItem" id="1070386646">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<float key="IBUIWidth">11</float>
<reference key="IBUIToolbar" ref="623759027"/>
<int key="IBUISystemItemIdentifier">6</int>
<int key="IBUISystemItemIdentifier">5</int>
</object>
<object class="IBUIBarButtonItem" id="416628934">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<reference key="IBUIToolbar" ref="623759027"/>
<int key="IBUISystemItemIdentifier">13</int>
</object>
<object class="IBUIBarButtonItem" id="1070386646">
<object class="IBUIBarButtonItem" id="936609264">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<float key="IBUIWidth">29</float>
<reference key="IBUIToolbar" ref="623759027"/>
<int key="IBUISystemItemIdentifier">5</int>
<int key="IBUISystemItemIdentifier">6</int>
</object>
<object class="IBUIBarButtonItem" id="65736986">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
@ -294,9 +295,9 @@
<reference ref="1062965078"/>
<reference ref="416628934"/>
<reference ref="65736986"/>
<reference ref="1070386646"/>
<reference ref="1027460252"/>
<reference ref="505279370"/>
<reference ref="1070386646"/>
<reference ref="936609264"/>
</object>
<reference key="parent" ref="191373211"/>
</object>
@ -343,19 +344,19 @@
<reference key="object" ref="65736986"/>
<reference key="parent" ref="623759027"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">18</int>
<reference key="object" ref="1070386646"/>
<reference key="parent" ref="623759027"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">20</int>
<reference key="object" ref="1027460252"/>
<reference key="parent" ref="623759027"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">34</int>
<reference key="object" ref="505279370"/>
<int key="objectID">36</int>
<reference key="object" ref="1070386646"/>
<reference key="parent" ref="623759027"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">37</int>
<reference key="object" ref="936609264"/>
<reference key="parent" ref="623759027"/>
</object>
</object>
@ -372,9 +373,9 @@
<string>14.IBPluginDependency</string>
<string>16.IBPluginDependency</string>
<string>17.IBPluginDependency</string>
<string>18.IBPluginDependency</string>
<string>20.IBPluginDependency</string>
<string>34.IBPluginDependency</string>
<string>36.IBPluginDependency</string>
<string>37.IBPluginDependency</string>
<string>4.IBPluginDependency</string>
<string>4.IBViewBoundsToFrameTransform</string>
<string>5.IBPluginDependency</string>
@ -425,7 +426,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">34</int>
<int key="maxID">37</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@ -918,6 +919,6 @@
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">300</string>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
</archive>

View file

@ -102,17 +102,17 @@
" font-weight: bold;"
" background-color: #E0E0E0;"
" border-bottom: 1px solid #A0A0A0;"
" padding: 12px 12px 8px;"
" padding: 8px 8px 8px;"
" text-shadow: 1px 1px 0 #EFEFEF;"
"}"
".NB-story {"
" margin: 12px;"
" margin: 12px 8px;"
"}"
".NB-story-author {"
" color: #969696;"
" font-size: 10px;"
" text-transform: uppercase;"
" margin: 0 16px 4px 0;"
" margin: 0 16px 2px 0;"
" text-shadow: 0 1px 0 #F9F9F9;"
" float: left;"
"}"

View file

@ -0,0 +1,22 @@
//
// FeedTableCell.h
// NewsBlur
//
// Created by Samuel Clay on 7/18/11.
// Copyright 2011 NewsBlur. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FeedTableCell : UITableViewCell {
UILabel *feedTitle;
UIImageView *feedFavicon;
UIWebView *feedUnreadView;
}
@property (nonatomic, retain) IBOutlet UILabel *feedTitle;
@property (nonatomic, retain) IBOutlet UIImageView *feedFavicon;
@property (nonatomic, retain) IBOutlet UIWebView *feedUnreadView;
@end

View file

@ -0,0 +1,44 @@
//
// FeedTableCell.m
// NewsBlur
//
// Created by Samuel Clay on 7/18/11.
// Copyright 2011 NewsBlur. All rights reserved.
//
#import "FeedTableCell.h"
@implementation FeedTableCell
@synthesize feedTitle;
@synthesize feedFavicon;
@synthesize feedUnreadView;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
if ((self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])) {
// Initialization code
}
return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
- (void)dealloc {
[feedTitle dealloc];
[feedFavicon dealloc];
[feedUnreadView dealloc];
[super dealloc];
}
@end

View file

@ -0,0 +1,298 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1056</int>
<string key="IBDocument.SystemVersion">10K540</string>
<string key="IBDocument.InterfaceBuilderVersion">1306</string>
<string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">301</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>IBUIWebView</string>
<string>IBUITableViewCell</string>
<string>IBUIImageView</string>
<string>IBUILabel</string>
<string>IBProxyObject</string>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys" id="0">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<reference key="dict.values" ref="0"/>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUITableViewCell" id="298702659">
<reference key="NSNextResponder"/>
<int key="NSvFlags">292</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBUIView" id="471131971">
<reference key="NSNextResponder" ref="298702659"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBUIImageView" id="802019188">
<reference key="NSNextResponder" ref="471131971"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{8, 10}, {16, 16}}</string>
<reference key="NSSuperview" ref="471131971"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="829898430"/>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUILabel" id="829898430">
<reference key="NSNextResponder" ref="471131971"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{29, 7}, {208, 21}}</string>
<reference key="NSSuperview" ref="471131971"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="360874182"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Label</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">1</int>
<float key="IBUIMinimumFontSize">10</float>
</object>
<object class="IBUIWebView" id="360874182">
<reference key="NSNextResponder" ref="471131971"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{236, 2}, {84, 35}}</string>
<reference key="NSSuperview" ref="471131971"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor" id="624041427">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
</object>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<string key="NSFrameSize">{320, 40}</string>
<reference key="NSSuperview" ref="298702659"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="802019188"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">4</int>
<bool key="IBUIMultipleTouchEnabled">YES</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<string key="NSFrameSize">{320, 40}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="471131971"/>
<reference key="IBUIBackgroundColor" ref="624041427"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUISeparatorStyle">1</int>
<reference key="IBUIContentView" ref="471131971"/>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">feedTitle</string>
<reference key="source" ref="298702659"/>
<reference key="destination" ref="829898430"/>
</object>
<int key="connectionID">14</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">feedFavicon</string>
<reference key="source" ref="298702659"/>
<reference key="destination" ref="802019188"/>
</object>
<int key="connectionID">15</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">feedUnreadView</string>
<reference key="source" ref="298702659"/>
<reference key="destination" ref="360874182"/>
</object>
<int key="connectionID">16</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
<reference key="object" ref="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="372490531"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="975951072"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">5</int>
<reference key="object" ref="298702659"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="829898430"/>
<reference ref="802019188"/>
<reference ref="360874182"/>
</object>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">7</int>
<reference key="object" ref="802019188"/>
<reference key="parent" ref="298702659"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
<reference key="object" ref="829898430"/>
<reference key="parent" ref="298702659"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">10</int>
<reference key="object" ref="360874182"/>
<reference key="parent" ref="298702659"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.CustomClassName</string>
<string>-2.CustomClassName</string>
<string>10.IBPluginDependency</string>
<string>5.CustomClassName</string>
<string>5.IBPluginDependency</string>
<string>7.IBPluginDependency</string>
<string>8.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>FeedTableCell</string>
<string>UIResponder</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>FeedTableCell</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<reference key="dict.values" ref="0"/>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">16</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">FeedTableCell</string>
<string key="superclassName">UITableViewCell</string>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>feedFavicon</string>
<string>feedTitle</string>
<string>feedUnreadView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIImageView</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>feedFavicon</string>
<string>feedTitle</string>
<string>feedUnreadView</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
<string key="name">feedFavicon</string>
<string key="candidateClassName">UIImageView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">feedTitle</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">feedUnreadView</string>
<string key="candidateClassName">UIWebView</string>
</object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/FeedTableCell.h</string>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<integer value="3000" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">301</string>
</data>
</archive>

View file

@ -48,6 +48,8 @@
78FC34FA11CA94900055C312 /* SBJsonBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FC34F211CA94900055C312 /* SBJsonBase.m */; };
78FC34FB11CA94900055C312 /* SBJsonParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FC34F411CA94900055C312 /* SBJsonParser.m */; };
78FC34FC11CA94900055C312 /* SBJsonWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 78FC34F611CA94900055C312 /* SBJsonWriter.m */; };
FFCE7AE813D49165009A98F6 /* FeedTableCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FFCE7AE613D49165009A98F6 /* FeedTableCell.m */; };
FFCE7AE913D49165009A98F6 /* FeedTableCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = FFCE7AE713D49165009A98F6 /* FeedTableCell.xib */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@ -120,6 +122,9 @@
78FC34F511CA94900055C312 /* SBJsonWriter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SBJsonWriter.h; sourceTree = "<group>"; };
78FC34F611CA94900055C312 /* SBJsonWriter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SBJsonWriter.m; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* NewsBlur-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "NewsBlur-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
FFCE7AE513D49165009A98F6 /* FeedTableCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FeedTableCell.h; path = ../NewsBlur.xcodeproj/FeedTableCell.h; sourceTree = "<group>"; };
FFCE7AE613D49165009A98F6 /* FeedTableCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FeedTableCell.m; path = ../NewsBlur.xcodeproj/FeedTableCell.m; sourceTree = "<group>"; };
FFCE7AE713D49165009A98F6 /* FeedTableCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = FeedTableCell.xib; path = ../NewsBlur.xcodeproj/FeedTableCell.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -144,27 +149,30 @@
080E96DDFE201D6D7F000001 /* Classes */ = {
isa = PBXGroup;
children = (
78095EC6128F30B500230C8E /* OriginalStoryViewController.h */,
78095EC7128F30B500230C8E /* OriginalStoryViewController.m */,
78095EC8128F30B500230C8E /* OriginalStoryViewController.xib */,
7842ECF511D44A530066CF9D /* StoryDetailViewController.h */,
7842ECF611D44A530066CF9D /* StoryDetailViewController.m */,
7842ECF711D44A530066CF9D /* StoryDetailViewController.xib */,
7843F50311EEB1A000675F64 /* FeedDetailTableCell.h */,
7843F50411EEB1A000675F64 /* FeedDetailTableCell.m */,
7843F4E811EEABDC00675F64 /* FeedDetailTableCell.xib */,
787A0CD811CE65330056422D /* FeedDetailViewController.h */,
787A0CD911CE65330056422D /* FeedDetailViewController.m */,
787A0CDA11CE65330056422D /* FeedDetailViewController.xib */,
28AD733E0D9D9553002E5188 /* MainWindow.xib */,
1D3623240D0F684500981E51 /* NewsBlurAppDelegate.h */,
1D3623250D0F684500981E51 /* NewsBlurAppDelegate.m */,
784B50EA127E3F68008F90EA /* LoginViewController.h */,
784B50EB127E3F68008F90EA /* LoginViewController.m */,
784B50E3127E3A6A008F90EA /* LoginViewController.xib */,
28D7ACF60DDB3853001CB0EB /* NewsBlurViewController.h */,
28D7ACF70DDB3853001CB0EB /* NewsBlurViewController.m */,
2899E5210DE3E06400AC0155 /* NewsBlurViewController.xib */,
784B50E3127E3A6A008F90EA /* LoginViewController.xib */,
784B50EA127E3F68008F90EA /* LoginViewController.h */,
784B50EB127E3F68008F90EA /* LoginViewController.m */,
FFCE7AE513D49165009A98F6 /* FeedTableCell.h */,
FFCE7AE613D49165009A98F6 /* FeedTableCell.m */,
FFCE7AE713D49165009A98F6 /* FeedTableCell.xib */,
787A0CD811CE65330056422D /* FeedDetailViewController.h */,
787A0CD911CE65330056422D /* FeedDetailViewController.m */,
787A0CDA11CE65330056422D /* FeedDetailViewController.xib */,
7843F50311EEB1A000675F64 /* FeedDetailTableCell.h */,
7843F50411EEB1A000675F64 /* FeedDetailTableCell.m */,
7843F4E811EEABDC00675F64 /* FeedDetailTableCell.xib */,
7842ECF511D44A530066CF9D /* StoryDetailViewController.h */,
7842ECF611D44A530066CF9D /* StoryDetailViewController.m */,
7842ECF711D44A530066CF9D /* StoryDetailViewController.xib */,
78095EC6128F30B500230C8E /* OriginalStoryViewController.h */,
78095EC7128F30B500230C8E /* OriginalStoryViewController.m */,
78095EC8128F30B500230C8E /* OriginalStoryViewController.xib */,
);
path = Classes;
sourceTree = "<group>";
@ -346,6 +354,7 @@
784B50E5127E3A6A008F90EA /* LoginViewController.xib in Resources */,
78095ECA128F30B500230C8E /* OriginalStoryViewController.xib in Resources */,
787B782F129356FC0025F214 /* bullet_green.png in Resources */,
FFCE7AE913D49165009A98F6 /* FeedTableCell.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -377,6 +386,7 @@
78095E39128EF30D00230C8E /* ASINetworkQueue.m in Sources */,
78095E3D128EF32200230C8E /* Reachability.m in Sources */,
78095EC9128F30B500230C8E /* OriginalStoryViewController.m in Sources */,
FFCE7AE813D49165009A98F6 /* FeedTableCell.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "1.0">
</Bucket>

View file

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1D6058900D05DD3D006BFB54"
BuildableName = "NewsBlur.app"
BlueprintName = "NewsBlur"
ReferencedContainer = "container:NewsBlur.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
displayScaleIsEnabled = "NO"
displayScale = "1.00"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1D6058900D05DD3D006BFB54"
BuildableName = "NewsBlur.app"
BlueprintName = "NewsBlur"
ReferencedContainer = "container:NewsBlur.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
displayScaleIsEnabled = "NO"
displayScale = "1.00"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1D6058900D05DD3D006BFB54"
BuildableName = "NewsBlur.app"
BlueprintName = "NewsBlur"
ReferencedContainer = "container:NewsBlur.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View file

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>NewsBlur.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>1D6058900D05DD3D006BFB54</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>