Search results for

column

2,052 results found

Post

Replies

Boosts

Views

Activity

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
AppStoreConnect - Subscriber Report: refund issue
Hi everyone! Has anyone ever seen in their subscriber reports rows with the refund column at Yes and a positive value in the customer price column? Usually, what I have in this case is, a row at date D with refund column at Yes and a negative value in the customer price column and then in D+N a new row with refund column at Yes and a positive value in the customer price column, as if the refund was canceled. I don't understand what that means, so if anyone knows how to explain it I'm interested. -> Official documentation: https://developer.apple.com/help/app-store-connect/reference/subscriber-report Thanks, Marion
1
0
991
Apr ’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
773
Sep ’23
Reply to Error when loading (some) Audio Units on macOS 12
Looks like you’re making great progress here. but I have no prove that this version is sandboxed There are two ways to do that: Run the app, run Activity Monitor, find the app in the process list, and check the Sandbox column. You might need to control click on the list headers to enable that column. Check for the entitlement with codesign. I don’t have Logic installed, but here’s an example with GarageBand: % codesign -d --entitlements - /Applications/GarageBand.app … [Dict] … [Key] com.apple.security.app-sandbox [Value] [Bool] true … Having said that, working with GarageBand seems like the acid test to me. If an audio unit fails there, it’s worth reporting that as a bug against the audio unit. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’23
Reply to Custom Initializer Binding Problems
@Claude31 thank you for taking time to help me out, I really appreciate it. You're absolutely right, my code was much more complicated than it needed to be; having the columns in the original view makes much more sense. I'm new to coding, so sorry for the confusing and messy code haha. Thanks again for the help!
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’23
Custom Initializer Binding Problems
I'm trying to add sodas from ListView to ContentView and have that data passed on and update the view in AisleView. I'm having a lot of trouble getting my columnOne and columnTwo properties to update the AisleView correctly. I know the data is being passed to AisleView, but it isn't updating the actual view. I believe the issue is when I'm trying to initialize my columns. Any help would be appreciated. Thank you! class Inventory { var inventory: [Product] = [ Product(name: Coke, price: 2.99, aisle: 1, location: 10), Product(name: Pepsi, price: 3.99, aisle: 1, location: 6), Product(name: Dr. Pepper, price: 1.99, aisle: 2, location: 8), Product(name: Pibb, price: 1.50, aisle: 2, location: 1) ] } struct ListView: View { @State var base = Inventory() @State var sodas: [Product] = [] var body: some View { VStack { ContentView(sodas: $sodas) List { ForEach(base.inventory) { product in HStack { Text(product.name) Spacer() Text((product.price, specifier: %.2f)) Button { sodas.append(product) } label: { Image
5
0
563
Sep ’23
Reply to ToolbarItem has a bug in XCode 15 beta 8.
Please file a bug report at https://feedbackassistant.apple.com with this and post the feedback number here! In the meantime, try using a NavigationStack in the detail column. For example: } detail: { NavigationStack { ZStack { Text(Select : (selection ?? -1)) } .toolbar { ToolbarItem(placement: .topBarTrailing){ Button { } label: { Text(ToolbarItem) } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to Xcode add header search path
The best way in Xcode to do this is: (using your example) Open Preferences Click Locations then the Custom Paths tab Click the + sign at the bottom left enter gst as the Name (no quotes) enter GST Headers as the Display Name (no quotes) enter the path name* to your gst folder as the Path In the Finder, right-click / option click / two-finger click the GST folder, then hold the option and you will see Copy change to Copy GST as Pathname. Do that and use paste it in for step 6 Ok no you have the first part. You created an Xcode system variable. The next part is to reference the Xcode variable in your project build settings by: Open the project Click on the folder button under the window close button Click on the blue project button/icon under the folder button In the column that appears to the right, click on another blue project button/icon In the row of tabs/buttons slightly higher and to the right, click on the Build Settings button/tab in the Filter text entry slightly lower than the tabs to the fa
Sep ’23
Xcode Extension accessing Current File and Xcode UI integration
For things like linters, formatting tools, and more: We need a good way to inject into the Xcode UI. Can I create a Warning or Error in the buffer/Issue Navigator? Is there an example of how to mark lines/columns with a message/error/warning? Get the current file path or URL object? How can I place a view onto the Xcode source canvas? Like a popover or interactive window.
1
0
805
Aug ’23
Reply to TestFlight testers status is blank
Yesterday, half of my testers showed status of - and had lost the count of sessions. Now, that External Testers group has completely disappeared. In fact there is no longer an External Testers section in the left column of the screen. However I do have All Testers under General Information where I can see everyone, with the correct status and number of sessions etc. Possibly related: initially I didn't have External Testers. A random stack-overflow post told me that External Testers only appears once you have created an Internal Testers group. So I created an empty internal testers group, then created an external testers group, then removed the internal group. I reported this as bug FB12769342, but Apple say it is the intended behaviour (*). That was all about three weeks ago. It was OK until today; now I can't see External Testers again. Maybe I shouldn't have deleted the empty internal testers group. Do others whose status is showing - find that the correct info is shown in All Testers? (*) I'm a o
Aug ’23
Reply to UISplitViewController displays button to change the display mode even when presentsWithGesture = false
This is kinda an edge case? Might be considered a bug. This is specific logic to cover a case where there is a back action and a split view controller which is a fairly rare configuration. We likely forgot about this specific detail when accounting for this configuration. The goal is to ensure that developers don't accidentally prevent access to the primary column of the split view controller, since normally the back action would handle that.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’23