- NewsAppTemplate/AppDelegate.h
- NewsAppTemplate/AppDelegate.m
- NewsAppTemplate/NewsViewController.h
- NewsAppTemplate/NewsViewController.m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am okiess on github. | |
* I am okiess (https://keybase.io/okiess) on keybase. | |
* I have a public key ASC1ylweVcBICAebrT_miICqSXmPTozw0Nu6SPVaYrV6-Ao | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQINBFZhvMMBEACoW9Ja7UDSHKNalPnbg6+/wZTwV1LBNEMezlRtninCClNzH0xK | |
+kgvKqjvDR/IDAxRTv5JRFfUijg2A6yDMaShiDprbz+Ay9b0UWcuYkNQQ5TjHnLg | |
w5y2Pzwek9cNsZg0ndXdfPEGKgPLS9X1gEMRtQj1jz7BFoRYGVuil26I7W3TEs0q | |
Fk+ppjZge70Sv/lxDq2u5trtbMVbZn90IFUPgRf+Ej7bifqrVMPzIscYzRq3tZR3 | |
TTZxSESdPlgGGEd4kH+7CZTt3QK4HXJAuNimIfG01mCY/So55oGK+7SfMuQPgwwl | |
fHHGBv+kIJqRzc3NjY0L97XEiPcMRWHn4hHqbUJJci5l00aHEtfVb0GTXgeGq7DM | |
Y2vyV9UpMK7zBBzjzBdRWFqXvpJ4IQZy7J0nHTm66tnfNyjBnDyD/7SRabV8QG7J |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQINBFcEDfwBEADh55O/qgACfp4keQ4Zx9hzk0qFEfyAtNdoKvstxw1cUBb0HOLD | |
v51xWoYc8K1gIDSXRE7JVoLY+Pc7/7kLGUnLOcZYHCIayrkSLWMcYPRIq15d4Ji7 | |
qN4dAGRzaga/uMVoIHERNLvpCKwPLv8IlGsRAPMn57pdYVgB0i67xXTnVyNbAKxg | |
1h7zJjPZ8T/kAY8YVZudsEIp5JMPka972zINV62hjxmOzpyR0g8SnUqXR4RibZ5Y | |
07yEWh8D1UB++wATSRTwiUsGXyhF9wGNcPVyM1SLS2HuV/zmk4N3M202KNtcmFCO | |
AWB6MiK48+wVA2/1f6n/4nxN0qRBrRh11In4DPZrDnEFnrmegPW6ZcmsEBxtZEiH | |
a3bd5eYGi8Pmdv36Vh0TbsQ+1A3Ypyimt52siAqjWgeVfNoN+Ges0TA0/LmDjQSK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Safari Website Push</title> | |
<script src="https://service.apphoshies.com/javascripts/jquery.js" type="text/javascript"></script> | |
<script src="https://service.apphoshies.com/javascripts/apphoshies.js" type="text/javascript"></script> | |
<!-- https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW7 --> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> | |
<channel> | |
<description/> | |
<atom:id>http://premium-apptemplates.com</atom:id> | |
<lastBuildDate>Fri, 28 Dec 2012 10:31:53 +0000</lastBuildDate> | |
<title>Sample feed 2</title> | |
<atom:link rel="self" href="http://premium-apptemplates.com/sample2_rss2.xml"/> | |
<item> | |
<guid isPermaLink="false">http://premium-apptemplates.com/a-business-iphone-app-template#test</guid> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>Sample feed 1</title> | |
<updated>2012-12-27T15:07:25Z</updated> | |
<entry> | |
<title>Test entry</title> | |
<link rel="alternate" type="text/html" href="http://premium-apptemplates.com/a-business-iphone-app-template"/> | |
<published>2012-12-27T15:07:25Z</published> | |
<updated>2012-12-27T15:07:25Z</updated> | |
<content>This is a test!</content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
NewsItem *item = [self.newsItems objectAtIndex:indexPath.row]; | |
if (indexPath.row == 0 && item.imageUrl != nil && _showTeaser) { | |
// Teaser Cell | |
static NSString *CellIdentifier = @"NewsListCell1"; | |
NewsListTeaserCell *cell = (NewsListTeaserCell*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; | |
if (cell == nil) { | |
cell = [[NewsListTeaserCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Experimental image loading | |
M NewsAppTemplate.xcodeproj/project.pbxproj | |
M NewsAppTemplate/NewsAppTemplate-Info.plist | |
M NewsAppTemplate/NewsDetailViewController.h | |
M NewsAppTemplate/NewsDetailViewController.m | |
M NewsAppTemplate/NewsDetailsWebViewController.m | |
M NewsAppTemplate/NewsViewController.h | |
M NewsAppTemplate/NewsViewController.m | |
A NewsAppTemplate/TFHpple.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation NewsViewController | |
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { | |
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
if (self) { | |
// Tab Bar: Brand new tab item | |
self.tabBarItem.image = [UIImage imageNamed:@"brandnew"]; | |
self.tabBarItem.selectedImage = [UIImage imageNamed:@"brandnew_selected"]; | |
} | |
return self; |
NewerOlder