On Thu, Jan 10, 2013 at 1:43 PM, Jordan Rose <span dir="ltr"><<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Looks like spaces are correct for @synthesize:</div><div><br></div><div><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html#//apple_ref/doc/uid/TP40011210-CH5-SW6" target="_blank">https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html#//apple_ref/doc/uid/TP40011210-CH5-SW6</a></div>
<div><br></div><div><div style="clear:both;font-size:13px;font-family:'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;margin:1.5em 0px"><blockquote type="cite"><table style="width:1063px;background-color:rgb(241,245,249);border-collapse:collapse;border:1px solid rgb(199,207,213);padding-bottom:4px">
<tbody><tr style="border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(255,255,255)"><td scope="row" style="padding:0.5em"><pre style="font-size:13px;font-family:Courier,Consolas,monospace;color:rgb(102,102,102);line-height:14px;white-space:pre-wrap">
@implementation YourClass<span style="margin-right:0.667em;float:right"></span></pre></td></tr><tr style="border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(255,255,255)"><td scope="row" style="padding:0.5em">
<pre style="font-size:13px;font-family:Courier,Consolas,monospace;color:rgb(102,102,102);line-height:14px;white-space:pre-wrap">@synthesize propertyName = instanceVariableName;<span style="margin-right:0.667em;float:right"></span></pre>
</td></tr><tr style="border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(255,255,255)"><td scope="row" style="padding:0.5em"><pre style="font-size:13px;font-family:Courier,Consolas,monospace;color:rgb(102,102,102);line-height:14px;white-space:pre-wrap">
...<span style="margin-right:0.667em;float:right"></span></pre></td></tr><tr style="border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(255,255,255)"><td scope="row" style="padding:0.5em"><pre style="font-size:13px;font-family:Courier,Consolas,monospace;color:rgb(102,102,102);line-height:14px;white-space:pre-wrap">
@end<span style="margin-right:0.667em;float:right"></span></pre></td></tr></tbody></table><br></blockquote></div></div></div></blockquote><div><a href="https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingIvarsAndTypes.html">https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingIvarsAndTypes.html</a> has</div>
<div><br></div><div class="codesample clear" style="clear:both;font-size:13px;margin:1.5em 0px;font-family:'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;background-color:rgb(255,255,255)">
<table style="width:1020px;background-color:rgb(241,245,249);border-collapse:collapse;border:1px solid rgb(199,207,213);padding-bottom:4px"><tbody><tr style="border-bottom-width:0px;border-bottom-style:solid;border-bottom-color:rgb(255,255,255)">
<td scope="row" style="padding:0.5em"><pre style="font-size:13px;font-family:Courier,Consolas,monospace;color:rgb(102,102,102);line-height:14px;white-space:pre-wrap">@synthesize showsTitle=_showsTitle;<span style="margin-right:0.667em;float:right"></span></pre>
</td></tr></tbody></table></div><div>though :-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div style="clear:both;font-size:13px;font-family:'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;margin:1.5em 0px">
<blockquote type="cite"></blockquote></div></div><div>Thanks for checking,</div><div>Jordan</div><div class="im"><div><br></div><br><div><div>On Jan 10, 2013, at 13:30 , Nico Weber <<a href="mailto:nicolasweber@gmx.de" target="_blank">nicolasweber@gmx.de</a>> wrote:</div>
<br><blockquote type="cite">Author: nico<br>Date: Thu Jan 10 15:30:42 2013<br>New Revision: 172110<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=172110&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=172110&view=rev</a><br>
Log:<br>Formatter: No spaces around '=' in @property lines.<br><br>Before:<br>@property(assign, getter = isEditable) BOOL editable;<br><br>Now:<br>@property(assign, getter=isEditable) BOOL editable;<br><br>It'd be nice if some Apple person could let me know if spaces are preferred<br>
around '=' in @synthesize lines (see FIXME in the test).<br><br><br>Modified:<br>    cfe/trunk/lib/Format/Format.cpp<br>    cfe/trunk/unittests/Format/FormatTest.cpp<br><br></blockquote></div><br></div></div><br>_______________________________________________<br>

cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br>