import Foundation
struct Profile: CustomStringConvertible {
let name = "Jayvee Ballesteros"
var description: String {
"""
\(name)
Iām a Software Engineer that specializes in native iOS development using Swift
with UIKit &/or SwiftUI. Building side-projects and helping aspiring developers
is how I further my self-education outside of working hours.
"""
}
enum Skill: String, CaseIterable {
case swift, swiftUI, uIKit, PHP, JavaScript, HTML5, CSS3
case xCode, webStorm, sketch, photoshop, finalCutPro
}
func proficient(in skills: [Skill] = Skill.allCases) -> String {
skills
.lazy
.map(\.rawValue)
.map(\.capitalized)
.map { "- " + $0 + "\n" }
.reduce("Skills: \n", +)
}
}
// Paste into a playground!
let profile = Profile()
print(profile.description)
print(profile.proficient())
jayveeballesteros / applealc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from acidanthera/applealc
Native macOS HD audio for not officially supported codecs
License: BSD 3-Clause "New" or "Revised" License