Search results for

column

2,079 results found

Post

Replies

Boosts

Views

Activity

Reply to Issue with Keychain sharing in Mac
The creation part works perfectly fine and I can see the key … in the keychain. You mean in Keychain Access, right? If so, where in Keychain Access? What does the Keychain column show for this item? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
Reply to Release Notes for SwiftUI Tutorials
There's a typo in Handling User Input, Create a Favorite Button for Each Landmark step 3. It says In LandmarList.swift, and turn on the live preview. I believe and wasn't meant to be there.The video for this step isn't visible when the browser is narrow and the page goes into single column view.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’19
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
Reply to Print something on the screen
I've created a text and I would like that the text will change on the press of the button. For example: there's a Text() witch now has written on it text and when I press the blue button (you can see it in my code), I want text to change to number 5 Thanks for showing your code. You just need to declare an @State variable to hold the content of the Text. (Defining a struct NumberView makes your code too complex, better remove it.) import SwiftUI //<- import PlaygroundSupport let columns: [GridItem] = [GridItem(.flexible()), GridItem(.flexible()), GridItem(.flexible())] struct ContentView: View { @State var outputText: String = text //<- var body: some View { GeometryReader { geometry in VStack { Spacer(minLength: 290) Text(outputText) //<- .font(.largeTitle) ZStack { LazyVGrid(columns: columns) { Group { Button { outputText = (5) //<- } label: { ZStack { Circle() .frame(width: 90, height: 90) .foregroundColor(Color(.systemBlue)) .opacity(0.5) //.position(x: geometry.size
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to reading ldoor matrix and incomplete factorization?
I am more than dumb ... but may I be excused for being such an amateur? Not! Haha. So, I thought I could use the Ldoor matrix directly after stripping off the headers. That part I got right. But I failed to realize in order to use the SparseConvertFromCoordinate I was required to adjust the coordinate format row and column number from 1, 1 to 0, 0 , and, of course, for all subsequent coordinate format rows and columns. I updated the original code with this part of code which reduces coordinate numbers by 1. And everything ran! Well, at least I got some answers and exit code 0. // assign forced unwrapping for casting to appropriate arrays for index in 0...rowcountm1 { rows32[index] = Int32(rows![index] - 1 ) cols32[index] = Int32(cols![index] - 1 ) datsdouble[index] = Double(dats![index]) }
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Reply to distribution OTA
Enterprise distribution to -employees- OTA via your company server is accomplished via the basics laid out in this thread:- https://forums.developer.apple.com/thread/50342...or via an MDM solution. For details, go to Business Supportand in the left column, click Mobile Device Management.
Nov ’18
Reply to is it possible to use gestures with SwiftUI Table?
Hey @MobileTen, Thanks for responding! I appreciate the help. I should have made myself clearer though in that I want to be able to double click anywhere in the row and not just the text in a certain column. Or at least anywhere in the cell containing the text. Any other ideas on how I could possible make this work? Thanks again!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’22
Reply to Search Ads - Track downloads?
That's what the Conversions column is for.CPA is cost-per-acquisition, so will give you an idea of how much you're paying for a conversion.In general you will see so many impressions (ads shown to a user), only a percentage of these will result in a tap, and only a percentage of these will finally result in a conversion. It's like a funnel.
Topic: App & System Services SubTopic: General Tags:
Oct ’16
Reply to API availability meaning
I've checked the API on Big Sur 11.3 and Monterey beta within virtual machines. Looks like the API works fine, although there is a bug with NoteOn messages on Monterey. So I really don't understand what API Availability column means since API available beyond version limit.
Topic: App & System Services SubTopic: General Tags:
Jul ’21
Reply to Dynamic e random matrix
Claude31, Exactly. In the application, the user will answer some questions and according to their answer, a certain column X row will be filled with information. Like this: The cell (col X row) to be filled depends on the user's response The content will be text, a string. You can restart the app at any time, when previously used cells must be cleaned.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’24
Reply to Populating a Table translate to Swift ?
OK, this has gone completely in the wrong direction. Let's go back to your original issue. Well, issues, plural.The first thing: If you look at this documentation page:https://developer.apple.com/documentation/appkit/nstableview/1535482-makeviewwithidentifieryou'll see that the method gets a new or existing cell. There is absolutely no need to create your own cell manually if makeViewWithIdentifier fails. The older documentation that you linked to is essentially wrong on this point.Instead, if makeViewWithIdentifier returns nil, your code should assert, because this is a programmer error — you haven't configured something correctly in IB.The second thing is that the table cell is almost always a subclass of NSTableCellView. NSTextField is not. When you create a table view in IB, it preconfigures the column to contain a NSTableCellView with a NSTextField as a subview, connected to the parent NSTableCellView's textField outlet. You need to return a NSTableCellView, not a NSTextField.The third thing is
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’19
Reply to How to take screenshots? Video?
You can use the Devices panel in Xcode to create screenshots. Just select the device in the left column and click the button to take a snapshot just as you would with an iOS device.If you are running El Capitan, you can use Quicktime Player to take screen recordings as you would with an iOS device.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15