South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
Nope not everyone...Very few comments on the developer features in this thread. Swift, Metal etc. I'm guessing most here are end users and not OSX or iOS devs ?
[)roi(];12814325 said:Nope not everyone...
Overall WWDC (especially this year) has become far more developer focused, as it should rightly be.
Biggest takeaways for me this year are: Swift (finally) and adaptive UIs (universal storyboards): because that's probably just what iOS would need to more easily support other form factors... So key launch of apps for Apple TV, larger iPhones, other devices, etc...
Have you been trying out Swift ?
I like the way they have implemented closures. Turns a for loop into a function. Pretty cool, I thought.
[)roi(];12817257 said:Yip aspects like closures generics, tuples are definite trumps, and they've even been able to make switches fun again. Btw I take it you've been watching the WWDC session videos?
The overall language so far seems to thankfully take most of the best elements from the popular pool;
It's probably not too early to say that I'm going to love this coding in swift (over Objc, C# and Java); really happy they didn't just adopt Java and thankfully avoided garbage collection.
Really intrigued to see how fast this language evolves, including native swift support for many of the popular Objc frameworks, cocapods, etc...
Watched the 3 Swift ones so far. Making it integrate seamlessly with Objc was a smart move.
Too many videos... I would like to look more at Metal. I'm intrigued how they could get it to perform so much better than OpenGL/ES on the ipad. Cant help thinking there has to be a trade-off made somewhere. Was OpenGL/ES really that bad ? Or are they able to make better use of the processor by dropping OpenGL/ES. Looks like Apple have decided to focus on proprietary solutions as they possibly believe that attempts at cross-platform compatibility has led to bloatware ?
I'm a web developer, I've never programmed before (not even JS), but since swift is totally new I might give it a shot and see how bad or good a programmer I can potentially be.![]()
[)roi(];12824507 said:It's had PHP-esque similarities so you might just be at home; however the never having programming before might be your first stumbling block (unrelated to swift of course).
Either way I'd suggest you try out the swift playgrounds; so much easier to learn when you can immediately see the outcome of what you've typed (as opposed to full compilation).
[)roi(];12825729 said:In effect it's borrowed many of the best attributes from all the popular bunch; Go probably included, but certainly not limited to.
As I said thankfully they avoided Java (& C#, etc...), and most of all the worst aspects of these languages: garbage collection.
Btw If Google really was committed with Go, then surely they'd kick Java to the curb and center their products behind this single language. Without that level of commitment Go will sadly be always relegated to the non starter lane.
Not sure what Googles commitment is, but there is a rather large open source following in it. I've written a few backend services with it, but its not the most elegant language i'll admit. Was more used to learn and play than to actually get full steam in to.
Never had an issue with the C# garbage collector, so you would need to elaborate on your dislike towards it.
[)roi(];12826399 said:Btw I don't dislike either Java or C#, as language constructs I think they're superb; however the lack of control afforded from GC perturbs me to no end; I often find it's difficult to tweak App performance around the non deterministic behavior of GC.
Not sure about the Java GC, but its highly doubtful that you can tweak the app better than the C# GC can. Also tampering with C# GC causes the algorithms to go a bit off the path. That being said, there are ways to change the way it collects and the way it handles finalization, but I've only ever had to chance it once on a massive project. We had to import a CSV file 2gb in size we handle to tell the GC to hold back on collection,otherwise the gen2 became massive.
xcode beta 2 is a bit buggy. Running the iPhone 5 simulator failed with a null alert. Loaded the same code in the first beta and the compiler caught the error.
loaded this tutorial http://www.raywenderlich.com/74904/swift-tutorial-part-2-simple-ios-app and the compiler crashed..