Skip to content

Commit

Permalink
de-duplicate csproj GUIDs (xamarin#379)
Browse files Browse the repository at this point in the history
* update PassKit

* update newsstand

consider deleting in future

* update iclouduidoc

* update customcollectionviewattributes

* update touchgesturerecognizers

* update phonewordmultiscreen

* update lazytablesasync

* update lazytables

* update watchkit-getstarted

consider deleting in future

* update HostedNonConsumables

* update duplicate guid

* fix whitespace/formatting
  • Loading branch information
conceptdev authored Aug 16, 2019
1 parent e3b52b2 commit 3090e88
Show file tree
Hide file tree
Showing 51 changed files with 535 additions and 426 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{384451B5-3210-4F89-B5DF-4822101D265D}</ProjectGuid>
<ProjectGuid>0D585654-21B2-47F1-B156-220F68876F23</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>SimpleCollectionView</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomCollectionViewLayoutAttributes", "CustomCollectionViewLayoutAttributes.csproj", "{384451B5-3210-4F89-B5DF-4822101D265D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomCollectionViewLayoutAttributes", "CustomCollectionViewLayoutAttributes.csproj", "0D585654-21B2-47F1-B156-220F68876F23"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -13,18 +13,18 @@ Global
AppStore|iPhone = AppStore|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{384451B5-3210-4F89-B5DF-4822101D265D}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.AppStore|iPhone.Build.0 = AppStore|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Debug|iPhone.ActiveCfg = Debug|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Debug|iPhone.Build.0 = Debug|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{384451B5-3210-4F89-B5DF-4822101D265D}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{384451B5-3210-4F89-B5DF-4822101D265D}.Release|iPhone.ActiveCfg = Release|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Release|iPhone.Build.0 = Release|iPhone
{384451B5-3210-4F89-B5DF-4822101D265D}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{384451B5-3210-4F89-B5DF-4822101D265D}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
0D585654-21B2-47F1-B156-220F68876F23.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
0D585654-21B2-47F1-B156-220F68876F23.AppStore|iPhone.ActiveCfg = AppStore|iPhone
0D585654-21B2-47F1-B156-220F68876F23.AppStore|iPhone.Build.0 = AppStore|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Debug|iPhone.ActiveCfg = Debug|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Debug|iPhone.Build.0 = Debug|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
0D585654-21B2-47F1-B156-220F68876F23.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
0D585654-21B2-47F1-B156-220F68876F23.Release|iPhone.ActiveCfg = Release|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Release|iPhone.Build.0 = Release|iPhone
0D585654-21B2-47F1-B156-220F68876F23.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
0D585654-21B2-47F1-B156-220F68876F23.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = CustomCollectionViewLayoutAttributes.csproj
Expand Down
18 changes: 9 additions & 9 deletions Hello_iOS/Hello.iOS_MultiScreen/Hello.iOS_MultiScreen.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Phoneword_iOS", "Phoneword_iOS\Phoneword_iOS.csproj", "{4279435A-D323-44F1-87D8-98E436909EBF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Phoneword_iOS", "Phoneword_iOS\PhonewordMultiscreen_iOS.csproj", "{98C6E14E-46B9-4527-853A-DF57A34FE620}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -11,13 +11,13 @@ Global
Debug|iPhone = Debug|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4279435A-D323-44F1-87D8-98E436909EBF}.Debug|iPhone.ActiveCfg = Debug|iPhone
{4279435A-D323-44F1-87D8-98E436909EBF}.Debug|iPhone.Build.0 = Debug|iPhone
{4279435A-D323-44F1-87D8-98E436909EBF}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{4279435A-D323-44F1-87D8-98E436909EBF}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{4279435A-D323-44F1-87D8-98E436909EBF}.Release|iPhone.ActiveCfg = Release|iPhone
{4279435A-D323-44F1-87D8-98E436909EBF}.Release|iPhone.Build.0 = Release|iPhone
{4279435A-D323-44F1-87D8-98E436909EBF}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{4279435A-D323-44F1-87D8-98E436909EBF}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Debug|iPhone.ActiveCfg = Debug|iPhone
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Debug|iPhone.Build.0 = Debug|iPhone
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Release|iPhone.ActiveCfg = Release|iPhone
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Release|iPhone.Build.0 = Release|iPhone
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{98C6E14E-46B9-4527-853A-DF57A34FE620}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{4279435A-D323-44F1-87D8-98E436909EBF}</ProjectGuid>
<ProjectGuid>{98C6E14E-46B9-4527-853A-DF57A34FE620}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Phoneword_iOS</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InteractiveTransitionLayout", "InteractiveTransitionLayout\InteractiveTransitionLayout.csproj", "{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InteractiveTransitionLayout", "InteractiveTransitionLayout\InteractiveTransitionLayout.csproj", "{F18D25E1-6AE6-4603-894A-5241C1491B88}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -13,18 +13,18 @@ Global
AppStore|iPhone = AppStore|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.AppStore|iPhone.Build.0 = AppStore|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Debug|iPhone.ActiveCfg = Debug|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Debug|iPhone.Build.0 = Debug|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Release|iPhone.ActiveCfg = Release|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Release|iPhone.Build.0 = Release|iPhone
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.AppStore|iPhone.Build.0 = AppStore|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Debug|iPhone.ActiveCfg = Debug|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Debug|iPhone.Build.0 = Debug|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Release|iPhone.ActiveCfg = Release|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Release|iPhone.Build.0 = Release|iPhone
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{F18D25E1-6AE6-4603-894A-5241C1491B88}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = InteractiveTransitionLayout\InteractiveTransitionLayout.csproj
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{CC048781-29C0-4B2E-98A3-965E3DD6C6F7}</ProjectGuid>
<ProjectGuid>{F18D25E1-6AE6-4603-894A-5241C1491B88}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>InteractiveTransitionLayout</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion IntroductionToiCloud/iCloudUIDoc/iCloudUIDoc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{367D4ECC-D04A-41FB-A784-4D10F30666C8}</ProjectGuid>
<ProjectGuid>{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>iCloudSample</RootNamespace>
Expand Down
18 changes: 9 additions & 9 deletions IntroductionToiCloud/iCloudUIDoc/iCloudUIDoc.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iCloudUIDoc", "iCloudUIDoc.csproj", "{367D4ECC-D04A-41FB-A784-4D10F30666C8}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iCloudUIDoc", "iCloudUIDoc.csproj", "{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -11,14 +11,14 @@ Global
Release|iPhone = Release|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Debug|iPhone.ActiveCfg = Debug|iPhone
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Debug|iPhone.Build.0 = Debug|iPhone
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhone.ActiveCfg = Release|iPhone
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhone.Build.0 = Release|iPhone
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{367D4ECC-D04A-41FB-A784-4D10F30666C8}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Debug|iPhone.ActiveCfg = Debug|iPhone
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Debug|iPhone.Build.0 = Debug|iPhone
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Release|iPhone.ActiveCfg = Release|iPhone
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Release|iPhone.Build.0 = Release|iPhone
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{DC7EA164-6ADE-4F64-A6E8-A3FF9FCF6F78}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = iCloudUIDoc.csproj
Expand Down
175 changes: 94 additions & 81 deletions LazyTableImages/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,85 +32,98 @@
using System.Net;
using System.Collections.ObjectModel;

namespace LazyTableImages {
/// <summary>
/// The UIApplicationDelegate for the application. This class is responsible for launching the
/// User Interface of the application, as well as listening (and optionally responding) to
/// application events from iOS.
/// </summary>

[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate {

static readonly Uri RssFeedUrl = new Uri ("http://phobos.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/toppaidapplications/limit=75/xml");

UINavigationController NavigationController { get; set; }

RootViewController RootController { get; set; }

public override UIWindow Window { get; set; }

/// <summary>
/// This method is invoked when the application has loaded and is ready to run. In this
/// method you should instantiate the window, load the UI into it and then make the window
/// visible.
/// </summary>
/// <remarks>
/// You have 5 seconds to return from this method, or iOS will terminate your application.
/// </remarks>
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
Window = new UIWindow (UIScreen.MainScreen.Bounds);
RootController = new RootViewController ("RootViewController", null);
NavigationController = new UINavigationController (RootController);
Window.RootViewController = NavigationController;

// make the window visible
Window.MakeKeyAndVisible ();

BeginDownloading ();
return true;
}

void BeginDownloading ()
{
// Show the user that data is about to be downloaded
UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true;

// Retrieve the rss feed from the server
var downloader = new GzipWebClient ();
downloader.DownloadStringCompleted += DownloadCompleted;
downloader.DownloadStringAsync (RssFeedUrl);
}

void DownloadCompleted (object sender, DownloadStringCompletedEventArgs e)
{
// The WebClient will invoke the DownloadStringCompleted event on a
// background thread. We want to do UI updates with the result, so process
// the result on the main thread.
UIApplication.SharedApplication.BeginInvokeOnMainThread (() => {
// First disable the download indicator
UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false;

// Now handle the result from the WebClient
if (e.Error != null) {
DisplayError ("Warning", "The rss feed could not be downloaded: " + e.Error.Message);
} else {
try {
RootController.Apps.Clear ();
foreach (var v in RssParser.Parse (e.Result))
RootController.Apps.Add (v);
} catch {
DisplayError ("Warning", "Malformed Xml was found in the Rss Feed.");
}
}
});
}

void DisplayError (string title, string errorMessage, params object[] formatting)
{
var alert = new UIAlertView (title, string.Format (errorMessage, formatting), null, "ok", null);
alert.Show ();
}
}
namespace LazyTableImages
{
/// <summary>
/// The UIApplicationDelegate for the application. This class is responsible for launching the
/// User Interface of the application, as well as listening (and optionally responding) to
/// application events from iOS.
/// </summary>

[Register("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{

/// <summary>
/// Choose a feed from https://rss.itunes.apple.com/
/// </summary>
static readonly Uri RssFeedUrl = new Uri("https://rss.itunes.apple.com/api/v1/us/ios-apps/top-free/all/50/non-explicit.atom");


UINavigationController NavigationController { get; set; }

RootViewController RootController { get; set; }

public override UIWindow Window { get; set; }

/// <summary>
/// This method is invoked when the application has loaded and is ready to run. In this
/// method you should instantiate the window, load the UI into it and then make the window
/// visible.
/// </summary>
/// <remarks>
/// You have 5 seconds to return from this method, or iOS will terminate your application.
/// </remarks>
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
Window = new UIWindow(UIScreen.MainScreen.Bounds);
RootController = new RootViewController("RootViewController", null);
NavigationController = new UINavigationController(RootController);
Window.RootViewController = NavigationController;

// make the window visible
Window.MakeKeyAndVisible();

BeginDownloading();
return true;
}

void BeginDownloading()
{
// Show the user that data is about to be downloaded
UIApplication.SharedApplication.NetworkActivityIndicatorVisible = true;

// Retrieve the rss feed from the server
var downloader = new GzipWebClient();
downloader.DownloadStringCompleted += DownloadCompleted;
downloader.DownloadStringAsync(RssFeedUrl);
}

void DownloadCompleted(object sender, DownloadStringCompletedEventArgs e)
{
// The WebClient will invoke the DownloadStringCompleted event on a
// background thread. We want to do UI updates with the result, so process
// the result on the main thread.
UIApplication.SharedApplication.BeginInvokeOnMainThread(() =>
{
// First disable the download indicator
UIApplication.SharedApplication.NetworkActivityIndicatorVisible = false;

// Now handle the result from the WebClient
if (e.Error != null)
{
DisplayError("Warning", "The rss feed could not be downloaded: " + e.Error.Message);
}
else
{
try
{
RootController.Apps.Clear();
foreach (var v in RssParser.Parse(e.Result))
RootController.Apps.Add(v);
}
catch
{
DisplayError("Warning", "Malformed Xml was found in the Rss Feed.");
}
}
});
}

void DisplayError(string title, string errorMessage, params object[] formatting)
{
var alert = new UIAlertView(title, string.Format(errorMessage, formatting), null, "ok", null);
alert.Show();
}
}
}
14 changes: 12 additions & 2 deletions LazyTableImages/Info.plist
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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>
Expand All @@ -20,7 +20,7 @@
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>9.0</string>
<string>11.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand All @@ -29,5 +29,15 @@
<string>LazyTableImages</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.LazyTableImages</string>
<key>CFBundleName</key>
<string>Lazy Images</string>
<key>CFBundleShortVersionString</key>
<string>2</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainNibFile</key>
<string>RootViewController</string>
</dict>
</plist>
Loading

0 comments on commit 3090e88

Please sign in to comment.