This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func getDict(object : Any) -> [String:Any] { | |
var dict : [String:Any] = [:] | |
let miror = Mirror.init(reflecting: object) | |
for (_,attr) in miror.children.enumerate() { | |
if let _ = (Mirror.init(reflecting: attr.value)).displayStyle { | |
dict[attr.label!] = getDict(attr.value) | |
} | |
else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Shell script to automate creation and build of Kitura server | |
echo "Enter name for project" | |
read project_name | |
export $project_name | |
#Begin | |
# Creation of Kitura application | |
mkdir $project_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "fa57ae0e-d21e-40d8-a0bb-a58b5fd9ead3", | |
"publisherId": "ms-vscode.atom-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "atom-keybindings", | |
"publisher": "ms-vscode", | |
"version": "3.0.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Welcome to Automatic MVVM organizer. Here pop a champange 🍾🍾🍾" | |
path="" | |
read -p "Enter your XCode project directory: " path | |
cd $path | |
if [ ! -d "./Controllers" ] | |
then | |
mkdir "Controllers" | |
fi | |
if [ ! -d "./ViewModels" ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"url": "https://devstreaming-cdn.apple.com/videos/wwdc/2018/236mwbxbxjfsvns4jan/236/236_hd_avspeechsynthesizer_making_ios_talk.mp4?dl=1", "title": "AVSpeechSynthesizer: Making iOS Talk", "summary": "Speech can enhance the audio experience of your app, whether you are generating spoken feedback for accessibility, or providing critical information beyond simple alerts or notifications. AVSpeechSynthesizer produces synthesized speech from text and allows you to control and monitor the progress of ongoing speech. Learn the ins and outs of AVSpeechSynthesizer and how to add computer-generated speech output to your app."}, | |
{"url": "https://devstreaming-cdn.apple.com/videos/wwdc/2018/405bjty1j94taqv8ii/405/405_hd_measuring_performance_using_logging.mp4?dl=1", "title": "Measuring Performance Using Logging", "summary": "Learn how to use signposts and logging to measure performance. Understand how the Points of Interest instrument can be used to examine logged data. Get an introduction into creating and using custo |