Discuss Scratch

jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

Announced today (yesterday?) by Apple to be the next generation of programming language to replace Objective-C in Macs and iOS, this programming seems awesome.

Swift Official Webpage

I'm reading the official book so that I can learn it. It's really simple and powerful and takes from both C languages and interpreted languages such as Ruby and Javascript.

If you do not have an Apple device and therefore can't download the book, here's a copy.
https://www.dropbox.com/s/aeajf6ku4gdhm1u/881256329.epub

Anyone else learning this new language?

Last edited by jji7skyline (June 3, 2014 00:28:34)

gigapouch
Scratcher
1000+ posts

Swift — Programming Language

I wish - I can't learn that language because me or my family do not own any Apple devices.
jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

gigapouch wrote:

I wish - I can't learn that language because me or my family do not own any Apple devices.
Here's the EPUB file

https://www.dropbox.com/s/aeajf6ku4gdhm1u/881256329.epub
gigapouch
Scratcher
1000+ posts

Swift — Programming Language

jji7skyline wrote:

gigapouch wrote:

I wish - I can't learn that language because me or my family do not own any Apple devices.
Here's the EPUB file

https://www.dropbox.com/s/aeajf6ku4gdhm1u/881256329.epub

Is that a e-book file? If so, I'll probably need to download an e-book reader.
jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

gigapouch wrote:

jji7skyline wrote:

gigapouch wrote:

I wish - I can't learn that language because me or my family do not own any Apple devices.
Here's the EPUB file

https://www.dropbox.com/s/aeajf6ku4gdhm1u/881256329.epub

Is that a e-book file? If so, I'll probably need to download an e-book reader.
Yea it's in the epub format, which imo is the best for ebooks since it's an open XML based format with no DRM.
turkey3
Scratcher
1000+ posts

Swift — Programming Language

I should learn it!
technoboy10
Scratcher
1000+ posts

Swift — Programming Language

It looks intriguing. I'm going to try it out as soon as I can download xcode 6
16Skittles
Scratcher
500+ posts

Swift — Programming Language

It's interesting, but I'm not sure that I'm a fan. To me it just seems to be unnecessarily different. It looks like a weird combination of Javascript and Python, and I don't really see why they're creating it when I don't really see a problem with other languages. Although Objective-C is kind of weird, they could have just added support for C++ and made it easy for developers rather than making them learn a new language. As my school is moving to laptops next year and I already turned in my iPad, there isn't really a chance that I'll get the opportunity to try this out, so have fun with it I guess.
GoldeScratcher
Scratcher
34 posts

Swift — Programming Language

uhhh…Swift looks kinda complicated…. 0_0
OrcaCat
Scratcher
1000+ posts

Swift — Programming Language

Looks cool, but I'm slightly disappointed because I've been learning Objective-C
16Skittles
Scratcher
500+ posts

Swift — Programming Language

OrcaCat wrote:

Looks cool, but I'm slightly disappointed because I've been learning Objective-C
I'm pretty sure you'll still be able to develop for iOS with Obj-C.
jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

16Skittles wrote:

OrcaCat wrote:

Looks cool, but I'm slightly disappointed because I've been learning Objective-C
I'm pretty sure you'll still be able to develop for iOS with Obj-C.
Yea you will, but I think people are expecting Apple to slowly phase that out and switch entirely to Swift. I'm not sure though.
turkey3
Scratcher
1000+ posts

Swift — Programming Language

jji7skyline wrote:

16Skittles wrote:

OrcaCat wrote:

Looks cool, but I'm slightly disappointed because I've been learning Objective-C
I'm pretty sure you'll still be able to develop for iOS with Obj-C.
Yea you will, but I think people are expecting Apple to slowly phase that out and switch entirely to Swift. I'm not sure though.
I don't know if that's good or bad because there could be people who refuse to switch like those oldies that won't learn HTML5.
jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

turkey3 wrote:

jji7skyline wrote:

16Skittles wrote:

OrcaCat wrote:

Looks cool, but I'm slightly disappointed because I've been learning Objective-C
I'm pretty sure you'll still be able to develop for iOS with Obj-C.
Yea you will, but I think people are expecting Apple to slowly phase that out and switch entirely to Swift. I'm not sure though.
I don't know if that's good or bad because there could be people who refuse to switch like those oldies that won't learn HTML5.
Well Apple doesn't care. If the developers don't learn the new language, it's them who'll suffer.
stevetheipad
Scratcher
500+ posts

Swift — Programming Language

Swift was arguably the most exciting announcement at WWDC this year. In addition, to redefining the language, the playground makes testing and creating apps a lot easier, especially for new programmers.
jji7skyline
Scratcher
1000+ posts

Swift — Programming Language

stevetheipad wrote:

Swift was arguably the most exciting announcement at WWDC this year. In addition, to redefining the language, the playground makes testing and creating apps a lot easier, especially for new programmers.
Definitely!

The playground feature seems really similar to how Scratch works too! Too bad they haven't released XCode 6 yet
whizzer
Scratcher
500+ posts

Swift — Programming Language

let hmm = "okay"
var devices = 1
var macs = 0
if macs > 0 and devices > 0 {
println("You can code Swift for iOS!")
} else {
if macs > 0 {
println("You can code Swift for Mac!")
} else {
println("Oh. \(hmm), you can play around with the code, I guess.")
}
}

Yeah. Weird. You're totally right - a weird mix of Python and JavaScript. But no semicolons. ;
turkey3
Scratcher
1000+ posts

Swift — Programming Language

It's a lot like JavaScript.
Ironbizmark
Scratcher
100+ posts

Swift — Programming Language

whizzer wrote:

let hmm = "okay"
var devices = 1
var macs = 0
if macs > 0 and devices > 0 {
println("You can code Swift for iOS!")
} else {
if macs > 0 {
println("You can code Swift for Mac!")
} else {
println("Oh. \(hmm), you can play around with the code, I guess.")
}
}

Yeah. Weird. You're totally right - a weird mix of Python and JavaScript. But no semicolons. ;

I know! It's so sad semi-colons are becoming obsolete…
But yes. I've tried to learn Objective-C and it's never worked great for me but I love JavaScript and Python so Swift should be great!
16Skittles
Scratcher
500+ posts

Swift — Programming Language

Ironbizmark wrote:

whizzer wrote:

let hmm = "okay"
var devices = 1
var macs = 0
if macs > 0 and devices > 0 {
println("You can code Swift for iOS!")
} else {
if macs > 0 {
println("You can code Swift for Mac!")
} else {
println("Oh. \(hmm), you can play around with the code, I guess.")
}
}

Yeah. Weird. You're totally right - a weird mix of Python and JavaScript. But no semicolons. ;

I know! It's so sad semi-colons are becoming obsolete…
But yes. I've tried to learn Objective-C and it's never worked great for me but I love JavaScript and Python so Swift should be great!
I don't believe semicolons are going to become “obsolete.” The world has known about Swift for three days, nobody knows how well it will actually stick. As far as I see, it's pretty much going to be only as relevant as Objective-C: only used because it's the most supported language for iOS programming. Probably less so unless Apple can convince the developers currently using Obj-C why they should switch and rewrite their apps.

Powered by DjangoBB