Live data from Hacker News

Swift Has Reached 1.0

developer.apple.com

41–50 of 180 posts

Re: Swift Has Reached 1.0

#41
post #21
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

https://developer.apple.com/swift/resources/ has lots of helpful info, including ebooks and videos.

THANK YOU

That's what I was looking for. Really appreciate it.

iOS/Xcode as a first programming environment is really odd and foreign to me, but my brother seemed excited about it, and I want to encourage him. He's really talented, he could be amazing as a software engineer if he ever wanted to be one.

Re: Swift Has Reached 1.0

#42
post #13
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

If you mean learning Swift, check out www.LearnSwift.tips Disclosure: My Site

Neat, thanks for the link.

Also - tld of .tips? I need to register some funny names now

Re: Swift Has Reached 1.0

#43
post #28
post #3

My brother has been using swift to learn some programming. I don't have a mac, let alone iTunes. Is there a legal way for me to download/purchase a manual to help him with his progress?

www.sososwift.com has been my go-to. Beware, some of the vids are probably out-dated. It was my experience that every version of XCode6beta that came out broke my app with syntax or object-access type changes. I just downloaded XCode6GM and a bunch of stuff I was doing with "as NSArray" forced me to do "as? NSArray". And self.navigationController.navigationBar needed a "?" appended to controller, otherwise you'd get…

Cool, that looks like a great resource.

And thanks for the code conversion tips :)

Re: Swift Has Reached 1.0

#44
post #42
post #13

Earlier quoted context omitted.

If you mean learning Swift, check out www.LearnSwift.tips Disclosure: My Site

Neat, thanks for the link. Also - tld of .tips? I need to register some funny names now

Lol ya it's one of the new ones. If you think that has potential check out all the new TLD's: http://newgtlds.icann.org/en/program-status/delegated-string...

Re: Swift Has Reached 1.0

#48
post #37

Any word on whether they added static library support? Not having it is kind of a dealbreaker for my workflow, unfortunately.

Can you elaborate on how static library support is a hard requirement for your workflow and why frameworks (LLVM modules) don't meet your needs. I'm genuinely curious as I haven't had a chance to do any real work in Swift yet.

Fellow Googler btw.

Re: Swift Has Reached 1.0

#49

Earlier quoted context omitted.

Safari is the only browser that implements HLS except recent Android. Chrome does support H.264 in HTML5.

I think HLS is pretty awesome and this hasn't anything to do with HTML5 as what Chrome supports doesn't allow for live streaming, which is why sites like Twitch still use flash for Chrome. Chrome should support HLS, but they aren't going to for anything but Android, so flash it is for the foreseeable future. If anyone knows why or where I am mistaken I would like to know.

Chrome supports Media Source Extensions https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/..., which allow a web application such as dash.js https://github.com/Dash-Industry-Forum/dash.js/wiki implement live streaming.

Re: Swift Has Reached 1.0

#50
post #7

Stupid question but is Swift just compiled into Objective-C? I'm asking because I'd like to know if I can write an app in Swift that can run on iOS6.

No, more correctly ObjC is compiled into assembler that uses a C/C++ runtime.

Swift uses some C/C++ under the hood, and integrates it's object model into the ObjC object model (which is C). However, swift structs are not objects, from what I can tell they are virtually identical to structs in C (from a memory layout perspective).

Some swift objects are incompatible with the ObjC object model and cannot really be used from ObjC or really any other language (it does name mangling like C++ which makes interfacing rather difficult)

https://developer.apple.com/library/mac/documentation/Cocoa/...

Post reply on HN