Conversation
4d65277 to
be540a2
Compare
|
I suggest closing as from 2015 |
|
I had another look at this and now there are tests, it may be worth looking into as it does not seem like a complicated change. Basically this needs to be brought up to date with master so we can see if the tests pass @oocube |
Use foreachkey or foreach macro when appropriate.
… NSEnumerator object.
Skipping StationEntity.m because of its heavy use of custom enumerators.
…aration, as is done for "for".
32821da to
efce91b
Compare
|
rebased. |
|
@MaddTheSane It looks like there are some compile issues. Would you be able to look into those? |
|
I've tried to compile it using Xcode but encountered unrelated errors. |
|
@MaddTheSane Thanks for contributing this improvement. I tested locally and it seems fine. I hope to get the Mac build working again in future probably by generating an XCode project from meson or cmake. I added the code below to make fast enumeration the default (ie. no need for the #define and #if lines to check for it). I don't have rights to add it to your fork. Please can you add this: |
|
Perhaps those can be a separate patch? You can also open up a pull request on my fork and branch. |
|
@MaddTheSane I've merged your changes and added a separate PR for making fast enumeration the only option #598 |
These patches migrate the usage of many
NSEnumerationto this project'sforeachandforeachkey, which translates tofor(...in...)on systems that support it.See also #140