discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know the geometry of a string on the screen ?


From: David Chisnall
Subject: Re: How to know the geometry of a string on the screen ?
Date: Sun, 29 Oct 2017 14:05:03 +0000

On 29 Oct 2017, at 11:58, Bertrand Gmail <bertrand.dekoninck@gmail.com> wrote:
> 
> Moreover, I could put "string.size" instead of "[string size]". But I wonder 
> if it ist an Objc-2 feature and  if it will compile with gcc and it's libobjc.

string.size compiles down to the same thing as [string size], so it’s a 
property of the compiler, not the run time.  It should work with any modern 
compiler.  Clang with GNUstep libobjc supports all of the features (including 
ARC) of a modern Objective-C dialect.

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]