Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 563f0ee

Browse files
committed
Add a convenient Makefile to build the samples
1 parent 20a39ff commit 563f0ee

File tree

15 files changed

+311
-24
lines changed

15 files changed

+311
-24
lines changed

.gitignore

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
*.pidb
1+
*.stamp
2+
bin
3+
obj
4+
Newtonsoft.Json.*
5+
NUnit.*
6+
Xamarin.UITest*
7+
Xamarin.TestCloud.Agent.*
8+
MonoGame.Framework.*
9+
Zlib.Portable*
10+
FSharp.Data.*
11+
CocosSharp.PCL*
212
*.userprefs
3-
*.swp
4-
*.DS_Store
5-
*.nib
6-
*.suo
7-
8-
packages/
9-
[Bb]uild/
10-
*/bin/*
11-
*/obj/*
12-
*/*/bin/*
13-
*/*/obj/*
14-
*/*/*/bin/*
15-
*/*/*/obj/*
13+
packages

GameCenterSample/GameCenterSample/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@
1717
<string>Icon-Small</string>
1818
<string>Icon-Small@2x</string>
1919
</array>
20+
<key>MinimumOSVersion</key>
21+
<string>9.0</string>
2022
</dict>
2123
</plist>

GrowRowTable/GrowRowTable/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>LSRequiresIPhoneOS</key>
1414
<true/>
1515
<key>MinimumOSVersion</key>
16-
<string>9.2</string>
16+
<string>9.0</string>
1717
<key>UIDeviceFamily</key>
1818
<array>
1919
<integer>1</integer>

Makefile

+273
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,273 @@
1+
NEED_COMPONENT_OR_EXTRA_RESOURCES = \
2+
./BindingSample/src/sample/Xamarin.XMBindingLibrarySample/Xamarin.XMBindingLibrarySample.sln \
3+
./FileSystemSampleCode/WorkingWithTheFileSystem.sln \
4+
./HelloComponents/HelloComponents.sln \
5+
./intro-to-extensions/ContainerApp.sln \
6+
./BouncingGameCompleteiOS/BouncingGame.sln \
7+
./BouncingGameEmptyiOS/BouncingGame.sln \
8+
./LocalNotifications/Notifications.sln \
9+
./WatchKit/WatchKitCatalog/WatchKitCatalog.sln \
10+
./watchOS/WatchKitCatalog/WatchKitCatalog.sln \
11+
./WalkingGameCompleteiOS/WalkingGame.sln \
12+
./WalkingGameEmptyiOS/WalkingGame.sln \
13+
./PassKit/PassLibrary/PassLibrary.sln
14+
15+
TVOS_SOLUTIONS = \
16+
./tvos/Hello-tvOS/Hello-tvOS.sln \
17+
./tvos/tvAlerts/tvAlerts.sln \
18+
./tvos/tvButtons/tvButtons.sln \
19+
./tvos/tvCollection/tvCollection.sln \
20+
./tvos/tvNavBars/tvNavBars.sln \
21+
./tvos/tvPages/tvPages.sln \
22+
./tvos/tvProgress/tvProgress.sln \
23+
./tvos/tvRemote/tvRemote.sln \
24+
./tvos/tvSplit/tvSplit.sln \
25+
./tvos/tvStackView/tvStackView.sln \
26+
./tvos/UICatalog/UICatalog.sln
27+
28+
DEVICE_SOLUTIONS = \
29+
./ios8/MetalTexturedQuad/MetalTexturedQuad.sln \
30+
./ios8/MetalBasic3D/MetalBasic3D.sln \
31+
./ios9/MetalPerformanceShadersHelloWorld/MetalPerformanceShadersHelloWorld.sln \
32+
./ios8/MetalImageProcessing/MetalImageProcessing.sln
33+
34+
SOLUTIONS = \
35+
./AirLocate/AirLocate.sln \
36+
./ApplicationFundamentals/Touch_final/Touch1.sln \
37+
./ApplicationFundamentals/Touch_start/Touch_start.sln \
38+
./AppPrefs/AppPrefs.sln \
39+
./AQTapDemo/AQTapDemo.sln \
40+
./AsyncDownloadImage/AsyncDownloadImage.sln \
41+
./AudioConverterFileConverter/AudioConverterFileConverter.sln \
42+
./AudioGenerator/AudioGenerator.sln \
43+
./AudioQueueOfflineRenderDemo/AudioQueueOfflineRenderDemo.sln \
44+
./AudioTapProcessor/AudioTapProcessor.sln \
45+
./AUSoundTriggeredPlayingSoundMemoryBased/AUSoundTriggeredPlayingSoundMemoryBased.sln \
46+
./AVCaptureFrames/av-capture-frames.sln \
47+
./AVCompositionDebugVieweriOS/AVCompositionDebugViewerIOS.sln \
48+
./AVCustomEdit/AVCustomEdit.sln \
49+
./AVTouchSample/avTouch.sln \
50+
./BackgroundExecution/BackgroundExecution.sln \
51+
./ButtonEventDemo/ButtonEventDemo.sln \
52+
./ButtonTapper3000/ButtonTapper3000.sln \
53+
./Calendars/Calendars.sln \
54+
./Chat/Chat/Chat.sln \
55+
./Chat/Chat.sln \
56+
./CircleLayout/CircleLayout.sln \
57+
./CollectionViewTransition/CollectionViewTransition.sln \
58+
./Controls/Controls.sln \
59+
./CoreAnimation/CoreAnimation.sln \
60+
./CoreImage/coreimage.sln \
61+
./CoreLocation/CoreLocation.sln \
62+
./CoreMidiSample/CoreMidiSample.sln \
63+
./CoreTelephonyDemo/CoreTelephonyDemo.sln \
64+
./CreatingTabbedApplications/InitalScreenDemo/InitalScreenDemo.sln \
65+
./CreatingTabbedApplications/TabbedApplication/TabbedApplication.sln \
66+
./CustomCollectionViewLayoutAttributes/CustomCollectionViewLayoutAttributes.sln \
67+
./CustomInputStream/InputStreamTest.sln \
68+
./CustomPropertyAnimation/CustomPropertyAnimation.sln \
69+
./Data/Data.sln \
70+
./DesignerWalkthrough/DesignerWalkthrough.sln \
71+
./DispatchSourceExamples/DispatchSourceExamples.sln \
72+
./Drawing/Drawing.sln \
73+
./DynamicsCatalog/DynamicsCatalog.sln \
74+
./FontList/FontList.sln \
75+
./FrogScroller/FrogScroller.sln \
76+
./GameCenterSample/GameCenterSample.sln \
77+
./GLCameraRipple/GLCameraRipple.sln \
78+
./GLPaint-GameView/GLPaint-GameView.sln \
79+
./GraphicsAndAnimation/CoreAnimation/AnimationSamples.sln \
80+
./GraphicsAndAnimation/CoreGraphics/CoreGraphicsSamples.sln \
81+
./GraphicsAndAnimation/GraphicsWalkthrough/GraphicsDemo_Finished/GraphicsDemo_finished.sln \
82+
./GraphicsAndAnimation/GraphicsWalkthrough/GraphicsDemo_starter/GraphicsDemo_starter.sln \
83+
./GrowRowTable/GrowRowTable.sln \
84+
./Hello_ComplexUniversal/Hello_ComplexUniversal.sln \
85+
./Hello_iOS/Hello.iOS/Hello.iOS.sln \
86+
./Hello_iOS/Hello.iOS_MultiScreen/Hello.iOS_MultiScreen.sln \
87+
./Hello_iPad/Hello_iPad.sln \
88+
./Hello_MultiScreen_iPhone/Hello_MultiScreen_iPhone.sln \
89+
./Hello_Universal/Hello_Universal.sln \
90+
./HelloWorld_iPhone/HelloWorld_iPhone.sln \
91+
./HomeKit/HomeKitIntro/HomeKitIntro.sln \
92+
./HttpClient/HttpClient.sln \
93+
./ImageProtocol/ImageProtocol.sln \
94+
./InfColorPicker/InfColorPickerBinding/InfColorPickerBinding.sln \
95+
./IntroductionToiCloud/iCloudKeyValue/iCloudKeyValue.sln \
96+
./IntroductionToiCloud/iCloudUIDoc/iCloudUIDoc.sln \
97+
./IntroToAppearance/Appearance.sln \
98+
./IntroToiOS7/ExclusionPathDemo/ExclusionPathDemo.sln \
99+
./IntroToiOS7/TransitionDemos/CustomTransitionDemo/CustomTransitionDemo.sln \
100+
./IntroToiOS7/TransitionDemos/InteractiveTransitionLayout/InteractiveTransitionLayout.sln \
101+
./IntroToiOS7/TransitionDemos/NavigationControllerTransitions/LayoutWithNavController.sln \
102+
./IntroToiOS7/UIKitDynamicsDemo/UIKitDynamicsDemo.sln \
103+
./IntroToiOS7/ViewAnimations/ViewAnimations.sln \
104+
./iOS7-ui-updates/ImageView.sln \
105+
./ios7fonts/ios7fonts.sln \
106+
./ios8/AdaptivePhotos/AdaptivePhotos.sln \
107+
./ios8/BracketStripes/BracketStripes.sln \
108+
./ios8/CloudCaptions/CloudCaptions.sln \
109+
./ios8/CloudKitAtlas/CloudKitAtlas.sln \
110+
./ios8/CSSceneKit/CSSceneKit.sln \
111+
./ios8/DocPicker/DocPicker.sln \
112+
./ios8/DynamicLaunchScreen/DynamicLaunchScreen.sln \
113+
./ios8/ExtensionsDemo/ExtensionsDemo.sln \
114+
./ios8/Fit/Fit.sln \
115+
./ios8/Footprint/Footprint.sln \
116+
./ios8/FSSceneKit/FSSceneKit.sln \
117+
./ios8/HelloGoodbye/HelloGoodbye.sln \
118+
./ios8/ImageInverter/ImageInverter.sln \
119+
./ios8/IntroToHealthKit/HKWork.sln \
120+
./ios8/KannadaKeyboard/KannadaKeyboard.sln \
121+
./ios8/KeychainTouchID/KeychainTouchID.sln \
122+
./ios8/Lister/Lister.sln \
123+
./ios8/LookInside/LookInside.sln \
124+
./ios8/MonkeyBrowser/MonkeyBrowse.sln \
125+
./ios8/MotionActivityDemo/MotionActivityDemo.sln \
126+
./ios8/NewBox/NewBox.sln \
127+
./ios8/PeoplePicker/PeoplePicker.sln \
128+
./ios8/PhotoFilter/PhotoFilter.sln \
129+
./ios8/PhotoHandoff/PhotoHandoff.sln \
130+
./ios8/QuickContacts/QuickContacts.sln \
131+
./ios8/SceneKitFSharp/FSSceneKit.sln \
132+
./ios8/SceneKitVehicle/SceneKitVehicle.sln \
133+
./ios8/Share/Share.sln \
134+
./ios8/SingleWordKeyboard/SingleWordKeyboard.sln \
135+
./ios8/TableSearch/TableSearch.sln \
136+
./ios8/ToastModern/ToastModern.sln \
137+
./ios8/UICatalog/UICatalog.sln \
138+
./ios8/UIKitEnhancements/UIKitEnhancements.sln \
139+
./ios8/VideoTimeLine/VideoTimeLine.sln \
140+
./ios9/ApplicationShortcuts/ApplicationShortcuts.sln \
141+
./ios9/AstroLayout/AstroLayout.sln \
142+
./ios9/CollectionView/CollectionView.sln \
143+
./ios9/Emporium/Emporium.sln \
144+
./ios9/FourInARow/FourInARow.sln \
145+
./ios9/Fox/Fox.sln \
146+
./ios9/HomeKitCatalog/HomeKitCatalog.sln \
147+
./ios9/MultiTask/MultiTask.sln \
148+
./ios9/MusicMotion/MusicMotion.sln \
149+
./ios9/PhotoProgress/PhotoProgress.sln \
150+
./ios9/PictureInPicture/PictureInPicture.sln \
151+
./ios9/SamplePhotoApp/SamplePhotoApp.sln \
152+
./ios9/SegueCatalog/SegueCatalog.sln \
153+
./ios9/StackView/StackView.sln \
154+
./ios9/StickyCorners/StickyCorners.sln \
155+
./ios9/TouchCanvas/TouchCanvas.sln \
156+
./ios9/ViewControllerPreview/ViewControllerPreview.sln \
157+
./Keychain/Keychain.sln \
158+
./KeyValueObserving/kvo.sln \
159+
./LazyTableImages/LazyTableImages.sln \
160+
./LazyTableImagesAsync/LazyTableImages.sln \
161+
./LifecycleDemo/LifecycleDemo.sln \
162+
./LineLayout/LineLayout.sln \
163+
./Location/Location.sln \
164+
./LowLevelGLPaint/LowLevelGLPaint.sln \
165+
./ManualCameraControls/ManualCameraControls.sln \
166+
./ManualStoryboard/ManualStoryboard.sln \
167+
./ManualStoryboard/Storyboard.Conditional/Storyboard.Conditional.sln \
168+
./MapCallouts/MapCallouts.sln \
169+
./MapDemo/MapDemo.sln \
170+
./MapDemo/MapsWalkthroughComplete/MapDemo.sln \
171+
./MapKitSearch/MapKitSearch.sln \
172+
./MediaCapture/MediaCapture.sln \
173+
./MediaNotes/MediaNotes.sln \
174+
./MidiTest/MidiTest.sln \
175+
./MonoCatalog-MonoDevelop/monocatalog.sln \
176+
./MonoDevelopTouchCells/MonoDevelopTouchCells.sln \
177+
./MotionGraphs/MotionGraphs.sln \
178+
./MoviePlayback/MoviePlayback.sln \
179+
./MTDJsonDemo/MTDJsonDemo.sln \
180+
./MTDReflectionWalkthrough/MTDReflectionWalkthrough.sln \
181+
./MTDWalkthrough/MTDWalkthrough.sln \
182+
./MTGKTapper/MTGKTapper.sln \
183+
./MultichannelMixer/MultichannelMixer.sln \
184+
./Newsstand/Newsstand.sln \
185+
./Notifications/Notifications.sln \
186+
./NSZombieApocalypse/NSZombieApocalypse.sln \
187+
./OpenGL/OpenGL.sln \
188+
./OpenGLESSample/OpenGLESSample.sln \
189+
./OpenGLESSample-GameView/OpenGLESSample-GameView.sln \
190+
./OpenGLScroller/OpenGLScroller.sln \
191+
./PaintCode/PaintCodeDemo/PaintCode.sln \
192+
./PinchIt/PinchIt.sln \
193+
./PokerNightVoting/PokerNightVoting.sln \
194+
./Popovers/Popovers.sln \
195+
./PrintBanner/PrintBanner.sln \
196+
./PrintSample/print.sln \
197+
./PrivacyPrompts/PrivacyPrompts/PrivacyPrompts_Classic.sln \
198+
./Protocols_Delegates_Events/Protocols_Delegates_Events.sln \
199+
./QRchestra/QRchestra.sln \
200+
./QuartzSample/QuartzSample.sln \
201+
./Quotes/Quotes.sln \
202+
./ReachabilitySample/reachability.sln \
203+
./RecipesAndPrinting/RecipesAndPrinting.sln \
204+
./RegionDefiner/RegionDefiner.sln \
205+
./RosyWriter/RosyWriter.sln \
206+
./Rotation/HandlingRotation.sln \
207+
./ScratchTicket/ScratchTicket.sln \
208+
./SearchDemo/SearchDemo.sln \
209+
./SharedResources/SharedResources.sln \
210+
./SimpleBackgroundFetch/SimpleBackgroundFetch.sln \
211+
./SimpleBackgroundTransfer/SimpleBackgroundTransfer.sln \
212+
./SimpleCollectionView/SimpleCollectionView.sln \
213+
./SimpleDrillDown/SimpleDrillDown.sln \
214+
./SimpleLogin/CodeOnlyProject.sln \
215+
./SimpleTextInput/SimpleTextInput.sln \
216+
./SocialFrameworkDemo/SocialFrameworkDemo.sln \
217+
./Sound/Sound.sln \
218+
./SoZoomy/SoZoomy.sln \
219+
./SplitView/SplitView.sln \
220+
./SpriteKit/SpriteKit.sln \
221+
./SpriteKitPhysicsCollisions/SpriteKitPhysicsCollisions.sln \
222+
./SpriteTour/SpriteTour.sln \
223+
./Stars/Stars.sln \
224+
./StateRestoration/StateRestoration.sln \
225+
./StoreKit/Consumables/Consumables.sln \
226+
./StoreKit/HostedNonConsumables/HostedNonConsumables.sln \
227+
./StoreKit/NonConsumables/NonConsumables.sln \
228+
./StoreKit/ProductView/ProductView.sln \
229+
./StoryboardTable/StoryboardTable.sln \
230+
./StoryboardTable_LocalAuthentication/StoryboardTableLocalAuthentication.sln \
231+
./StreamingAudio/StreamingAudio.sln \
232+
./SysSound/SysSound.sln \
233+
./Tabbed_Images/Tabbed_Images.sln \
234+
./TableEditing/TableEditing.sln \
235+
./TableParts/TableParts.sln \
236+
./TextKitDemo/TextKitDemo.sln \
237+
./ThreadedCoreData/ThreadedCoreData.sln \
238+
./TicTacToe/TicTacToe.sln \
239+
./Touch/Touch.sln \
240+
./Touches_Classic/Touches_Classic.sln \
241+
./Touches_GestureRecognizers/Touches_GestureRecognizers.sln \
242+
./Transitioning_To_Xcode_4/Transitioning_To_Xcode_4.sln \
243+
./TransitionsDemo/TransitionsDemo.sln \
244+
./UIImageEffects/UIImageEffects.sln \
245+
./ViewTransitions/ViewTransitions.sln \
246+
./WatchKit/GettingStarted/GettingStarted.sln \
247+
./WatchKit/GpsWatch/GpsWatch.sln \
248+
./WatchKit/WatchLocalization/WatchL10n.sln \
249+
./WatchKit/WatchNotifications/WatchNotifications.sln \
250+
./WatchKit/WatchTables/WatchTables.sln \
251+
./WayUpSample/WayUp.sln \
252+
./WeatherMap/WeatherMap.sln \
253+
./Working_with_images/Working_with_images.sln \
254+
./WorkingWithImages/WorkingWithImages.sln \
255+
./WorldCities/WorldCities.sln \
256+
./ZoomingPdfViewer/ZoomingPdfViewer.sln
257+
258+
TARGETS = $(patsubst %.sln,%.stamp,$(SOLUTIONS))
259+
260+
261+
%.stamp: %.sln
262+
@if test x$(V) = x; then echo [XBUILD] $<; xbuild $< > /dev/null; else xbuild $<; fi && touch $@
263+
264+
265+
all: prep.stamp $(TARGETS)
266+
267+
clean:
268+
-rm $(TARGETS)
269+
-rm prep.stamp
270+
271+
prep.stamp:
272+
for f in `find . -name 'packages.config'`; do (echo "Preparing NuGet dependencies in $$f"; cd `dirname $$f`; nuget install) done
273+
touch prep.stamp

README.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@ The Apache License 2.0 applies to all samples in this repository.
2727
Samples Layout
2828
==============
2929

30-
iOS 8 samples
31-
-------------
32-
Starting with iOS 8, we started adding samples that showcase specific features
33-
introduced in a release into a directory for the release. So all the new
34-
iOS 8 feature samples live in the ios8 directory.
30+
Version Specific Samples
31+
------------------------
32+
33+
Starting with iOS 8, we started adding samples that showcase specific
34+
features introduced in a release into a directory for the release. So
35+
all the new iOS 8 feature samples live in the ios8 directory, and the
36+
iOS 9 features live in the ios9 directory.
37+
3538

3639
WatchKit
3740
--------

WatchKit/WatchTables/WatchTablesExtension/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,7 @@
3232
</dict>
3333
<key>RemoteInterfacePrincipleClass</key>
3434
<string>InterfaceController</string>
35+
<key>MinimumOSVersion</key>
36+
<string>8.2</string>
3537
</dict>
3638
</plist>

ios8/CSSceneKit/CSSceneKit.sln

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 2012
44
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSSceneKit", "CSSceneKit\CSSceneKit.csproj", "{88A47856-D987-404E-82BF-2CEDE8451FFA}"
55
EndProject
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSSceneKit.UITests", "CSSceneKit.UITests\CSSceneKit.UITests.csproj", "{6C0E8864-B053-4988-8509-ED552AF85595}"
7-
EndProject
86
Global
97
GlobalSection(SolutionConfigurationPlatforms) = preSolution
108
Debug|iPhoneSimulator = Debug|iPhoneSimulator

ios8/CSSceneKit/CSSceneKit/AppDelegate.cs

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public override bool FinishedLaunching (UIApplication application, NSDictionary
2222

2323
// Code to start the Xamarin Test Cloud Agent
2424
#if ENABLE_TEST_CLOUD
25-
Xamarin.Calabash.Start();
2625
#endif
2726

2827
return true;

ios8/ImageInverter/ImageInverter/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>LSRequiresIPhoneOS</key>
1414
<true/>
1515
<key>MinimumOSVersion</key>
16-
<string>8.0</string>
16+
<string>9.0</string>
1717
<key>UIDeviceFamily</key>
1818
<array>
1919
<integer>1</integer>

ios8/ImageInverter/ImageInverterExt/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,7 @@
5353
</dict>
5454
<key>XSAppIconAssets</key>
5555
<string>Resources/Images.xcassets/AppIcon.appiconset</string>
56+
<key>MinimumOSVersion</key>
57+
<string>9.0</string>
5658
</dict>
5759
</plist>

ios8/NewBox/NBox/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@
4343
<key>NSExtensionPointIdentifier</key>
4444
<string>com.apple.fileprovider-ui</string>
4545
</dict>
46+
<key>MinimumOSVersion</key>
47+
<string>9.0</string>
4648
</dict>
4749
</plist>

ios8/NewBox/NBoxFileProvider/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@
3131
<key>NSExtensionPrincipalClass</key>
3232
<string>FileProvider</string>
3333
</dict>
34+
<key>MinimumOSVersion</key>
35+
<string>9.0</string>
3436
</dict>
3537
</plist>

0 commit comments

Comments
 (0)