神刀安全网

Issue 37 – 17th May 2016

    • CocoaPods Version 1.0! ��:tada:
    • Apple App Analytics 101
    • Beware the UIKit Visitors!
    • First Parameters, Swift Signatures and Conditional Builds
    • Protocol-Oriented Networking in Swift
    • Packing Bytes in Swift
    • �� Building Slack Bots In Swift ��
    • Taking Control of Xcode Issue Navigator with XcodeIssueGenerator
    • Building Fabric.app in Swift
    • Nutting like GameplayKit
    • Building APIs with Swift
    • Developers – Learn to Say “No”

News

CocoaPods Version 1.0! ��:tada:

It’s taken four and a half years, 20K commits and the dedication of hundreds of developers but this week saw CocoaPods finally reach version 1.0!

A huge congratulations to @alloy , @segiddins , @orta and the rest of the @cocoapods team along with the hundreds of developers and sponsors who have contributed to making CocoaPods such an invaluable resource!

If you’ve not read it already, make sure you check out both the 1.0 release of the associated desktop app , as well as the 1.0 Migration Guide as there are a few changes with this release that you need to watch out for.

cocoapods.org

Business

Apple App Analytics 101

As you know, the journey for your app is nowhere near over at the point it hits the app store. There’s the launch, the marketing, the promotion and the list goes on. The key thing though is to know whether all your efforts are actually moving the needle and for that we need analytics . In this article, the team at @transporter_app help with that by providing a crash course in the analytics that we all have available – those that are baked into iTunes Connect.

medium.com

Code

Beware the UIKit Visitors!

There has been a bit of a performance theme in articles I’ve included recently and this one is no exception. In this article, @benjaminencz provides some handy debugging tips as he dives into the bowels of UIKit to find out why adding a tint to a UIView containing a load of subviews is quite so bad for performance.

benjamin-encz.de

First Parameters, Swift Signatures and Conditional Builds

Whichever way you look at it, the transition to Swift 3.0 is going to be a little rocky. In this article, @ericasadun takes a look at the implications that Swift evolution proposal SE-0046 and it’s changes to methods signatures will have going forwards and how you can partition your Swift 2.2 and Swift 3.0 code leading up to the transition.

ericasadun.com

Protocol-Oriented Networking in Swift

In this article, a follow-up to her Practical Protocol-Oriented Programming in Swift talk, @natashatherobot , provides a good example of how restructure your networking code using protocols so that you can actually test it.

natashatherobot.com

Packing Bytes in Swift

Sometimes it’s good to drop down to the work directly with bits and bytes. In this, another great article from @xenadu02 , he eschews JSON, protobuf and NSCoding and instead looks at how to directly encode and decode data into binary blobs.

russbishop.net

�� Building Slack Bots In Swift ��

With the development world having gone bot-crazy recently, I couldn’t resist including this article from @pvzig detailing how rise to world domination by building a Slack-bot using Heroku, SlackKit and Zewo.

medium.com

Tools

Taking Control of Xcode Issue Navigator with XcodeIssueGenerator

I’ve seen several articles recently bemoaning the lack of the #warning directive in Swift and personally I agree, I found them highly useful when writing Objective-C. It was with interest then that I came across XcodeIssueGenerator, a tool from @soolwan and the team at @POSSIBLEmobile that could provide a viable alternative.

possiblemobile.com

Libraries

R.swift

Working with stringly typed values such as when loading images, segues or storyboards has never been the most reliable of mechanisms providing ample opportunity to get things wrong. R.swift by @mac_cain13 all but eliminates this problem, examining the resources in your app and automatically generating a struct to map your app resources to Swift properties.

github.com

Cartography

Setting up autolayout constraints in code has never been the easiest thing to do, especially when you throw in the stringly typing that is generally needed. Cartography by @dlx attempts to address this issue by providing a domain specific language to setup and manipulate Auto Layout constraints using declarative and strongly typed Swift.

github.com

Kingfisher

Downloading and caching images from the web is a relatively common task in iOS and OS X applications. Kingfisher by @onevcat is a lightweight library written in pure Swift that provides both asynchronous download and in-built caching right out of the box.

github.com

Videos

Building Fabric.app in Swift

I’m a big fan of the work that the team at Fabric have been doing recently. In this talk, @Javi walks through some of the decision making process and lessons learnt from writing the Fabric.app in Swift. It’s definitely worth watching.

realm.io

Nutting like GameplayKit

I’ve not really played with GameplayKit other than the state machine aspects of it (which incidentally are pretty good in my experience). In this video, @jacknutting takes a look at four of the main features available within this framework and the the implications of taking component-based architectural approaches.

vimeo.com

Building APIs with Swift

One of the huge benefits of open-source Swift has been the explosion in server-side frameworks allowing us to easily build both client-side and server-side applications using a single language. In this talk, @dantoml bravely tackles a live-coding presentation (typo’s, technical issues and all :wink:) and walks us through how to build a simple web API using Swift.

vimeo.com

Other

Developers – Learn to Say “No”

Xcode crashes, app crashes and web pages not loading. Are apps and software becoming less reliable than they used to be? According to @akosma it may not be the technology that is the source of these problems.

medium.com

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Issue 37 – 17th May 2016

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址