{"id":1552,"date":"2013-05-28T04:39:41","date_gmt":"2013-05-27T18:39:41","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=1552"},"modified":"2013-05-28T04:39:41","modified_gmt":"2013-05-27T18:39:41","slug":"xcode-objective-c-user-interface-with-interface-builder-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-objective-c-user-interface-with-interface-builder-primer-tutorial\/","title":{"rendered":"Xcode Objective-C User Interface Builder Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/C\/Objective-C\/QuartzComposer\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"XCode Objective-C User Interface Builder Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/C\/Objective-C\/QuartzComposer\/QuartzComposer.jpg\" title=\"XCode Objective-C User Interface Builder Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">XCode Objective-C User Interface Builder Primer Tutorial<\/p><\/div>\n<p>Objective-C is the main programming language used by Apple for the OS X and iOS operating systems and their respective APIs, Cocoa and Cocoa Touch, so is very much a language on the up and up, because of the increased iPhone mobile phone usage. <\/p>\n<blockquote><p>Objective-C is a general-purpose, high-level, object-oriented programming language that adds Smalltalk-style messaging to the C programming language. It is the main programming language used by Apple for the OS X and iOS operating systems and their respective APIs, Cocoa and Cocoa Touch.<\/p>\n<p>Originally developed in the early 1980s, it was selected as the main language used by NeXT for its NeXTSTEP operating system, from which OS X and iOS are derived.[1] Generic Objective-C programs that do not use the Cocoa or Cocoa Touch libraries can also be compiled for any system supported by GCC or Clang.<\/p><\/blockquote>\n<p>The <a target=_blank title='XCode Objective-C User Interface with Interface Builder' href='http:\/\/www.rjmprogramming.com.au\/C\/Objective-C\/QuartzComposer\/'>tutorial<\/a> above uses an XCode Cocoa Application with its framework and additionally incorporates the Quartz Framework to create a simple Quartz Composer viewer.  This Mac OS X desktop User Interface application is written in Objective-C.<\/p>\n<p>Please note that the picture above is the final successful code snapshot for Mac OS X 10.7.5 XCode 4.4 usage, which differs from the code at the end of the tutorial.<\/p>\n<p>Link to Objective-C information <a target=_blank title='Objective-C information' href='https:\/\/en.wikipedia.org\/wiki\/Objective-C'>from Wikipedia from where the quote above is derived.<\/a><\/p>\n<p>Download source code and rename to <a target=_blank title='AppDelegate.m' href='http:\/\/www.rjmprogramming.com.au\/C\/Objective-C\/QuartzComposer\/AppDelegate.m_GETME'>AppDelegate.m<\/a> and <a target=_blank title='AppDelegate.h' href='http:\/\/www.rjmprogramming.com.au\/C\/Objective-C\/QuartzComposer\/AppDelegate.h_GETME'>AppDelegate.h<\/a>.<\/p>\n<p>Read more about Interface Builder with this Apple <a target=_blank title='Apple tutorial' href='http:\/\/developer.apple.com\/library\/mac\/#documentation\/ToolsLanguages\/Conceptual\/Xcode_User_Guide\/030-Edit_User_Interfaces\/edit_user_interface.html'>tutorial<\/a>.<\/p>\n<p><a target=_blank title='LB' href='http:\/\/www.youtube.com\/watch?v=pJUGDghqnKY\u200e'>I object<\/a> <a target=_blank title='Ecv' href='http:\/\/www.bubhub.com.au\/community\/forums\/showthread.php?253402-Ecv'>eCv<\/a>?<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d1552' onclick='var dv=document.getElementById(\"d1552\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Objective\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d1552' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Objective-C is the main programming language used by Apple for the OS X and iOS operating systems and their respective APIs, Cocoa and Cocoa Touch, so is very much a language on the up and up, because of the increased &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/xcode-objective-c-user-interface-with-interface-builder-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,17,37,40],"tags":[549,852,997,1319,1473],"class_list":["post-1552","post","type-post","status-publish","format-standard","hentry","category-elearning","category-gui","category-tutorials","category-xcode","tag-gui","tag-objective-c","tag-programming","tag-tutorial","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1552"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=1552"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/1552\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}