@Scott it seems convertFromSnakeCase and underscores are incompatible. Removing any o the 2 solves the issue. As exposed in Apple documentation, with convertFromSnakeCase, fee_fi_fo_fum converts to: feeFiFoFum: underscores are removed and replace by following uppercase.
Post
Replies
Boosts
Views
Activity
Thanks for the feedback. Don’t forget to close the thread by marking the correct answer.
Could you post a complete minimal project to replicate the issue ?
Sure, it does not equate. But each language has its own optimisations relative to Strings handling (and there are many). Are you sure that those other languages do not create an interim String when using appendFormat ? In anycase, form developer point of view, creating an intermediate String is not an issue (unless I missed something).
This is another interesting way to do it: https://stackoverflow.com/questions/48297263/how-to-use-any-in-codable-type
Question in fact: why do you even need Dispatch ? If I understand your code, you are alre in the main queue. So try remove a y Dispatch call.
That may be interesting to share code.
You're welcome, the forum is precisely for this. What is misleading is that drop is not "drop where" but "drop while". The expanded form makes it clearer: let newarr = arr.drop (while: { exc.contains($0) } )
You're welcome, the forum is precisely for this. What is misleading is that drop is not "drop where" but "drop while". The expended form makes it clearer: let newarr = arr.drop (while: { exc.contains($0) } )
For unknown reason, the screenshots do not show…
Thanks for the feedback. Don't forget to marked my answer as correct to close the thread. Good continuation.
@Aor1105 Where exactly do you get the error message ? The code you posted is not structured as @hieuleuxuan advised. So what is your current code ?
I don't think you are eligible on a free account.
Could you explain precisely what you want with n"transient behaviour" and why the proposed solution does not do it ?
No, I do not see where to get the full code. What is exactly the problem with multiple orders ? They are in an array, handled in order I assume.