diff --git a/Classes/MWFeedParserAppDelegate.m b/Classes/MWFeedParserAppDelegate.m index 13f8149..5faed66 100644 --- a/Classes/MWFeedParserAppDelegate.m +++ b/Classes/MWFeedParserAppDelegate.m @@ -39,8 +39,10 @@ @implementation MWFeedParserAppDelegate #pragma mark Application lifecycle - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Override point for customization after app launch - [window addSubview:[navigationController view]]; + // Override point for customization after app launch + + // [window addSubview:[navigationController view]]; + [self.window setRootViewController:navigationController]; [window makeKeyAndVisible]; return YES; } diff --git a/Classes/RootViewController.m b/Classes/RootViewController.m index f11ac8f..75f25f3 100644 --- a/Classes/RootViewController.m +++ b/Classes/RootViewController.m @@ -59,7 +59,10 @@ - (void)viewDidLoad { // Parse // NSURL *feedURL = [NSURL URLWithString:@"http://images.apple.com/main/rss/hotnews/hotnews.rss"]; // NSURL *feedURL = [NSURL URLWithString:@"http://feeds.mashable.com/Mashable"]; - NSURL *feedURL = [NSURL URLWithString:@"http://techcrunch.com/feed/"]; +// NSURL *feedURL = [NSURL URLWithString:@"http://techcrunch.com/feed/"]; + NSURL *feedURL = [NSURL URLWithString:@"http://feeds.bbci.co.uk/news/rss.xml"]; +// NSURL *feedURL = [NSURL URLWithString:@"http://blog.lelevier.com/feed.xml"]; + feedParser = [[MWFeedParser alloc] initWithFeedURL:feedURL]; feedParser.delegate = self; feedParser.feedParseType = ParseTypeFull; // Parse feed info and all items diff --git a/MWFeedParser-Info.plist b/MWFeedParser-Info.plist index 95f182e..4528f6a 100644 --- a/MWFeedParser-Info.plist +++ b/MWFeedParser-Info.plist @@ -28,6 +28,11 @@ MainWindow UIApplicationExitsOnSuspend + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + UISupportedInterfaceOrientations UIInterfaceOrientationPortrait