38

Issue 187 – June 11th 2019

 4 years ago
source link: https://www.tuicool.com/articles/YNnmMvy
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

News

Feeback Assistant

So we’ll get to all the WWDC news in a moment, but I wanted to kick off this week with Apple’s new Feedback Assistant tool. Announced yesterday, the new tool replaces the old Bug Reporter with a new tool designed to make providing feedback easier by by automatically collecting on-device diagnostics. More details can be found here but if you do find any issues with any of the betas over the next few months, be sure to check out the new tool – it’s your best chance of getting them fixed. apple.com

Code

All Things SwiftUI

Understandably SwiftUI has been getting a lot of attention this week and I like many others have been working my way through the various tutorials, documentation and videos to try and get up to speed. Apart from the documentation and official tutorials , the one great place to stop by is @twostraws ‘s new SwiftUI By Example mini-site with bite-sized chunks showing you examples of building dynamic lists, adding animation and transformations, composing views and more. If you’re looking for a wider selection of material, @JuanpeCatalan has also been hard at work, pulling together a new repo with lots more great material from around the community. I’ve found this to a an extremely useful resource for getting up to speed. apple.com

Beyond the Checkbox with Catalyst and AppKit

You’ll have no doubt seen the great work that @stroughtonsmith has done over the last year digging it Marzipan and it’s capabilities in Mojave, but with the Marzipan Catalyst SDK now in our hands, Steve revisits the topic with a look at how we can use Catalyst to integrate our apps with the Mac and AppKit. highcaffeinecontent.com

WWDC 2019 – The Things You May Have Missed

Whilst SwiftUI, Combine and Catalyst have grabbed the headlines, there’s a bunch of other stuff that was also announced. @BalestraPatrick has put together a useful list of tips, tricks and news covering some of the other things that you may have missed. patrickbalestra.com

iOS 12.2 to 13.0 API Changes

I always find API diffs particularly useful as they’re a great way to drill down to those areas of the APIs that have changed. @mattstevens has continued to do a great job generating the latest SDK diff and bottom line… the changes are huge! codeworkshop.net

Swift

‘Opaque’ Types in Swift 5.1

If you’ve spent any time this week playing with SwiftUI, you’ll no doubt have seen the new some` keyword creep into the Swift lexicon. This has been introduced as part of SE0244 – Opaque Results Types which let’s the Swift compiler limit a value to being a subclass of a particular type. To learn more, (including why it’s useful) take a look at this article from @vihanbh which goes into more depth. vihan.org

Property Wrappers to Remove Boilerplate code in Swift

Sticking with the theme of Swift Evolution Proposals make sure you also check out this new article from @twannl . Property wrappers (as discussed in SE-0258 – Property Wrappers ) are a new addition to the language that let us remove a lot of boilerplate code when creating properties that are, for example backed by UserDefaults. avanderlee.com

Tools

Generate New Repositories with Repository Templates

Apart from the Apple announcements this week, we’ve also seen some welcome announcements from @github as well. Not only have they announced that the GitHub Package Registry will be gainint support Swift Packages , (it’s in Beta right now) but they have also announced support for generating new repositories from repository templates – templates that can then be shared with the wider community. That should help speed things up a bit. github.blog

SF Symbols

Another new arrival this year is SF Symbols – a collection of over 1500 new symbols from Apple that you can use in your apps! It comes with it’s own Mac app to help browse and select the symbols your after and although the API is stringly-typed by default, the team at @piknotech have already written a useful library SFSafeSymbols to help bring some type-safety to proceedings! apple.com

A First Look at Xcode 11’s Swift Package Manager Integration

It’s here! We finally have Swift Package Manager support in Xcode! Package authors wanting to create their own packages have now have complete support for creating, editing and managing packages directly within Xcode! This is great news and will hopefully accelerate the use of SPM within the community. @swiftbysundell has been taking a first look. wwdcbysundell.com

Testing

Getting Started with Test Plans for XCTest

Another brand new feature added to Xcode this year is Xcode Test Plans. These allow developers and QA engineers to configure their test suites independently of Xcode schemes and allows much greater flexibility when defining the conditions are run under as well as the order that tests are run in. @Shashikant86 has been kicking the tyres on these new features. shashikantjagtap.net

Videos

The Talk Show Live From WWDC with Craig Federighi and Greg Joswiak

As informative, interesting and funny as ever, @daringfireball returns to WWDC with the Talk Show Live and special guests Craig Federighi and Greg Joswiak. I always enjoy this one. youtu.be

Other

How does Apple (Privately) Find Your Offline Devices?

If like me, you raised an eyebrow at Apple’s announcement of “Find My” and it’s ability to track stolen devices even when they’re offline, then take a look at this article from @matthew_d_green which illustrates just how difficult the problem is as well as exploring some potential ideas of how the cryptography is actually working behind the scenes. As ever, no concrete details from Apple but interesting none-the-less. cryptographyengineering.com

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK