Simpler array bounds checking #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps
Purpose
This is a slightly simpler and possibly more idiomatic way to check array bounds using the array's built-in
indicescollection.Approach
See above.
I wasn't able to build on my machine, possibly because I'm on a Mac?
Thank you! Could you maybe share some information about your problem on macOS, maybe in the discussions? I tried this library on macOS the last time some months ago, and the build succeeded, so it probably isn't a general problem of the library itself, but one of the system/configuration.
Apologies for the delay! Here's a screenshot of the errors I see, and some detail on the first one in the build log. I'm assuming I need some dependency installed, but the readme didn't mention anything that I could see. I installed
libadwaitavia homebrew, but it didn't help.This is probably the same problem as reported in https://github.com/AparokshaUI/adwaita-swift/issues/32. Unfortunately, we haven't yet been able to fix it (but it should work with
swift runinstead of Xcode's run button). Maybe you could try the steps in https://github.com/AparokshaUI/adwaita-swift/issues/11#issuecomment-2026804538, I don't know whether this helps (in general, I'd recommend installing Linux on the device or in a VM to work with Libadwaita).