layout icon indicating copy to clipboard operation
layout copied to clipboard

Localized Strings in UITableViewCell

Open Dragonspell99 opened this issue 5 years ago • 1 comments

I am trying to use localized strings directly from by "Localizable.strings" file as described in the readme file.

It works fine for child views that are declared in my top level view controller. However, when I try to do so for child views within a UITableViewCell that is declared inline within a UITableView within that same ViewController, I get an error saying that the string cannot be found.

Any ideas what may be causing the problem? My layout is fairly large so I haven't pasted the code here but I can provide more details if required.

Dragonspell99 avatar Nov 28 '18 20:11 Dragonspell99

@Dragonspell99 I have encountered a few bugs around this previously to do with the table cell not sharing the scope of the containing Layout. I thought I'd fixed them all, but I guess not.

If you could provide concrete steps to reproduce the issue that would be helpful.

nicklockwood avatar Nov 29 '18 11:11 nicklockwood