{"id":3776,"date":"2014-03-30T05:30:00","date_gmt":"2014-03-30T05:30:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-nsstring-iboutlet-to-nsstring-object-in-designer-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:30:00","modified_gmt":"2014-03-30T05:30:00","slug":"xcode-nsstring-iboutlet-to-nsstring-object-in-designer-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/xcode-nsstring-iboutlet-to-nsstring-object-in-designer-collection-of-common-programming-errors\/","title":{"rendered":"xcode NSString IBOutlet to NSString Object in designer?-Collection of common programming errors"},"content":{"rendered":"<p>I have a UIView extended class which has an extra NSString property. For convenience I&#8217;d like to somehow set that property in the designer, if possible.<\/p>\n<pre><code>@property (nonatomic,retain) IBOutlet NSString* designerAccessibleString;\n<\/code><\/pre>\n<p>The property will show up as an Outlet as expected. I connect it to an NSString Object that was added from the Objects Library (added as Plain Object, class changed to NSString). But I&#8217;m unable to edit the string through the designer Attributes Inspector&#8230; is there a way?<\/p>\n<p>I know it&#8217;s possible to use a UILabel, but that&#8217;s overkill and I don&#8217;t need the convenience that badly.<\/p>\n<p>Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a UIView extended class which has an extra NSString property. For convenience I&#8217;d like to somehow set that property in the designer, if possible. @property (nonatomic,retain) IBOutlet NSString* designerAccessibleString; The property will show up as an Outlet as expected. I connect it to an NSString Object that was added from the Objects Library [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3776","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3776"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3776\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}