[swift-evolution] [Idea]Why not get dynamically named variables?

Fayez Hellani fayez.hellani at icloud.com
Sun Sep 4 12:28:38 CDT 2016


Hey! There should be an option to name variables AND constants dynamically. For e.g. in an app from storing recipes, where the user creates a recipe,the recipe should be stored in a constant (as a structure) with a name “\(TitleTextField.text)_Recipe” (e.g. “Lasagna_Recipe”), so that it gets stored easily and therefore fetched even easier.


More information about the swift-evolution mailing list