Apple Swift

Apple launched a new programming language called swift. After s quick look at the docs, the language seems to deserve a second deeper look.

There are several things on it that look interesting.

But for now, there is one example from the documentation I need to share with you:

var occupations = [

“Malcolm”: “Captain”,

“Kaylee”: “Mechanic”,

]

occupations[“Jayne”] = “Public Relations”

Whoever wrote this code, thanks. Specially Jayne as public relations!

See more about Apple Switch.

Leave a Reply

Your email address will not be published. Required fields are marked *