# Coding Practice

Published articles for Coding Practice.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Swift Type Constrained Extensions: Express Yourself

DevFeed: [Swift Type Constrained Extensions: Express Yourself](<https://devfeed.tech/articles/swift-type-constrained-extensions-express-yourself-37509.md>)

Original publisher: [Read original article](<https://www.cimgf.com/2015/12/14/swift-type-constrained-extensions-express-yourself/>)

Author: Matt Long

Published: 2015-12-14T18:19:55Z

Content type: tutorial

Language: en

Sources: [Cocoa Is My Girlfriend](<https://devfeed.tech/sources/cocoa-is-my-girlfriend.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [Code](<https://devfeed.tech/topics/code.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [coding-practice](<https://devfeed.tech/tags/coding-practice.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [json](<https://devfeed.tech/tags/json.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [playgrounds](<https://devfeed.tech/tags/playgrounds.md>), [swift](<https://devfeed.tech/tags/swift.md>), [type](<https://devfeed.tech/tags/type.md>), [type-safety](<https://devfeed.tech/tags/type-safety.md>)

### AI overview

This tutorial explains Swift type-constrained extensions, comparing them with Objective-C categories and showing how they can provide type-safe functions and app-specific functionality for arrays and JSON-derived data.

### Source excerpt

I admit it. I was pretty down when Swift was announced. I appreciated the finer points of the reasons for it, however, they weren't convincing-at least not to me-not at first. I denied that it was actually "expressive" as the overall community was referring to it, however, that was before version 2. It's at the [...]

## Massive View Controllers

DevFeed: [Massive View Controllers](<https://devfeed.tech/articles/massive-view-controllers-37508.md>)

Original publisher: [Read original article](<https://www.cimgf.com/2015/09/21/massive-view-controllers/>)

Author: Marcus Zarra

Published: 2015-09-21T19:58:15Z

Content type: opinion

Language: en

Sources: [Cocoa Is My Girlfriend](<https://devfeed.tech/sources/cocoa-is-my-girlfriend.md>)

Topics: [Development](<https://devfeed.tech/topics/development.md>), [Code](<https://devfeed.tech/topics/code.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [unit test](<https://devfeed.tech/topics/unit-test.md>)

Tags: [cocoa-touch](<https://devfeed.tech/tags/cocoa-touch.md>), [code](<https://devfeed.tech/tags/code.md>), [coding-practice](<https://devfeed.tech/tags/coding-practice.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [development](<https://devfeed.tech/tags/development.md>), [kvo-kvc](<https://devfeed.tech/tags/kvo-kvc.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>)

### AI overview

The article argues that view controllers should remain focused on presentation rather than containing network code. It recommends separate units for network requests, a top-level data controller, dependency injection, persistence through Core Data, and isolated unit testing.

### Source excerpt

While at Empirical Development and then MartianCraft I had been distanced from all of the inventive solutions that other development teams have been coming up with for the past few years. I was living in a bubble of our development teams. Now that I am working independently again, I am being exposed to a large [...]