grimlessbbs
grimlessbbs
TSDThe Swift Den
Created by grimlessbbs on 7/24/2023 in #swift-development
Clipped and small List in Sidebar
I cannot confirm or deny that this worked...
9 replies
TSDThe Swift Den
Created by grimlessbbs on 7/24/2023 in #swift-development
Clipped and small List in Sidebar
Uuuuhhh thanks for the tip, but I deleted all of that code and moved back to Storyboards (for my own reasons)....
9 replies
TSDThe Swift Den
Created by grimlessbbs on 7/24/2023 in #swift-development
Clipped and small List in Sidebar
Here is the running app
9 replies
TSDThe Swift Den
Created by grimlessbbs on 7/24/2023 in #swift-development
Clipped and small List in Sidebar
No description
9 replies
TSDThe Swift Den
Created by Lefebvre on 7/16/2023 in #swift-development
Custom Label and OOP
Yes? No?
7 replies
TSDThe Swift Den
Created by Lefebvre on 7/16/2023 in #swift-development
Custom Label and OOP
let myLabel = UILabel(frame: ..., text: "fooo", font: UIFont.preferredFont(fontTextStyle: .headline), ...)
let myLabel = UILabel(frame: ..., text: "fooo", font: UIFont.preferredFont(fontTextStyle: .headline), ...)
7 replies
TSDThe Swift Den
Created by Lefebvre on 7/16/2023 in #swift-development
Custom Label and OOP
public extension UILabel {
convenience init(frame: CGRect, text: String?, font: ...) {
self.init(frame: frame)
self.text = text
self.font = font
...
}
}
public extension UILabel {
convenience init(frame: CGRect, text: String?, font: ...) {
self.init(frame: frame)
self.text = text
self.font = font
...
}
}
7 replies
TSDThe Swift Den
Created by Lefebvre on 7/16/2023 in #swift-development
Custom Label and OOP
Can you rephrase this question, please? I don't understand what you are trying to accomplish
7 replies
TSDThe Swift Den
Created by grimlessbbs on 4/20/2023 in #swift-development
Swift on Android failing to link during runtime `System.load`
It turns out, for whatever reason, that the Unicode libraries were not being loaded automatically anymore (I have no idea why). So, to fix this, I have to manually load them using
System.loadLibrary("icuuc")
System.loadLibrary("icui18n")
System.loadLibrary("icuuc")
System.loadLibrary("icui18n")
BEFORE loading my main library System.load("SimpleSwaps")
2 replies
TSDThe Swift Den
Created by grimlessbbs on 4/20/2023 in #swift-development
Metal `setFragmentBytes` not uploading data
After some more investigation: I'm now trying to upload 8 points using a SIMD16<Float>, and that appears to be working. I think it has something to do with using the array; maybe the scoping issue/address resolution for the upload is the issue for things like arrays?
2 replies