Skip to content

Commit 7ae5ce7

Browse files
committed
Adding Cheesed Solution
1 parent 714e866 commit 7ae5ce7

File tree

87 files changed

+3196
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+3196
-0
lines changed

.gitignore

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
[Dd]ebug/
15+
[Dd]ebugPublic/
16+
[Rr]elease/
17+
[Rr]eleases/
18+
x64/
19+
x86/
20+
build/
21+
bld/
22+
[Bb]in/
23+
[Oo]bj/
24+
25+
# Visual Studio 2015 cache/options directory
26+
.vs/
27+
# Uncomment if you have tasks that create the project's static files in wwwroot
28+
#wwwroot/
29+
30+
# MSTest test Results
31+
[Tt]est[Rr]esult*/
32+
[Bb]uild[Ll]og.*
33+
34+
# NUNIT
35+
*.VisualState.xml
36+
TestResult.xml
37+
38+
# Build Results of an ATL Project
39+
[Dd]ebugPS/
40+
[Rr]eleasePS/
41+
dlldata.c
42+
43+
# DNX
44+
project.lock.json
45+
artifacts/
46+
47+
*_i.c
48+
*_p.c
49+
*_i.h
50+
*.ilk
51+
*.meta
52+
*.obj
53+
*.pch
54+
*.pdb
55+
*.pgc
56+
*.pgd
57+
*.rsp
58+
*.sbr
59+
*.tlb
60+
*.tli
61+
*.tlh
62+
*.tmp
63+
*.tmp_proj
64+
*.log
65+
*.vspscc
66+
*.vssscc
67+
.builds
68+
*.pidb
69+
*.svclog
70+
*.scc
71+
72+
# Chutzpah Test files
73+
_Chutzpah*
74+
75+
# Visual C++ cache files
76+
ipch/
77+
*.aps
78+
*.ncb
79+
*.opensdf
80+
*.sdf
81+
*.cachefile
82+
83+
# Visual Studio profiler
84+
*.psess
85+
*.vsp
86+
*.vspx
87+
88+
# TFS 2012 Local Workspace
89+
$tf/
90+
91+
# Guidance Automation Toolkit
92+
*.gpState
93+
94+
# ReSharper is a .NET coding add-in
95+
_ReSharper*/
96+
*.[Rr]e[Ss]harper
97+
*.DotSettings.user
98+
99+
# JustCode is a .NET coding add-in
100+
.JustCode
101+
102+
# TeamCity is a build add-in
103+
_TeamCity*
104+
105+
# DotCover is a Code Coverage Tool
106+
*.dotCover
107+
108+
# NCrunch
109+
_NCrunch_*
110+
.*crunch*.local.xml
111+
nCrunchTemp_*
112+
113+
# MightyMoose
114+
*.mm.*
115+
AutoTest.Net/
116+
117+
# Web workbench (sass)
118+
.sass-cache/
119+
120+
# Installshield output folder
121+
[Ee]xpress/
122+
123+
# DocProject is a documentation generator add-in
124+
DocProject/buildhelp/
125+
DocProject/Help/*.HxT
126+
DocProject/Help/*.HxC
127+
DocProject/Help/*.hhc
128+
DocProject/Help/*.hhk
129+
DocProject/Help/*.hhp
130+
DocProject/Help/Html2
131+
DocProject/Help/html
132+
133+
# Click-Once directory
134+
publish/
135+
136+
# Publish Web Output
137+
*.[Pp]ublish.xml
138+
*.azurePubxml
139+
# TODO: Comment the next line if you want to checkin your web deploy settings
140+
# but database connection strings (with potential passwords) will be unencrypted
141+
*.pubxml
142+
*.publishproj
143+
144+
# NuGet Packages
145+
*.nupkg
146+
# The packages folder can be ignored because of Package Restore
147+
**/packages/*
148+
# except build/, which is used as an MSBuild target.
149+
!**/packages/build/
150+
# Uncomment if necessary however generally it will be regenerated when needed
151+
#!**/packages/repositories.config
152+
153+
# Windows Azure Build Output
154+
csx/
155+
*.build.csdef
156+
157+
# Windows Store app package directory
158+
AppPackages/
159+
160+
# Visual Studio cache files
161+
# files ending in .cache can be ignored
162+
*.[Cc]ache
163+
# but keep track of directories ending in .cache
164+
!*.[Cc]ache/
165+
166+
# Others
167+
ClientBin/
168+
[Ss]tyle[Cc]op.*
169+
~$*
170+
*~
171+
*.dbmdl
172+
*.dbproj.schemaview
173+
*.pfx
174+
*.publishsettings
175+
node_modules/
176+
orleans.codegen.cs
177+
178+
# RIA/Silverlight projects
179+
Generated_Code/
180+
181+
# Backup & report files from converting an old project file
182+
# to a newer Visual Studio version. Backup files are not needed,
183+
# because we have git ;-)
184+
_UpgradeReport_Files/
185+
Backup*/
186+
UpgradeLog*.XML
187+
UpgradeLog*.htm
188+
189+
# SQL Server files
190+
*.mdf
191+
*.ldf
192+
193+
# Business Intelligence projects
194+
*.rdl.data
195+
*.bim.layout
196+
*.bim_*.settings
197+
198+
# Microsoft Fakes
199+
FakesAssemblies/
200+
201+
# Node.js Tools for Visual Studio
202+
.ntvs_analysis.dat
203+
204+
# Visual Studio 6 build log
205+
*.plg
206+
207+
# Visual Studio 6 workspace options file
208+
*.opt
209+
210+
# Visual Studio LightSwitch build output
211+
**/*.HTMLClient/GeneratedArtifacts
212+
**/*.DesktopClient/GeneratedArtifacts
213+
**/*.DesktopClient/ModelManifest.xml
214+
**/*.Server/GeneratedArtifacts
215+
**/*.Server/ModelManifest.xml
216+
_Pvt_Extensions

Cheesed/Cheesed.sln

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Cheesed", "Cheesed\Cheesed.shproj", "{E5005E99-6C0A-4BCF-92A1-7DBF3AFEA463}"
5+
EndProject
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cheesed.iOS", "iOS\Cheesed.iOS.csproj", "{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cheesed.Droid", "Droid\Cheesed.Droid.csproj", "{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|iPhoneSimulator = Debug|iPhoneSimulator
13+
Release|iPhone = Release|iPhone
14+
Release|iPhoneSimulator = Release|iPhoneSimulator
15+
Debug|iPhone = Debug|iPhone
16+
Debug|Any CPU = Debug|Any CPU
17+
Release|Any CPU = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|iPhone.ActiveCfg = Debug|Any CPU
23+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|iPhone.Build.0 = Debug|Any CPU
24+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
25+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
26+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|iPhone.ActiveCfg = Release|Any CPU
29+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|iPhone.Build.0 = Release|Any CPU
30+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
31+
{0CDC1F08-7D18-4C63-B1D4-6EF2AF5B56BD}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
32+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
33+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
34+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|iPhone.ActiveCfg = Debug|iPhone
35+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|iPhone.Build.0 = Debug|iPhone
36+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
37+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
38+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|Any CPU.ActiveCfg = Release|iPhone
39+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|Any CPU.Build.0 = Release|iPhone
40+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|iPhone.ActiveCfg = Release|iPhone
41+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|iPhone.Build.0 = Release|iPhone
42+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
43+
{2CEA80F8-5747-4C78-9F1C-5625F258E1A2}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
44+
EndGlobalSection
45+
EndGlobal

Cheesed/Cheesed/App.cs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
using System;
2+
3+
using Xamarin.Forms;
4+
5+
namespace Cheesed.Local
6+
{
7+
public class App : Application
8+
{
9+
public App ()
10+
{
11+
RecentRatingsView ratingsPage = new RecentRatingsView ();
12+
13+
MainPage = new NavigationPage (ratingsPage);
14+
}
15+
16+
protected override void OnStart ()
17+
{
18+
// Handle when your app starts
19+
}
20+
21+
protected override void OnSleep ()
22+
{
23+
// Handle when your app sleeps
24+
}
25+
26+
protected override void OnResume ()
27+
{
28+
// Handle when your app resumes
29+
}
30+
}
31+
}
32+

Cheesed/Cheesed/CheeseColors.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using Xamarin.Forms;
3+
4+
namespace Cheesed.Local
5+
{
6+
public class CheeseColors
7+
{
8+
public static Color PURPLE = Color.FromHex("584f94");
9+
public static Color WHITE = Color.FromHex("f7f7ff");
10+
public static Color TAUPE = Color.FromHex("c49991");
11+
public static Color BLUE = Color.FromHex("279af1");
12+
public static Color RED = Color.FromHex("dc372c");
13+
public static Color GRAY = Color.FromHex("b3b5bb");
14+
public static Color LIGHT_GREEN = Color.FromHex("a5ffd6");
15+
}
16+
17+
18+
}
19+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
5+
<HasSharedItems>true</HasSharedItems>
6+
<SharedGUID>{E5005E99-6C0A-4BCF-92A1-7DBF3AFEA463}</SharedGUID>
7+
</PropertyGroup>
8+
<PropertyGroup Label="Configuration">
9+
<Import_RootNamespace>Cheesed.Local</Import_RootNamespace>
10+
</PropertyGroup>
11+
<ItemGroup>
12+
<Compile Include="$(MSBuildThisFileDirectory)Model\Cheese.cs" />
13+
<Compile Include="$(MSBuildThisFileDirectory)Model\Rating.cs" />
14+
<Compile Include="$(MSBuildThisFileDirectory)Interfaces\IPlatform.cs" />
15+
<Compile Include="$(MSBuildThisFileDirectory)Interfaces\ICheeseDataService.cs" />
16+
<Compile Include="$(MSBuildThisFileDirectory)DataService\LocalCheeseDataService.cs" />
17+
<Compile Include="$(MSBuildThisFileDirectory)App.cs" />
18+
<Compile Include="$(MSBuildThisFileDirectory)ViewModel\RecentRatingsViewModel.cs" />
19+
<Compile Include="$(MSBuildThisFileDirectory)Views\RecentRatingsView.cs" />
20+
<Compile Include="$(MSBuildThisFileDirectory)Views\SearchCheeseView.cs" />
21+
<Compile Include="$(MSBuildThisFileDirectory)ViewModel\SearchCheeseViewModel.cs" />
22+
<Compile Include="$(MSBuildThisFileDirectory)ViewModel\AddCheeseAndRatingViewModel.cs" />
23+
<Compile Include="$(MSBuildThisFileDirectory)Views\AddCheeseAndRatingView.cs" />
24+
<Compile Include="$(MSBuildThisFileDirectory)Model\CheeseAndRating.cs" />
25+
<Compile Include="$(MSBuildThisFileDirectory)Views\AddRatingView.cs" />
26+
<Compile Include="$(MSBuildThisFileDirectory)ViewModel\AddRatingViewModel.cs" />
27+
<Compile Include="$(MSBuildThisFileDirectory)Views\RatingDetailView.cs" />
28+
<Compile Include="$(MSBuildThisFileDirectory)ViewModel\RatingDetailViewModel.cs" />
29+
<Compile Include="$(MSBuildThisFileDirectory)DataService\AzureCheeseDataService.cs" />
30+
<Compile Include="$(MSBuildThisFileDirectory)DataService\OfflineCheeseDataService.cs" />
31+
<Compile Include="$(MSBuildThisFileDirectory)Exceptions\NoInternetException.cs" />
32+
<Compile Include="$(MSBuildThisFileDirectory)Views\CardView\CardView.cs" />
33+
<Compile Include="$(MSBuildThisFileDirectory)Views\CardView\CardStatusView.cs" />
34+
<Compile Include="$(MSBuildThisFileDirectory)Views\CardView\CardDetailsView.cs" />
35+
<Compile Include="$(MSBuildThisFileDirectory)CheeseColors.cs" />
36+
<Compile Include="$(MSBuildThisFileDirectory)Views\CardView\WedgeView.cs" />
37+
<Compile Include="$(MSBuildThisFileDirectory)Views\Rating\RatingView.cs" />
38+
</ItemGroup>
39+
<ItemGroup>
40+
<Folder Include="$(MSBuildThisFileDirectory)Model\" />
41+
<Folder Include="$(MSBuildThisFileDirectory)Interfaces\" />
42+
<Folder Include="$(MSBuildThisFileDirectory)DataService\" />
43+
<Folder Include="$(MSBuildThisFileDirectory)ViewModel\" />
44+
<Folder Include="$(MSBuildThisFileDirectory)Views\" />
45+
<Folder Include="$(MSBuildThisFileDirectory)Exceptions\" />
46+
<Folder Include="$(MSBuildThisFileDirectory)Views\CardView\" />
47+
<Folder Include="$(MSBuildThisFileDirectory)Views\Rating\" />
48+
</ItemGroup>
49+
</Project>

Cheesed/Cheesed/Cheesed.shproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ProjectGuid>{E5005E99-6C0A-4BCF-92A1-7DBF3AFEA463}</ProjectGuid>
5+
</PropertyGroup>
6+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
7+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
8+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
9+
<Import Project="Cheesed.Local.projitems" Label="Shared" />
10+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
11+
</Project>

0 commit comments

Comments
 (0)