Re: Accessing array members without the use of objectAtIndex

2018-04-14 Thread Andreas Fink
This is mainly a question of if the compiler is able to do this newer ObjC2.0 syntax. clang does it nicely. Not sure if gcc can these days. Some older gcc versions where for sure not capable which was the reason for me to switch all to clang, given the new syntaxes saves you a lot of writing.

Re: Accessing array members without the use of objectAtIndex

2018-04-14 Thread David Chisnall
Hi Tyler, > On 14 Apr 2018, at 00:03, tyler mclean > wrote: > > Greetings developers, > > I want to preface this question by saying that this project is > impressive. My question is, is there a way to access members of > NSArray or NSMutableArray like an

Accessing array members without the use of objectAtIndex

2018-04-14 Thread tyler mclean
Greetings developers, I want to preface this question by saying that this project is impressive. My question is, is there a way to access members of NSArray or NSMutableArray like an array with the GNUstep framework or is that a function that currently only sits with the current Apple

Re: Accessing array members without the use of objectAtIndex

2018-04-14 Thread David Chisnall
On 14 Apr 2018, at 13:39, Andreas Fink wrote: > > This is mainly a question of if the compiler is able to do this newer ObjC2.0 > syntax. > clang does it nicely. Not sure if gcc can these days. Some older gcc versions > where for sure not capable which was the reason for

Re: Accessing array members without the use of objectAtIndex

2018-04-14 Thread Riccardo Mottola
Hi, On 2018-04-14 01:03:36 +0200 tyler mclean wrote: while this particular example does not create much bloat, repeated need to access members can make code substantially larger than that of it's counterpart on Apple's end. If so, what do I need to do to