|
Silly question. How can I max out a iPhone or iPad?
I’m interested in seeing how much heat these devices put out when maxxed out, ether by CPU or GPU or both. Any ideas for approaches to take? I’ve already tried location services at highest update inte
I’m interested in seeing how much heat these devices put out when maxxed out, ether by CPU or GPU or both. Any ideas for approaches to take? I’ve already tried location services at highest update inte
|
By
Alex Zavatone
·
|
|
Setting Window Size (macCatalyst)
In my macCatalyst apps, I find it difficult to size the windows to get perfectly-sized screenshots for the AppStore. (I want to use the 2880X1800 size.) To solve this problem, I decided to explicitly
In my macCatalyst apps, I find it difficult to size the windows to get perfectly-sized screenshots for the AppStore. (I want to use the 2880X1800 size.) To solve this problem, I decided to explicitly
|
By
Rick Aurbach
·
|
|
iOS pinned cert updates. Have any of you implemented this?
I had an interesting question the other day about “how do you handle the user who hasn’t updated their app when you are cert pinning and you know the cert in the app is about to expire.” In the past,
I had an interesting question the other day about “how do you handle the user who hasn’t updated their app when you are cert pinning and you know the cert in the app is about to expire.” In the past,
|
By
Alex Zavatone
·
|
|
CoreData Migration for ClouidKit
I am upgrading an existing (CoreData-based) iOS app to support CloudKit synchronization. This doesn't work because the app includes an ORDERED relationship. I need to perform a migration from this ord
I am upgrading an existing (CoreData-based) iOS app to support CloudKit synchronization. This doesn't work because the app includes an ORDERED relationship. I need to perform a migration from this ord
|
By
Rick Aurbach
·
|
|
Interface Builder Strangeness
7 messages
Hi All I have made some changes in a nib file in my application. I deleted a box with some buttons etc in it and moved a few buttons around in a tab view. The nib saves fine - when I open the nib up o
Hi All I have made some changes in a nib file in my application. I deleted a box with some buttons etc in it and moved a few buttons around in a tab view. The nib saves fine - when I open the nib up o
|
By
Peter Hudson
·
|
|
Rust for Cocoa/XCode
3 messages
Hi All, Does anyone know if there is a version of Rust that works with XCode and/or Cocoa? All the Best Dave
Hi All, Does anyone know if there is a version of Rust that works with XCode and/or Cocoa? All the Best Dave
|
By
Dave
·
|
|
Retrieve all available Finder tags on Monterey and later
35 messages
I wonder if anyone has figured out a way to retrieve ALL available Finder tags on Monterey and later? On pre-Monterey systems, it was possible by reading this file: ~/Library/SyncedPreferences/com.app
I wonder if anyone has figured out a way to retrieve ALL available Finder tags on Monterey and later? On pre-Monterey systems, it was possible by reading this file: ~/Library/SyncedPreferences/com.app
|
By
Leo
·
|
|
SwiftUI AttributedString on Watch
3 messages
I have a Watch-App using SwiftUI. let fontSize = 40.0 struct WatchContentView: View { @State var timeAttributedStr = AttributedString("--") let timer = Timer.publish(every: 1, tolerance: 0.1, on: .mai
I have a Watch-App using SwiftUI. let fontSize = 40.0 struct WatchContentView: View { @State var timeAttributedStr = AttributedString("--") let timer = Timer.publish(every: 1, tolerance: 0.1, on: .mai
|
By
Gerriet M. Denkmann
·
|
|
Strange: Rosetta faster than M1
15 messages
I have a simple C command line tool. This takes 16 seconds when I run it in Xcode with “My Mac”. But only 11 seconds when run with “My Mac (Rosetta)” How can this be? I always assumed that emulating I
I have a simple C command line tool. This takes 16 seconds when I run it in Xcode with “My Mac”. But only 11 seconds when run with “My Mac (Rosetta)” How can this be? I always assumed that emulating I
|
By
Gerriet M. Denkmann
·
|
|
Printing and MacCatalyst
My app implements a report-generation function which displays reports in a presented view controller. The view controller includes an Activity Button, which uses UIActivityViewController to present th
My app implements a report-generation function which displays reports in a presented view controller. The view controller includes an Activity Button, which uses UIActivityViewController to present th
|
By
Rick Aurbach
·
|
|
Signin with Apple, the sample iOS Juice app
2 messages
Hi. I’d like to share what I just played with this morning using Apple’s sample code and see if anyone is seeing the same things. The sample app on iOS, Juice, is here and is pretty easy to get up and
Hi. I’d like to share what I just played with this morning using Apple’s sample code and see if anyone is seeing the same things. The sample app on iOS, Juice, is here and is pretty easy to get up and
|
By
Alex Zavatone
·
|
|
library not found: libclang_rt.tsan_osx_dynamic.dylib
3 messages
I have an macOS app, which uses a privileged helper tool: de.mdenkmann.SW-Helper This helper tool crashes with (Console.app): ASI found [dyld] (sensitive) 'Library not loaded: @rpath/libclang_rt.tsan_
I have an macOS app, which uses a privileged helper tool: de.mdenkmann.SW-Helper This helper tool crashes with (Console.app): ASI found [dyld] (sensitive) 'Library not loaded: @rpath/libclang_rt.tsan_
|
By
Gerriet M. Denkmann
·
|
|
I just wanted a refresher - struts versus properties.
2 messages
We’ve all seen so many Swift references about when to use a struct as opposed to a class. But coming from Objective-C like lots of us, does anyone have any resources or guidelines for when and why to
We’ve all seen so many Swift references about when to use a struct as opposed to a class. But coming from Objective-C like lots of us, does anyone have any resources or guidelines for when and why to
|
By
Alex Zavatone
·
|
|
Clicking in SwiftUI - how to get size of ZStack
I have (macOS 12.3.1): struct ContentView: View { var body: some View { GeometryReader { metrics in VStack { ... some HStacks ... ZStack // Curves { ... several Shapes with Path } .frame( maxHeight: m
I have (macOS 12.3.1): struct ContentView: View { var body: some View { GeometryReader { metrics in VStack { ... some HStacks ... ZStack // Curves { ... several Shapes with Path } .frame( maxHeight: m
|
By
Gerriet M. Denkmann
·
|
|
iOS: selectable but not editable text
10 messages
NSTextField can set both isSelectable (true) and isEditable (false). So far so good. But how to do this in iOS? I have a textField which is output only (editing makes no sense at all) but the user mig
NSTextField can set both isSelectable (true) and isEditable (false). So far so good. But how to do this in iOS? I have a textField which is output only (editing makes no sense at all) but the user mig
|
By
Gerriet M. Denkmann
·
|
|
Catalyst UIButton Title
iOS 15.4, macOS 12.3 When UserInterfaceIdiom = pad then UiButton.titleLabel is UILabel with UILabel.text = button title. Ok. But with UserInterfaceIdiom = mac the UiButton.titleLabel is a UIButtonLabe
iOS 15.4, macOS 12.3 When UserInterfaceIdiom = pad then UiButton.titleLabel is UILabel with UILabel.text = button title. Ok. But with UserInterfaceIdiom = mac the UiButton.titleLabel is a UIButtonLabe
|
By
Gerriet M. Denkmann
·
|
|
how to set allowedClasses for UIStateRestorationKeyedUnarchiver
3 messages
class ViewController: UIViewController { override func decodeRestorableState(with coder: NSCoder) { NSLog("\(#function) will super; coder \(coder); allowedClasses \(String(describing: coder.allowedCla
class ViewController: UIViewController { override func decodeRestorableState(with coder: NSCoder) { NSLog("\(#function) will super; coder \(coder); allowedClasses \(String(describing: coder.allowedCla
|
By
Gerriet M. Denkmann
·
|
|
TableView behavior in a SplitViewController
Xcode 13.2.1, Simulator running iOS15.2 with 13.0 as a deployment target, UIKit. I have a pretty standard configuration running an iPad in Simulator — SplitView master contains a TableView, secondary
Xcode 13.2.1, Simulator running iOS15.2 with 13.0 as a deployment target, UIKit. I have a pretty standard configuration running an iPad in Simulator — SplitView master contains a TableView, secondary
|
By
Rick Aurbach
·
|
|
Verbose warning splurged to the log with Secure Coding (dearchiving) -- can they be serious?
9 messages
Hi all, I was working on some demo code investigating the use of secure archiving, since I guess we all have to adopt that if we can. I have a simple container class (a linked list) that I decided to
Hi all, I was working on some demo code investigating the use of secure archiving, since I guess we all have to adopt that if we can. I have a simple container class (a linked list) that I decided to
|
By
Graham Cox
·
|
|
UICollectionView with DiffableDataSource
Xcode 13.1, iOS 25 SDK I have a UICollectionView (with a custom UICollectionViewLayout) which I am updating with a DiffableDataSource. This CollectionView displays a particular data object (with a giv
Xcode 13.1, iOS 25 SDK I have a UICollectionView (with a custom UICollectionViewLayout) which I am updating with a DiffableDataSource. This CollectionView displays a particular data object (with a giv
|
By
Rick Aurbach
·
|