Is this intended behavior?

Jacob Carlborg doobnet at gmail.com
Mon Aug 11 03:54:20 PDT 2008


Michel Fortin wrote:
> On 2008-08-10 16:54:57 -0400, Jacob Carlborg <doobnet at gmail.com> said:
> 
>> I know that the convention is that class names should begin with an 
>> uppercase letter and it's not very good to name a member variable the 
>> same as the class name but I have not created the library I'm just 
>> porting it. In this case "id" refers to the type "id" in Objective-c 
>> http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_2_section_2.html#//apple_ref/doc/uid/TP30001163-CH11-SW3 
>>
> 
> What
>>
> kind of Java library is that you're porting?
> 
> By the way, in my D/Objective-C bridge, I'm using the root Object class 
> in D as an equivalent to to the Objective-C id type, and it allows any D 
> object to be passed to Objective-C code.
> <http://michelf.com/projects/d-objc-bridge/>
> 
> 

SWT Cocoa, http://www.eclipse.org/swt/



More information about the Digitalmars-d mailing list