# Eliminating stringly-typed code in Objective-C

DevFeed: [Eliminating stringly-typed code in Objective-C](<https://devfeed.tech/articles/eliminating-stringly-typed-code-in-objective-c-15620.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/eliminating-stringly-typed-code-in-objective-c>)

Author: Square Engineering

Published: 2014-02-19T17:06:00Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Objective-C](<https://devfeed.tech/topics/objective-c.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [Code](<https://devfeed.tech/topics/code.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>), [testing](<https://devfeed.tech/tags/testing.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

## AI overview

This article explains how string-based references to iOS asset catalogs and storyboards can cause bugs that are detected only at runtime. It presents objc-assetgen and objc-identifierconstants, which generate Objective-C source code so renamed resources produce build errors instead.

## Source excerpt

Sometimes, you just have to meet your tools halfway.