サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
衆院選
www.jessesquires.com
Refactoring singleton usage in Swift Tips for a cleaner, modular, and testable codebase 10 February 2017 In software development, singletons are widely discouraged and frowned upon — but with good reason. They are difficult or impossible to test, and they entangle your codebase when used implicitly in other classes, making code reuse difficult. Most of the time, a singleton amounts to nothing more
One of the most common patterns I see in software design with Objective-C (and sometimes Swift), is the use of enumeration types (enum) as configurations for a class. For example, passing an enum to a UIView to style it in a certain way. In this article, I explain why I think this is an anti-pattern and provide a more robust, modular, and extensible approach to solving this problem. The configurat
I spent most of my free time last weekend and a few days of last week on migrating my Swift code to Swift 3.0 — I migrated my open source projects as well as my private side projects. Overall, I would say my experience was “OK”. It definitely could have been better, but I think the largest problem was overcoming the cognitive hurdle of seeing all the changes and errors from Xcode’s migration tool
A few days ago I was (finally!) updating a project to use Swift 2.2 and I ran into a few issues when converting to use the new #selector syntax introduced by proposal SE-0022. If using #selector from within a protocol extension, that protocol must be declared as @objc. The former Selector("method:") syntax did not have this requirement. Configuring view controllers with protocol extensions For the
An elegant messages UI library for iOSMedia messages Easily extensible Highly configurable Customize avatars Customize chat bubbles Customize cell labels Customize toolbar buttons Arbitrary message sizes Data detectors All devices, any orientation Localized in 14 languages Group chat Timestamp formatting Copy & paste messages UIDynamics for springy bubbles Dynamic input text view resizing Smooth a
Apples to apples, Part II An analysis of sorts between Objective-C and Swift 06 August 2014 If at first you don’t succeed, try, try again. Practice makes perfect. These proverbs have encouraged us all in many different contexts. But in software development, they tug at our heartstrings uniquely. Programmers persevere through countless nights of fixing bugs. Companies march vigilantly toward an MVP
このページを最初にブックマークしてみませんか?
『Jesse Squires』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く