summaryrefslogtreecommitdiffhomepage
path: root/objective-c.html.markdown
diff options
context:
space:
mode:
authorFernando Valverde <fdov88@gmail.com>2015-10-30 22:57:55 +0100
committerFernando Valverde <fdov88@gmail.com>2015-10-30 22:57:55 +0100
commit0717fcfdc774a877020b9d194dc40924aa5dd528 (patch)
treef4af5d6b984aebfcf758839608764b38b42146f5 /objective-c.html.markdown
parentf0a4c88acfac9514aca6dd33e2d3f8c4d5e815dc (diff)
Added pragma mark information
`#pragma mark` is very useful and widely recommended to "abuse" it for method/variable grouping since it improves readability.
Diffstat (limited to 'objective-c.html.markdown')
-rw-r--r--objective-c.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown
index f130ea0c..36b4f3e9 100644
--- a/objective-c.html.markdown
+++ b/objective-c.html.markdown
@@ -20,6 +20,10 @@ It is a general-purpose, object-oriented programming language that adds Smalltal
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
// Use <> to import global files (in general frameworks)
// Use "" to import local files (from project)