Kris Wong

    Kris Wong

    2 years ago
    it seems like there is no string formatting functionality in stdlib-common. has anyone found that?
    s

    serebit

    2 years ago
    There is no string formatting functionality in stdlib-common, yes. This is because the different platforms have different pattern syntax for formatting iirc
    Kris Wong

    Kris Wong

    2 years ago
    true
    it looks like the K/N compiler transforms a varargs argument into an array in the Obj-C interface anyway
    b

    basher

    2 years ago
    I think Java's String formatting has localization capabilities, which complicates deciding on a common API
    FWIW, we've been using the printf family on iOS when needed