Search results for

column

2,071 results found

Post

Replies

Boosts

Views

Activity

Reply to NavigationStack and NavigationSplitView Runtime warnings
Xcode 14.0 beta 5 (14A5294e) seem to have fixed my issues with NavigationSplitView Fixed - Warnings Fixed - Selection of cell not happening (2nd time) in compact mode (For 3 column layout) - so no need to set the selected state of the middle column to nil onDisappear Hopefully it has fixed your issues as well, if not please file a feedback
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to vLookup In App?
If you look at Quinn's example:let sheet: [[Int]] = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ]and compare it to a spreadsheet, it would look like this: A B C 1 1 2 3 2 4 5 6 3 7 8 9 If we add a 4th number to each row, the spreadsheet would look like this: A B C D 1 1 2 3 95 2 4 5 6 96 3 7 8 9 97which would correspond to:let sheet: [[Int]] = [ [1, 2, 3, 95], [4, 5, 6, 96], [7, 8, 9, 97], ]Columns are vertical, but there are no real columns as in a spreadsheet. Instead, every row contains all numbers in the row. It is still easy to get a certain cell (or element, as we call it), since you first get the row you want and then get the column you want from that.There is no limit per row of code, but the second column of the first row will always be the same, even if you add numbers at the end of the row.One thing to remember is that in Swift (and most programming languages), rows and columns start on 0, while they start on 1 in most spreadsheets. Is this what confuses you?
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’16
Reply to Correct JSON format for a Tableview
I have been given an api which outputs the followingYou should better add how you have output that JSON, which prevents some sort of easy misunderstanding.I assume it is the whole response from your API.And with pretty-printed: { statusCode: 200, headers: { Access-Control-Allow-Origin: * }, body: [ { ID: 29, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Not Listed, ColumnE: null, ColumnF: null, lat: null, lon: null }, { ID: 22, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Canberra, ColumnE: ACT, ColumnF: null, lat: null, lon: null }, { ID: 24, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Bondi Junction, ColumnE: NSW, ColumnF: null, lat: null, lon: null }, { ID: 25, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Broadway, ColumnE: NSW, ColumnF: null, lat: null, lon: null }, { ID: 26, ColumnAID: 12, ColumnB: Blah, ColumnC: , ColumnD: Castle Hill, ColumnE: NSW, ColumnF: null, lat: null, lon: null } ] } Outlined:{ statusCode: 200, headers: {...} body:
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’19
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 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