ios - List of valid ASCII characters for Objective-C literals and identifiers? -


All of these variable names below are valid in xcode (compiler creates them without second thought).

  NSString * ª_name = @ "Something"; NSString * ¸__name = @ "Something"; NSString * Æ ?? _name = @ "Something"; NSString * A ?? _name = @ "something"; NSString * §_name = @ "Something"; NSString * API_Name = @ "Something"; NSString * ± _name = @ "Something"; NSString * a = name = @ "shift + option + 9"; // Personalized NSString * Ï ?? _name = @ "Something"; NSString * Ã__name = @ "Something";   

Can I see any valid vernacular characters anywhere I can use for a variable name?

Edit: Many of them still stupid xCode indexing is really good to be good

63 famous ASCII characters in C90 identifiers Allows: Latin upper - and lowercase letters, digits and underscores.

Since CAM is an estimate of "extended identifier" which is supported by both the clag and the GCC in newer versions. Annexure D has a list of "universal characters" allowed. It's a bit longer so I can only copy the Latin category:

00AA, 00BA, 00C0â ???? 00D6, 00D8â ??? 00F6, 00F8â ???? 01F5, 01FAa ???? 0217, 0250? 02 A8, 1E 00? Your favorite "middle dot" (which I also like) is found in "special characters": 1 e9b, 1eaaaaaaaaaaa 9, 207f

00B5, 00B7, 02B0â ???? 02B8, 02BB, 02BD 02C1, 02D0, ??? 02D1, 02E0â ???? 02 E4, 037A, 0559, 093D, 0 B3D, 1 FBE, 203 FA 2040, 2102, 2107, 210 AA 2113, 2115, 2118 211D, 2124, 2126, 2128, 212 AA 2131, 2133, 2138, 2160, 2182, 3005, 3007, 3021, 3029, 3029,

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -