add update date

Signed-off-by: Liu Lantao <liulantao@gmail.com>
This commit is contained in:
Liu Lantao 2017-11-20 07:18:57 +08:00
parent 8591b37eb9
commit 84042880ef
No known key found for this signature in database
GPG Key ID: BF35AA0CD375679D
2 changed files with 37 additions and 37 deletions

View File

@ -4,11 +4,11 @@ curl 'https://developer.apple.com/search/search_data.php?q=swift%203&results=500
ruby -e "require 'json';
require 'csv';
CSV.open('_projects.csv', 'wb') do |csv|
CSV.open('samplecode.csv', 'wb') do |csv|
JSON.parse(File.open('/tmp/search_result.json').read)['results'].keep_if {|v|
v['type'] == 'sample_code'
}.sort_by {|x| x['title']}.each{|sc|
csv << [sc['url'].match('\/samplecode\/([^\/]*)\/')[1], 'https://developer.apple.com' + sc['url'] + 'Introduction/Intro.html', sc['title']]
csv << [sc['url'].match('\/samplecode\/([^\/]*)\/')[1], 'https://developer.apple.com' + sc['url'] + 'Introduction/Intro.html', sc['title'], sc['date']]
}
end
"

View File

@ -1,35 +1,35 @@
AVCamPhotoFilter,https://developer.apple.com/library/content/samplecode/AVCamPhotoFilter/Listings/../Introduction/Intro.html,AVCamPhotoFilter: Using AVFoundation to Capture photos with image processing
AVCustomEdit,https://developer.apple.com/library/content/samplecode/AVCustomEdit/Listings/../Introduction/Intro.html,AVCustomEdit
avexporter,https://developer.apple.com/library/content/samplecode/avexporter/Listings/../Introduction/Intro.html,AVFoundationExporter: Exporting and Transcoding Movies
AVFoundationSimplePlayer-iOS,https://developer.apple.com/library/content/samplecode/AVFoundationSimplePlayer-iOS/Listings/../Introduction/Intro.html,AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media
ReaderWriter,https://developer.apple.com/library/content/samplecode/ReaderWriter/Listings/../Introduction/Intro.html,AVReaderWriter: Offline Audio / Video Processing
AccessibilityUIExamples,https://developer.apple.com/library/content/samplecode/AccessibilityUIExamples/Listings/../Introduction/Intro.html,AccessibilityUIExamples
AppChat,https://developer.apple.com/library/content/samplecode/AppChat/Listings/../Introduction/Intro.html,AppChat: Using Peek and Pop APIs
ApplicationShortcuts,https://developer.apple.com/library/content/samplecode/ApplicationShortcuts/Listings/../Introduction/Intro.html,ApplicationShortcuts: Using UIApplicationShortcutItem
AudioInARKit,https://developer.apple.com/library/content/samplecode/AudioInARKit/Listings/../Introduction/Intro.html,Audio in ARKit
AudioUnitV3Example,https://developer.apple.com/library/content/samplecode/AudioUnitV3Example/Listings/../Introduction/Intro.html,AudioUnitV3Example: A Basic AudioUnit Extension and Host Implementation
CFHostSample,https://developer.apple.com/library/content/samplecode/CFHostSample/Listings/../Introduction/Intro.html,CFHostSample
DemoBots,https://developer.apple.com/library/content/samplecode/DemoBots/Listings/../Introduction/Intro.html,DemoBots: Building a Cross Platform Game with SpriteKit and GameplayKit
DotViewUndo,https://developer.apple.com/library/content/samplecode/DotViewUndo/Listings/../Introduction/Intro.html,DotViewUndo
UsingPhotosFramework,https://developer.apple.com/library/content/samplecode/UsingPhotosFramework/Listings/../Introduction/Intro.html,Example app using Photos framework
Fox,https://developer.apple.com/library/content/samplecode/Fox/Listings/../Introduction/Intro.html,Fox: Building a SceneKit Game with the Xcode Scene Editor
GeometricPrimitives,https://developer.apple.com/library/content/samplecode/GeometricPrimitives/Listings/../Introduction/Intro.html,Geometric Primitives: Exact Orientation and Incircle Predicates using simd
InteractiveContent,https://developer.apple.com/library/content/samplecode/InteractiveContent/Listings/../Introduction/Intro.html,Interactive Content with ARKit
MPSMatrixMultiplicationSample,https://developer.apple.com/library/content/samplecode/MPSMatrixMultiplicationSample/Listings/../Introduction/Intro.html,MPSMatrixMultiplication: Creating and Multiplying Matrices in Metal
MetalImageFilters,https://developer.apple.com/library/content/samplecode/MetalImageFilters/Listings/../Introduction/Intro.html,Metal Image Filters: Using the image filters provided by the Metal Performance S ...
MetalImageRecognition,https://developer.apple.com/library/content/samplecode/MetalImageRecognition/Listings/../Introduction/Intro.html,MetalImageRecognition: Performing Image Recognition with Inception_v3 Network us ...
MotionGraphs,https://developer.apple.com/library/content/samplecode/MotionGraphs/Listings/../Introduction/Intro.html,MotionGraphs
NSTouchBarCatalog,https://developer.apple.com/library/content/samplecode/NSTouchBarCatalog/Listings/../Introduction/Intro.html,NSTouchBar Catalog: Creating and Customizing NSTouchBar
PotLoc,https://developer.apple.com/library/content/samplecode/PotLoc/Listings/../Introduction/Intro.html,PotLoc: CoreLocation with iPhone and Apple Watch
PrintPhoto,https://developer.apple.com/library/content/samplecode/PrintPhoto/Listings/../Introduction/Intro.html,PrintPhoto: Using the Printing API with Photos
Scoreboard,https://developer.apple.com/library/content/samplecode/Scoreboard/Listings/../Introduction/Intro.html,Scoreboard: A demonstration of RTL support on macOS using NSStackView and locali ...
ShapeEdit,https://developer.apple.com/library/content/samplecode/ShapeEdit/Listings/../Introduction/Intro.html,ShapeEdit: Building a Simple iCloud Document App
SimpleTunnel,https://developer.apple.com/library/content/samplecode/SimpleTunnel/Listings/../Introduction/Intro.html,SimpleTunnel: Customized Networking Using the NetworkExtension Framework
TVMLGuide,https://developer.apple.com/library/content/samplecode/TVMLGuide/Listings/../Introduction/Intro.html,TVML Guide: Core concepts in TVML and TVMLKit
TalkingToTheLiveView,https://developer.apple.com/library/content/samplecode/TalkingToTheLiveView/Listings/../Introduction/Intro.html,TalkingToTheLiveView: Sending messages to a Swift Playground live view and savin ...
ToolbarSample,https://developer.apple.com/library/content/samplecode/ToolbarSample/Listings/../Introduction/Intro.html,ToolbarSample: Using NSToolbar to construct a window toolbar
TouchCanvas,https://developer.apple.com/library/content/samplecode/TouchCanvas/Listings/../Introduction/Intro.html,TouchCanvas: Using UITouch efficiently and effectively
UICatalog,https://developer.apple.com/library/content/samplecode/UICatalog/Listings/../Introduction/Intro.html,UIKit Catalog (iOS): Creating and Customizing UIKit Controls
UnicornChat,https://developer.apple.com/library/content/samplecode/UnicornChat/Listings/../Introduction/Intro.html,UnicornChat: Extending Your Apps with SiriKit
UnitTests,https://developer.apple.com/library/content/samplecode/UnitTests/Listings/../Introduction/Intro.html,Unit Testing Apps and Frameworks
ViewControllerPreviews,https://developer.apple.com/library/content/samplecode/ViewControllerPreviews/Listings/../Introduction/Intro.html,ViewControllerPreviews: Using the UIViewController previewing APIs
AVCamPhotoFilter,https://developer.apple.com/library/content/samplecode/AVCamPhotoFilter/Listings/../Introduction/Intro.html,AVCamPhotoFilter: Using AVFoundation to Capture photos with image processing,"Sep 19, 2017"
AVCustomEdit,https://developer.apple.com/library/content/samplecode/AVCustomEdit/Listings/../Introduction/Intro.html,AVCustomEdit,"Aug 17, 2017"
avexporter,https://developer.apple.com/library/content/samplecode/avexporter/Listings/../Introduction/Intro.html,AVFoundationExporter: Exporting and Transcoding Movies,"Sep 13, 2016"
AVFoundationSimplePlayer-iOS,https://developer.apple.com/library/content/samplecode/AVFoundationSimplePlayer-iOS/Listings/../Introduction/Intro.html,AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media,"Sep 13, 2016"
ReaderWriter,https://developer.apple.com/library/content/samplecode/ReaderWriter/Listings/../Introduction/Intro.html,AVReaderWriter: Offline Audio / Video Processing,"Sep 13, 2016"
AccessibilityUIExamples,https://developer.apple.com/library/content/samplecode/AccessibilityUIExamples/Listings/../Introduction/Intro.html,AccessibilityUIExamples,"Sep 12, 2017"
AppChat,https://developer.apple.com/library/content/samplecode/AppChat/Listings/../Introduction/Intro.html,AppChat: Using Peek and Pop APIs,"Oct 27, 2016"
ApplicationShortcuts,https://developer.apple.com/library/content/samplecode/ApplicationShortcuts/Listings/../Introduction/Intro.html,ApplicationShortcuts: Using UIApplicationShortcutItem,"Sep 28, 2016"
AudioInARKit,https://developer.apple.com/library/content/samplecode/AudioInARKit/Listings/../Introduction/Intro.html,Audio in ARKit,"Sep 19, 2017"
AudioUnitV3Example,https://developer.apple.com/library/content/samplecode/AudioUnitV3Example/Listings/../Introduction/Intro.html,AudioUnitV3Example: A Basic AudioUnit Extension and Host Implementation,"Jun 06, 2017"
CFHostSample,https://developer.apple.com/library/content/samplecode/CFHostSample/Listings/../Introduction/Intro.html,CFHostSample,"Mar 14, 2017"
DemoBots,https://developer.apple.com/library/content/samplecode/DemoBots/Listings/../Introduction/Intro.html,DemoBots: Building a Cross Platform Game with SpriteKit and GameplayKit,"Sep 13, 2016"
DotViewUndo,https://developer.apple.com/library/content/samplecode/DotViewUndo/Listings/../Introduction/Intro.html,DotViewUndo,"Aug 17, 2017"
UsingPhotosFramework,https://developer.apple.com/library/content/samplecode/UsingPhotosFramework/Listings/../Introduction/Intro.html,Example app using Photos framework,"Jun 06, 2017"
Fox,https://developer.apple.com/library/content/samplecode/Fox/Listings/../Introduction/Intro.html,Fox: Building a SceneKit Game with the Xcode Scene Editor,"Sep 13, 2016"
GeometricPrimitives,https://developer.apple.com/library/content/samplecode/GeometricPrimitives/Listings/../Introduction/Intro.html,Geometric Primitives: Exact Orientation and Incircle Predicates using simd,"Sep 28, 2016"
InteractiveContent,https://developer.apple.com/library/content/samplecode/InteractiveContent/Listings/../Introduction/Intro.html,Interactive Content with ARKit,"Aug 31, 2017"
MPSMatrixMultiplicationSample,https://developer.apple.com/library/content/samplecode/MPSMatrixMultiplicationSample/Listings/../Introduction/Intro.html,MPSMatrixMultiplication: Creating and Multiplying Matrices in Metal,"Aug 21, 2017"
MetalImageFilters,https://developer.apple.com/library/content/samplecode/MetalImageFilters/Listings/../Introduction/Intro.html,Metal Image Filters: Using the image filters provided by the Metal Performance S ...,"Sep 13, 2016"
MetalImageRecognition,https://developer.apple.com/library/content/samplecode/MetalImageRecognition/Listings/../Introduction/Intro.html,MetalImageRecognition: Performing Image Recognition with Inception_v3 Network us ...,"Nov 12, 2016"
MotionGraphs,https://developer.apple.com/library/content/samplecode/MotionGraphs/Listings/../Introduction/Intro.html,MotionGraphs,"Feb 02, 2017"
NSTouchBarCatalog,https://developer.apple.com/library/content/samplecode/NSTouchBarCatalog/Listings/../Introduction/Intro.html,NSTouchBar Catalog: Creating and Customizing NSTouchBar,"Sep 21, 2017"
PotLoc,https://developer.apple.com/library/content/samplecode/PotLoc/Listings/../Introduction/Intro.html,PotLoc: CoreLocation with iPhone and Apple Watch,"Oct 04, 2016"
PrintPhoto,https://developer.apple.com/library/content/samplecode/PrintPhoto/Listings/../Introduction/Intro.html,PrintPhoto: Using the Printing API with Photos,"Oct 22, 2015"
Scoreboard,https://developer.apple.com/library/content/samplecode/Scoreboard/Listings/../Introduction/Intro.html,Scoreboard: A demonstration of RTL support on macOS using NSStackView and locali ...,"Oct 27, 2016"
ShapeEdit,https://developer.apple.com/library/content/samplecode/ShapeEdit/Listings/../Introduction/Intro.html,ShapeEdit: Building a Simple iCloud Document App,"Sep 13, 2016"
SimpleTunnel,https://developer.apple.com/library/content/samplecode/SimpleTunnel/Listings/../Introduction/Intro.html,SimpleTunnel: Customized Networking Using the NetworkExtension Framework,"Oct 04, 2016"
TVMLGuide,https://developer.apple.com/library/content/samplecode/TVMLGuide/Listings/../Introduction/Intro.html,TVML Guide: Core concepts in TVML and TVMLKit,"Jun 06, 2017"
TalkingToTheLiveView,https://developer.apple.com/library/content/samplecode/TalkingToTheLiveView/Listings/../Introduction/Intro.html,TalkingToTheLiveView: Sending messages to a Swift Playground live view and savin ...,"Sep 13, 2016"
ToolbarSample,https://developer.apple.com/library/content/samplecode/ToolbarSample/Listings/../Introduction/Intro.html,ToolbarSample: Using NSToolbar to construct a window toolbar,"Jan 19, 2017"
TouchCanvas,https://developer.apple.com/library/content/samplecode/TouchCanvas/Listings/../Introduction/Intro.html,TouchCanvas: Using UITouch efficiently and effectively,"Nov 16, 2017"
UICatalog,https://developer.apple.com/library/content/samplecode/UICatalog/Listings/../Introduction/Intro.html,UIKit Catalog (iOS): Creating and Customizing UIKit Controls,"Nov 17, 2016"
UnicornChat,https://developer.apple.com/library/content/samplecode/UnicornChat/Listings/../Introduction/Intro.html,UnicornChat: Extending Your Apps with SiriKit,"Oct 27, 2016"
UnitTests,https://developer.apple.com/library/content/samplecode/UnitTests/Listings/../Introduction/Intro.html,Unit Testing Apps and Frameworks,"Sep 19, 2017"
ViewControllerPreviews,https://developer.apple.com/library/content/samplecode/ViewControllerPreviews/Listings/../Introduction/Intro.html,ViewControllerPreviews: Using the UIViewController previewing APIs,"Sep 13, 2016"
1 AVCamPhotoFilter https://developer.apple.com/library/content/samplecode/AVCamPhotoFilter/Listings/../Introduction/Intro.html AVCamPhotoFilter: Using AVFoundation to Capture photos with image processing Sep 19, 2017
2 AVCustomEdit https://developer.apple.com/library/content/samplecode/AVCustomEdit/Listings/../Introduction/Intro.html AVCustomEdit Aug 17, 2017
3 avexporter https://developer.apple.com/library/content/samplecode/avexporter/Listings/../Introduction/Intro.html AVFoundationExporter: Exporting and Transcoding Movies Sep 13, 2016
4 AVFoundationSimplePlayer-iOS https://developer.apple.com/library/content/samplecode/AVFoundationSimplePlayer-iOS/Listings/../Introduction/Intro.html AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media Sep 13, 2016
5 ReaderWriter https://developer.apple.com/library/content/samplecode/ReaderWriter/Listings/../Introduction/Intro.html AVReaderWriter: Offline Audio / Video Processing Sep 13, 2016
6 AccessibilityUIExamples https://developer.apple.com/library/content/samplecode/AccessibilityUIExamples/Listings/../Introduction/Intro.html AccessibilityUIExamples Sep 12, 2017
7 AppChat https://developer.apple.com/library/content/samplecode/AppChat/Listings/../Introduction/Intro.html AppChat: Using Peek and Pop APIs Oct 27, 2016
8 ApplicationShortcuts https://developer.apple.com/library/content/samplecode/ApplicationShortcuts/Listings/../Introduction/Intro.html ApplicationShortcuts: Using UIApplicationShortcutItem Sep 28, 2016
9 AudioInARKit https://developer.apple.com/library/content/samplecode/AudioInARKit/Listings/../Introduction/Intro.html Audio in ARKit Sep 19, 2017
10 AudioUnitV3Example https://developer.apple.com/library/content/samplecode/AudioUnitV3Example/Listings/../Introduction/Intro.html AudioUnitV3Example: A Basic AudioUnit Extension and Host Implementation Jun 06, 2017
11 CFHostSample https://developer.apple.com/library/content/samplecode/CFHostSample/Listings/../Introduction/Intro.html CFHostSample Mar 14, 2017
12 DemoBots https://developer.apple.com/library/content/samplecode/DemoBots/Listings/../Introduction/Intro.html DemoBots: Building a Cross Platform Game with SpriteKit and GameplayKit Sep 13, 2016
13 DotViewUndo https://developer.apple.com/library/content/samplecode/DotViewUndo/Listings/../Introduction/Intro.html DotViewUndo Aug 17, 2017
14 UsingPhotosFramework https://developer.apple.com/library/content/samplecode/UsingPhotosFramework/Listings/../Introduction/Intro.html Example app using Photos framework Jun 06, 2017
15 Fox https://developer.apple.com/library/content/samplecode/Fox/Listings/../Introduction/Intro.html Fox: Building a SceneKit Game with the Xcode Scene Editor Sep 13, 2016
16 GeometricPrimitives https://developer.apple.com/library/content/samplecode/GeometricPrimitives/Listings/../Introduction/Intro.html Geometric Primitives: Exact Orientation and Incircle Predicates using simd Sep 28, 2016
17 InteractiveContent https://developer.apple.com/library/content/samplecode/InteractiveContent/Listings/../Introduction/Intro.html Interactive Content with ARKit Aug 31, 2017
18 MPSMatrixMultiplicationSample https://developer.apple.com/library/content/samplecode/MPSMatrixMultiplicationSample/Listings/../Introduction/Intro.html MPSMatrixMultiplication: Creating and Multiplying Matrices in Metal Aug 21, 2017
19 MetalImageFilters https://developer.apple.com/library/content/samplecode/MetalImageFilters/Listings/../Introduction/Intro.html Metal Image Filters: Using the image filters provided by the Metal Performance S ... Sep 13, 2016
20 MetalImageRecognition https://developer.apple.com/library/content/samplecode/MetalImageRecognition/Listings/../Introduction/Intro.html MetalImageRecognition: Performing Image Recognition with Inception_v3 Network us ... Nov 12, 2016
21 MotionGraphs https://developer.apple.com/library/content/samplecode/MotionGraphs/Listings/../Introduction/Intro.html MotionGraphs Feb 02, 2017
22 NSTouchBarCatalog https://developer.apple.com/library/content/samplecode/NSTouchBarCatalog/Listings/../Introduction/Intro.html NSTouchBar Catalog: Creating and Customizing NSTouchBar Sep 21, 2017
23 PotLoc https://developer.apple.com/library/content/samplecode/PotLoc/Listings/../Introduction/Intro.html PotLoc: CoreLocation with iPhone and Apple Watch Oct 04, 2016
24 PrintPhoto https://developer.apple.com/library/content/samplecode/PrintPhoto/Listings/../Introduction/Intro.html PrintPhoto: Using the Printing API with Photos Oct 22, 2015
25 Scoreboard https://developer.apple.com/library/content/samplecode/Scoreboard/Listings/../Introduction/Intro.html Scoreboard: A demonstration of RTL support on macOS using NSStackView and locali ... Oct 27, 2016
26 ShapeEdit https://developer.apple.com/library/content/samplecode/ShapeEdit/Listings/../Introduction/Intro.html ShapeEdit: Building a Simple iCloud Document App Sep 13, 2016
27 SimpleTunnel https://developer.apple.com/library/content/samplecode/SimpleTunnel/Listings/../Introduction/Intro.html SimpleTunnel: Customized Networking Using the NetworkExtension Framework Oct 04, 2016
28 TVMLGuide https://developer.apple.com/library/content/samplecode/TVMLGuide/Listings/../Introduction/Intro.html TVML Guide: Core concepts in TVML and TVMLKit Jun 06, 2017
29 TalkingToTheLiveView https://developer.apple.com/library/content/samplecode/TalkingToTheLiveView/Listings/../Introduction/Intro.html TalkingToTheLiveView: Sending messages to a Swift Playground live view and savin ... Sep 13, 2016
30 ToolbarSample https://developer.apple.com/library/content/samplecode/ToolbarSample/Listings/../Introduction/Intro.html ToolbarSample: Using NSToolbar to construct a window toolbar Jan 19, 2017
31 TouchCanvas https://developer.apple.com/library/content/samplecode/TouchCanvas/Listings/../Introduction/Intro.html TouchCanvas: Using UITouch efficiently and effectively Nov 16, 2017
32 UICatalog https://developer.apple.com/library/content/samplecode/UICatalog/Listings/../Introduction/Intro.html UIKit Catalog (iOS): Creating and Customizing UIKit Controls Nov 17, 2016
33 UnicornChat https://developer.apple.com/library/content/samplecode/UnicornChat/Listings/../Introduction/Intro.html UnicornChat: Extending Your Apps with SiriKit Oct 27, 2016
34 UnitTests https://developer.apple.com/library/content/samplecode/UnitTests/Listings/../Introduction/Intro.html Unit Testing Apps and Frameworks Sep 19, 2017
35 ViewControllerPreviews https://developer.apple.com/library/content/samplecode/ViewControllerPreviews/Listings/../Introduction/Intro.html ViewControllerPreviews: Using the UIViewController previewing APIs Sep 13, 2016