Comments (4)
This PR: artsy/eidolon#496
Ran the converter, which failed shortly after beginning.
Further ideas:
isEmpty
could have a correspondingisNotEmpty
. (Done)- OptionSets are cool π
isEmpty
should be able to be used on optional strings. (Done)- UITextField has optional
text
property. - No longer have to cast with objc generic arrays
- FLKAutoLayout/our own libraries could use objc generic arrays
- SSL thingy
- Quick/Nimble update was painless π only change: https://github.com/artsy/eidolon/pull/496/files#diff-99681ae03e7455abb84f2358ea7ae5f2R9
- As long as none of the Kiosk iPads are updated to iOS 9, we're fine.
- Operator precedence in RAC macros.
from mobile.
Quick/Nimble update was painless π
Great!! Feedback always appreciated on other sore spots, feature requests, etc.
from mobile.
π Thanks Brian!
As for the isNotEmpty
on (optional?) strings, the solution isn't that complex:
public protocol Occupiable {
var isEmpty: Bool { get }
var isNotEmpty: Bool { get }
}
public extension Occupiable {
public var isNotEmpty: Bool {
return !isEmpty
}
}
extension String: Occupiable { }
public extension Optional where Wrapped: Occupiable {
var isNilOrEmpty: Bool {
return self?.isEmpty ?? false
}
var isNotNilNotEmpty: Bool {
return !isNilOrEmpty
}
}
I just don't know if this is a good idea. I mean, why not, eh? But it doesn't seem very idiomatic.
from mobile.
Also, need to remove public
everywhere. We have @testable
now.
from mobile.
Related Issues (20)
- Public Speaking HOT 5
- Dev tools blog post
- Strongify/Weakify dance blog post HOT 1
- README needs an update again HOT 1
- PR a day HOT 3
- Colour palette for Artsy OSS (general / mobile projects) HOT 5
- Artsy OSS / Mobile resources HOT 4
- Drawing and programming views HOT 1
- Breaking into OSS in Cocoa HOT 1
- Create a blog post with βrulesβ on communication and design, specifically in the context of OSS. HOT 1
- Process HOT 11
- Blog post: MVVM + FBSnapshots for the greater good
- Blog Post: SDWebImage and Snapshot Testing HOT 1
- Incorrect links in the playbook.md file HOT 2
- Bug Report Process HOT 2
- Post:How the design of CocoaDocs influences Danger's infrastructure HOT 2
- Blog Post: Getting started with React Native HOT 6
- Blog Post: Migrating Force/Microgravity to OSS by Default HOT 2
- Blog Post: Artsy's usage of Bots
- Analytics on Mobile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile.