Issue 357

综合技术 2018-06-23 阅读原文


React Native at Airbnb

You've almost certainly seen these posts flying around Twitter and other social networks this week, but did you read them? Or did you just scan the title and think "Oh I knew
React Native wasn't a good idea!" :grinning:

I'm not a huge fan of React Native myself, and obviously this isn't good
news for the technology, but Airbnb's decision is more subtle than you might first think. I'd suggest reading all five parts: 1
, 2
, 3
, 4
and 5

"iPhone Only" apps on the iPad

I agree with Ben Dodson that it's ridiculous that iPhone apps must
run on the iPad in phone mode. There's a minor, but significant improvement to the situation coming with iOS 12 though. :tada:

Sponsored Link

try! Swift NYC: Get Your Ticket by Friday and get $100 OFF

Join the Swift Community Spectacular :hatched_chick::tada::bowling: in New York City on September 3rd - 5th. Learn the latest in Create ML, Siri Shortcuts, Swift on the Server, SwiftNIO, Memojis (how to make your own!), and much more! In-depth workshop topics include Cryptocurrency, Function Composition, Kotlin, Accessibility and more to be announced! Use code TRYIOSDEV
by next Friday to get $100 off!


iPad Navigation Bar and Toolbar Height Changes in iOS 12

Repeat after me, "I will never hard code the height of a navigation bar, tab bar or the status bar in my iOS apps". Then go and read Geoff Hackworth's article on some changes you may not have noticed. :grinning:


This new text styling library from Ryan Nystrom looks good. It not only assists with a flexible, concise way of building attributed strings but also provides a bitmap renderer (and an associated StyledTextView
to allow those bitmaps to easily end up in a view hierarchy). If you're struggling with performance when rendering lots
of attributed text in a table or collection view then you'll want to check this out.

On Apple's Love Affair With Swift

I loved this response to last week's post
by Stefan Lesser. It reminds us of the Chris Lattner interview
on ATP
and goes through the discussion points one by one. :+1:


No, this isn't anything to do with iOS 12! It's just a good looking framework from Stephen Radford for building a Messages style conversation view. It looks good by default, but is also customisable (just don't make it look like this
!) :joy:


How Apple can fix 3D Touch

Was the reason that 3D Touch was never adopted by developers because users didn't know it was there? Or did a luke warm reception from users prevent developers from putting in the time with it? This post by Eliz Kılıç suggests that it was because there was no obvious UI showing that 3D Touch was possible. I really like this idea.

责编内容by:iOS Dev Weekly 【阅读原文】。感谢您的支持!


三级联动省市区城市选择器v2.1.0新版本发布... v2.1.0版本发布!!! 更新部分城市数据信息 修复已知bug 新增一些属性,使用更方便 优化加载弹出选择器的速度。 使用方法 compile '' 建议使用最新版,详细使用...
Open Apple Maps and start the route from the curre... I'm wanting to create a link in my application that essentially will be labelled "Take Me Home". When pressed, I want it to open Apple Maps, route fro...
App extension 总结 简单的说,App Extension 可以让开发者们拓展自定义的功能和内容到应用程序之外,并在用户与其他应用程序或系统交互时提供给用户。 2. 用途 你可以创建一个app extension通过打开一个特殊的开关。例如 Share extension: 让用户从浏览器分享至其他社...
Viper-s: writing your own architecture to understa... After some months using VIPER for my apps, I started working on my own architecture: I wanted to create something better for my own needs. I then ...
Incorporating XML application to iOS I'm making my first game in iOS and I need to load some levels that are stored as XML. Level files are stored locally and everything works fine from e...