Search results for

column

2,071 results found

Post

Replies

Boosts

Views

Activity

Reply to errSecInternalComponent building locally with Xcode
Do you think this means I didn't correctly import the key initially? It’s possible, but I’m leaning towards the theory that something got borked in the interim. Or that the key was revoked and I need to check with the account holder? I doubt it was revoked. Revoking Developer ID certificates is tricky and, even if were revoked, Keychain Access wouldn’t get that error trying to export it. I suspect that your keychain is just broken in some way. However, I’ve one more test to run before I suggest remedial action: In Keychain Access, switch to My Certificates and find your Developer ID identity. Click the chevron to disclose the private key. Look at the Keychain column for both items. Are both items in the same keychain? Is it your login keychain? Or something else? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General Tags:
Oct ’23
NSToolbar Draws On Top of "Full Screen" Video Played in WKWebView in Mac Catalyst app
I have a Mac Catalyst app configured like so: The root view controller on the window is a tripe split UISplitViewController. The secondary view controller in the Split View controller is a view controller that uses WKWebView. Load a website in the WKWebview that has a video. Expand the video to “Full screen” (on Mac Catalyst this is only “Full window” because the window does not enter full screen like AppKit apps do). The NSToolbar overlaps the “Full screen video.” On a triple Split View controller only the portions of the toolbar in the secondary and supplementary columns show through (the video actually covers the toolbar area in the “primary” column). The expected results: -For the video to cover the entire window including the NSToolbar. Actual results: The NSToolbar draw on top of the video. -- Anyone know of a workaround? I filed FB13229032
0
0
637
Oct ’23
Reply to Xcode 14.3 - Multiple commands produce swiftsourceinfo
Here's how I fixed it... Select your Extension target and go to Build Settings Search for module and look for Packaging -> Product Module Name. You'll probably see that the Resolved column is showing the same name as your main target. Type a unique name in the middle column (the column is titled WidgetsExtension or whatever your extension target is called) You should see that the Resolved column now shows the unique name you entered. It should hopefully build now.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23
Safari 17.0 does not support css-function as Safari 16.x
I’m talking about CSS-functions: https://w3c.github.io/csswg-drafts/css-values/#round-func) .example { --result: round(up, var(--number), 1); } In Safari 16.x css round didn’t work perfect.round(up, x, 1) did its job, if x wasn’t a “natural” number (all digits after the fraction mark 0). If it was, it resulted the next one! Now Safari 17.0 gives 0 for all numbers! !Update! Sorry, Safari 17 does round! But: not in code like that: :root { --result: round(up, var(--number), 1); Had a project, where this was used to define the number of columns and rows I wanted for an (mostly) quadratic layout. What’s working instead: grid-template-columns: repeat(round(up, sort(var(--items), 1), minimal(…); the former css used the :root-variant (grid-template-columns: repeat(var(--result) …). !Update 2! After some experiments I found: Safari 17 doesn’t like :root any more! (https://www.w3.org/TR/selectors-3/#root-pseudo) And: Safari doesn’t calc correct: `round(up,1,1)˚ is 2 — says Apple. YOU MUST NOT
1
0
1.7k
Oct ’23
Xcode 15 crashes wwdc2022-10054 SwiftUI Cookbook for Navigation crashes
Hi. If I use Xcode 15 to build wwdc2022-10054 (The SwiftUI Cookbook for Navigation sample project), it crashes when, on an iPad, you: Choose Three Column Navigation in the app (so you need to run this on an iPad or iPad simulator) Select category Dessert Select recipe Tiramisu** Select category Pancake Select any pancake recipe **selecting anything from Kanom Thong Ek or beyond will cause the crash. It seems to be a problem with selecting an item (recipe) when the previous recipe you selected is at least one position further down than the length of the current category recipe list. It's like SwiftUI is trying to deselect a previous list item or something, but the list is now shorter so that item doesn't exist anymore. I'm not sure if it crashed when built with Xcode 14, but it certainly does with Xcode 15.
0
0
500
Oct ’23
Table TableColumn Metal failed to load render pipeline Failed to find reflection in binary archives
I created a new project in xCode 15 on MacOS 14. This project only has a View with a Table that has two columns. When I call the view I get the following error several times: Metal failed to load render pipeline: pipeline=PL008BsovXmw_TprcA3Xhf sdk=23A322 Failed to find reflection in binary archives Here is the code: struct Freunde: Identifiable { var id: UUID = UUID() var firstName: String = var lastName: String = init(firstName: String, lastName: String) { self.firstName = firstName self.lastName = lastName } } struct ContentView: View { @State var sortOrder = [KeyPathComparator(Freunde.firstName)] @State public var selectedItems: Set = [] @State var myList: [Freunde] = [ Freunde(firstName: Klaus, lastName: Kirchhoff), Freunde(firstName: Patrik, lastName: Grot), Freunde(firstName: Johannes, lastName: Gottfried), Freunde(firstName: Daniel, lastName: Schaedla) ] var body: some View { VStack { Table(myList, selection: $selectedItems, sortOrder: $sortOrder) { TableColumn(Vorname, value: .firstName) T
7
0
2k
Sep ’23
Grid not updating when array is updated
I'm creating a program where every time a user clicks a button, which is in the MyPond view, a new fish is added to an array, which appears as a FishView in a grid in the Journal View. MyPond, where the user clicks a button to generate a new fish: struct MyPond: View { @State var newFish = Fish() var body: some View { VStack { Button(action: { newFish = Fish() Journal().addFish(fish: newFish) } }) { Text(Click here to fish) .padding() } } } } The Fish Object: struct Fish: Identifiable { var id = UUID() var name: String = fishNameGenerated.randomElement()! } Journal, which is currently not displaying any fishViews: class Fishies: ObservableObject { @State var array:[Fish] = [] } struct Journal: View { @ObservedObject var fishArray = Fishies() public func addFish(fish: Fish) { self.fishArray.array.append(fish) for fishy in fishArray.array { print(fishy.name) } // currently not printing anything } let columns = [GridItem(.flexible(), spacing: 10), GridItem(.flexible(), spacing: 10), GridItem(.flexible()
0
0
344
Sep ’23
iMessage stickers one size?
I developed a couple of iMessage sticker apps, one of which has medium size stickers and the other has large stickers. Since the iOS 17 update all of the stickers are showing as small size when sent in a message. I don't see a setting in Xcode for 1-column, 2-column, 3-column anymore. How can I get my stickers to show at the correct size again when sending/receiving in iMessage? Edited to add: I have discovered that although the stickers show as small when I send them, they are still receiving in the correct size. I still don‘t see the column setting in Xcode, so it would be useful to know how to set the desired sticker size. (perhaps it is now automatic based on image size?)
0
0
1.6k
Sep ’23
Reply to HDR Image capture/conversion
I'm also investigating Gain Map's, and in addition to the documentation you are referring to, I also found this PDF from Adobe: https://helpx.adobe.com/content/dam/help/en/camera-raw/using/gain-map/jcr_content/root/content/flex/items/position/position-par/table/row-3u03dx0-column-4a63daf/download_section/download-1/Gain_Map_1_0d12.pdf In here here you will find pseudocode for both encoding and decoding. However, the problem is that Adobe's encoding calculates some values, that you are supposed to pass as metadata, and use in the decoding. At this point I'm unsure if Apple supports Adobe decoding using this metadata or only their own Maps and decoding? Also for both Apple and Adobe Gain Maps the real problem is that we have no way to write Gain Maps 100% using Apple API's. I found this discussion: https://gist.github.com/kiding/fa4876ab4ddc797e3f18c71b3c2eeb3a They suggest the usage of a non-public CIImageOption called: kCIImageRepresentationHDRGainMapImage. This brings us half the way, however we sti
Topic: Media Technologies SubTopic: General Tags:
Sep ’23
Trouble with new XCode 15 Preview Macro for Widgets
I'm trying to get rid of the auto-padding added recently by iOS 17, and I found out that you can use the WidgetConfigurations properly with the new Preview Macro, but I'm having trouble getting it to work, and some help would be much appreciated. Here's my code: struct ChartEntry: TimelineEntry { let date: Date let configuration: ConfigurationIntent ... static func getSampleEntry() -> ChartEntry { let sample = ChartEntry(date: Date(), configuration: WidgetUtils.getSampleConfiguration()) return sample } } struct PreviewTimelineProvider: TimelineProvider { typealias Entry = ChartEntry func placeholder(in context: Context) -> ChartEntry { ChartEntry.getSampleEntry() } func getSnapshot(in context: Context, completion: @escaping (ChartEntry) -> Void) { completion(ChartEntry.getSampleEntry()) } func getTimeline(in context: Context, completion: @escaping (Timeline) -> Void) { var entries: [ChartEntry] = [] let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdd
2
0
2.5k
Sep ’23
Installing PyQt5 on `arm64` stopped working all of a sudden (some `sip` issue)
Hey everyone, I have an Python script that uses PyQt5. Unfortunately there is no wheel for pyqt5 to install it with pip so you have to build from source, if you are on arm64. This is how I successfully did it till today: It requires qmake, which I installed via brew (brew install qt5). After adding this to my path I can execute it (which qmake shows the correct path). Then I install pyqt5 via pip with this command: pip install pyqt5 --config-settings --confirm-license= --verbose (pyqt5 asks for license agreement, but pip install is not interactive, hence the long command). As I said, till last week I could do this successfully. When I tried this today I got the error: The dbus-python package does not seem to be installed. These bindings will be built: Qt, pylupdate, pyrcc. Generating the Qt bindings... Generating the pylupdate bindings... _in_process.py: /private/var/folders/ws/vdb_nvyj35g9ck_srpvqpccm0000gn/T/pip-install-jr3725ba/pyqt5_7d0f0bcc5a7241bd8afa726e0fa5e8d1/sip/QtCore/qprocess.sip: line 99: column
5
0
3.5k
Sep ’23
NavigationSplitView and Lists in Child views
I'm trying to make a three column Split View where the sidebar determines the type of content, so I was hoping to have separate views drive the Lists for each content type, but I'm getting an issue where the selections get out of sync / don't highlight. For simplicity, I tested using a sidebar/detail Split View, as follows: struct StringItem : Identifiable, Hashable { let id = UUID() let item : String } struct SimpleSplitView: View { @State private var selString : StringItem? let content = [StringItem(item: Here), StringItem(item: There), StringItem(item: Everywhere) ] var body: some View { NavigationSplitView { // This List(content, selection: $selString) { c in NavigationLink(value: c) { Text(c.item) } } // or this ContentStringX(selection: $selString) } detail: { if let s = selString { DetailStringX(item: s) } else { Text(Empty) } } } } struct ContentStringX: View { let content = [StringItem(item: Here), StringItem(item: There), StringItem(item: Everywhere) ] @Binding var selection : StringItem? v
3
0
824
Sep ’23