Hah, there wasn't a moment ago. There is now though!What you on about? There's lots on it!
Hah, there wasn't a moment ago. There is now though!What you on about? There's lots on it!
Is learning Swift all I would need to get started?
It lacks frameworks for setting up servers using it, and up until now the only servers it would run on would be OS X servers.
I've been programming almost exclusively in Swift for over a year now, and I write better, cleaner, safer code than with Objective-C. (especially with some of the additions they made with Swift 2.0) Love it.
Will be interesting to see how Swift is adopted on other platforms.
I think Swift is a better language to learn on than Objective-C. Check out the Swift Programming Guide you can get in iBooks for free - I haven't checked swift.org since it's clogged right now, but maybe the guide is there as well. XCode, the development system is free, and Swift in XCode has something called playgrounds, which lets you play with Swift interactively, great for learning and trying things out.I'm thinking about developing for iOS. I have almost zero experience with any kind of code, except for a little html in the late '90s. Is learning Swift all I would need to get started?
Where is Xcode for iPad Pro for developing Swift Apps on iPad Pro?
Without developer support, Swift is just a language... next to useless. Frameworks / libraries are required for the building blocks to create rich applications, such as web apps, desktop applications et al.
Don't know what to say about this news. I knew Swift was announced to become Open Source but the fascination of Open Source has worn of quite heavily during the past ten years. So... . Let's see what this gets us. I did not had any interest in Swift so far. The same way I did not had much interest in Objective-C fifteen years ago. Nontheless All my apps of today are written in the latter mainly for the reason that Cocoa is quite an astonishing piece of work from an engineering point of view. If there would be a pure C binding for Cocoa, I would be sold forever. Unfortunately, this is pretty much the opposite direction of where Swift is leading.
I am neutral. It can't be that bad.
Depends on the type of applications that is being written.Swift can directly import C headers, so its far from being useless. With Swift, you get full access to what C can do, and you also get a powerful and user-friendly metatyping facility as well.
If it's open source you can launch your apps on competing platforms like linux and the like...How on Earth does it mean that?
Just noticed this tidbit from github:
OS X, Ubuntu Linux LTS, and the latest Ubuntu Linux release are the current supported host development operating systems.
Just find it interesting that they favor ubuntu.
Well there are two different approaches to this.I'm thinking about developing for iOS. I have almost zero experience with any kind of code, except for a little html in the late '90s. Is learning Swift all I would need to get started?
Swift is a breath of fresh air to code in.
Curious, can you use swift for numerical computation? Like python numpy and such?
Well there are two different approaches to this.
Approach 1: If you've already got some experience with writing markup with HTML it might be worth expanding on that and trying to build a website(s) by learning some styling with CSS, and then move on to client side scripting with JavaScript and then onto some server side scripting with Python, Ruby or PHP (PHPv7 is released today!), which you can also try out in terminal. The advantage of the approach is that you can see your progress very quickly, as these are, on the whole easier, and you get results that you can actually use, show off etc which helps motivate you to continue. The problem is that most of these scripting languages are a lot less strict and allow for poor quality code, which can mean it's harder to move onto programming in Swift, Cpp etc.
Approach 2: Start programming with Swift (or another language that encourages clean, safe and overall better code), it'll be a real slog getting to the point where you can make anything that is useful, interesting etc, but you would have a solid foundation, and moving to other languages would be a piece of cake. Difficult to motivate yourself to get good at, but perseverance is rewarded. The only issue with Swift is it's relatively new so there are less high quality freely available starter courses, but if you're willing to pay (there are free trials) then Lynda.com has some excellent resources both for getting started with general programming and moving onto languages like Swift, made by Simon Allardice, highly recommend it.
If you do try it out, then good luck!
This just means the runtime is open source. FYI, the OBJC runtime is also open source. This just spares the OSS advocates (especially the "everything must be GPL3" crowd) of having to create their own runtime, and the ensuing fork-wars that would happen.
Like the OBJC runtime, there is still necessary OS libraries that would be required to build an application, so this doesn't mean you can make something developed in Swift on OSX, and just compile the runtime and run it on Windows or Linux, because the underlying NextStep (NS* functions) aren't there.
Compare with Mono. Initially C# was just Microsoft, and third parties had to re-implement everything Microsoft put into it. This is why Unity is stuck on an old version of C#.NET, it's dependent on Mono. It doesn't let you build a project that depends on Microsoft OS API's on top another OS.
What this allows people to do, in theory, is use Swift as the language instead of something like Javascript, C#, or Lua in another application. In practice, it'll probably just be used to port MacOS/iOS Swift projects to Windows and Linux. It would be amazing if there was a huge uptick in use just to side-step the god-awful Android development Java-hell.
Based on your comment, I can tell your age bracket.
If it's open source you can launch your apps on competing platforms like linux and the like...
What does Unity 3D have to do with running 100s of servers? Curious
Yes!!! This is exciting and this will also mean you don't have to go through Apple's Store to sell your apps.
Well, there's no doubt that Python is one hell of a language. If only the devs cared more about performance. Python's performance actually got worse with Python 3.It has made adopting the language for certain tasks impossible. If you have to write most of the code in C anyway for performance reasons, why not just write the entire thing in C and be done with it?
As I see it, Swift is an inferior language in most ways to most other languages. It has one thing going for it, which Obj-C had going for it too: you can write in the language, or you can't use Apple's App Stores (which means you can't publish on iOS at all).
Making it open source might fix a pain point - now it might end up being possible to write your code once in Swift and have it run everywhere - but only if people actually port it.
IDK. I'm sticking with C# in Unity 3D for cross platform game development and Python for server side code.