I'm writing a function that takes in an object (A), compares it with another object (B) and creates a new object (C). Both A and B objects are symmetrical (same
I have an ObservableObject class and a SwiftUI view. When a button is tapped, I create a Task and call populate (an async function) from within it. I thought th
Imagine I've got a (contrived) state that looks something like: class UserState { final String? name; final String? address; } The source for name comes fr
I would like the bot to join a voice channel when someone joins and then play a sound file. So far I've gotten the bot to join the voice channel but it just doe
my json return this { "status":"false", "subjects": [ { "id":1, "subjectName":"English" }, { "id":3, "subjectName":"Mathemetics" } ] } here is the swift code s
Let's say I have a function template<typename retScalar, typename... scalars> retScalar func_scalar(scalars... items); declared somewhere. I now want a
I'm trying to build C++ logging integration for Logz.IO which uses named parameters for string interpolation and I'd like to leverage fmt for argument parsing a