Search results for

column

2,050 results found

Post

Replies

Boosts

Views

Activity

Reply to Missing argument for parameter 'images' in call
Thanks so much, your first works great for me... But, how can I do the next step ? When I tapped on Landschaften that will be shows me Landschaften... That's nice. How can I do it for Maritimes? When I Tapped on Maritimes then I will that shows me Maritimes images... Can I drop more NavigationLinks in ContentView ? Have many Thanks ;) import SwiftUI struct ContentView: View { var columns = [GridItem(.adaptive(minimum: 160), spacing: 5)] var body: some View { NavigationView { ScrollView { LazyVGrid(columns: columns) { ForEach(ImagesList, id: .id) { images in NavigationLink { LandView() } label: { ImageCard(images: images) } } } .padding(10) } .navigationBarTitle(Text(Übersicht)) } .navigationViewStyle(StackNavigationViewStyle()) } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’22
Reply to Error building instrumentspackage with latest Xcode 13.3
Thank you for following up! For this specific problem, I'm wondering whether you need this column. For an interval schema like this (I'm assuming you are using an os-signpost-interval-schema here?), there is already a duration column that Instruments will generate for you. It will contain the duration in nanoseconds, but upon display in the UI, Instruments will format it into a reasonable unit (so e.g. 1,700,000 would be displays as 1.7ms). So maybe you can use the duration column as a workaround? In any case, if this bug is still happening to you, can you please file a bug report via Feedback Assistant? Please make sure to include an .instrpkg file with your schema + instrument definition that compiles, so we can check whether the problem maybe resides in a different part of the code.
Jun ’22
Reply to How to Enable Finder Comments Tab Programmatically
OK, just for future reference, we call that the Comments column in Finder’s list view. There’s certainly no API to manipulate Finder views. On the AppleScript front, it seems like Finder has infrastructure to support this. For example: tell application Finder set visible of column comment column of list view options of Finder window 1 to true end tell Unfortunately I can’t get it to work. When I run the above on my machine (running 12.3.1) it doesn’t error but it also doesn’t do anything )-: Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Reply to I need the Python code for connecting to my Apple appstore sales reports
DEĞERLİ: tommygod size vereceğim kodu kullanabilirsiniz if response.status_code == 200: try: # Yanıtın içeriğini gziple çözme buffer = io.BytesIO(response.content) with gzip.GzipFile(fileobj=buffer) as f: content = f.read().decode('utf-8') # İçeriği DataFrame'e dönüştürme data = [line.split('t') for line in content.split('n') if line] df = pd.DataFrame(data[1:], columns=data[0]) return df except Exception as e: return pd.DataFrame(columns=['Error'], data=[f'İşlem başarısız oldu. Hata: {e}']) else: return pd.DataFrame(columns=['Error'], data=[f'Beklenmeyen durum kodu alındı {response.status_code}: {response.text}']) apple turkiye gelişdirici fırat averbek saygılarımla
Aug ’23
Reply to Make method less repetative
I'm sorry, maybe I'm being totally dense, but what Wallace wrote would be no different than if I had just done this and not returned a new function:func theMethodToCallOverAndOver(column: Int, row: Int) -> (column: Int, row: Int) { let newCol = -2 * column switch column { case 0: return (newCol, row / 2) case 1 where numberOfPlayers == 8: return (newCol, row ^ 1) case 1 where numberOfPlayers == 16: return (newCol, 3 - row) case 1 where numberOfPlayers == 32: return (newCol, (row + 4) % 8) case 2 where numberOfPlayers == 16: return (newCol, row ^ 1) case 2 where numberOfPlayers == 32: return (newCol, row) case 3: return (newCol, row ^ 1) default: return (newCol, 0) } }That means every time I call the method, I'm checking the value of numberOfPlayers.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to Sample code for MPSMatrixDecompositionCholesky?
I would check the value of rowBytes(fromColumns:dataType). You're currently assuming it is columns*sizeof(float) but the docs for MPSMatrixDescriptor say: For performance considerations, the optimal row stride may not necessarily be equal to the number of columns in the matrix. The rowBytes(fromColumns:dataType:) method may be used to help you determine this value.If this row stride is different between the different GPUs you've tried, that would explain the error.
Topic: Graphics & Games SubTopic: General Tags:
Mar ’18
Reply to Crashing when going from Compact to Two Over Secondary in UISplitViewController on iPadOS 17
This is something I've been struggling with for some time. The hierarchy of my app makes this harder to diagnose. But like you, it was working fine for years. In my case, this app supported three column-layouts prior to the release of column-based split views. In order to do so, we have a concept of a NestedSplitViewController -- which is a UIViewController that owns a UISplitView. We're running into the same issue with Xcode 15 – and can't seem to pin it down.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’24
Reply to Generate Provisioning Profile that includes MusicKit Entitlements
MusicKit isn’t gated by an entitlement. That’s why, when you enable it on an App ID, you enable it in the App Services column rather than the Capabilities column. Enabling it there grants that App ID access to that service without needing your app to be signed with any entitlement. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
May ’25