mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Added pragma mark information
`#pragma mark` is very useful and widely recommended to "abuse" it for method/variable grouping since it improves readability.
This commit is contained in:
parent
f0a4c88acf
commit
0717fcfdc7
@ -20,6 +20,10 @@ It is a general-purpose, object-oriented programming language that adds Smalltal
|
|||||||
Multi-line comments look like this
|
Multi-line comments look like this
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// XCode supports pragma mark directive that improve jump bar readability
|
||||||
|
#pragma mark Navigation Functions // New tag on jump bar named 'Navigation Functions'
|
||||||
|
#pragma mark - Navigation Functions // Same tag, now with a separator
|
||||||
|
|
||||||
// Imports the Foundation headers with #import
|
// Imports the Foundation headers with #import
|
||||||
// Use <> to import global files (in general frameworks)
|
// Use <> to import global files (in general frameworks)
|
||||||
// Use "" to import local files (from project)
|
// Use "" to import local files (from project)
|
||||||
|
Loading…
Reference in New Issue
Block a user