Search results for

column

2,071 results found

Post

Replies

Boosts

Views

Activity

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 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 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 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 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
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 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 iCloud for Mac is stuck on "waiting to upload"
Certainly this iCloud upload being stuck bug is frustrating. My method to resolve it is as follows: Launch Activity Monitor, click on the CPU tab at the top, look for the bird process in the Process Name column, select it, and stop it (kill it) by clicking on the Stop icon on the tool bar (the one with an X inside a circle). You will noticed that the process id number listed in the PID column changes after a couple of seconds, which indicates that the bird process has been restarted by the system (The bird process is responsible of the iCloud background file synchronization). Most of the times this solution will work. If stopping the bird process did not solve the iCloud synching, then perform a full shutdown/restart of your computer. This is the ultimate fix that has always worked for me thus far.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to Network Extension capability missing in dev portal
You definitely need the Networks Extensions capability to create… well… network extensions. If that’s not showing up under the Capabilities tab in Developer > Account > Certificates, Identifiers & Profiles > Identifiers > [your app ID] then you won’t be able to make progress on this task. Is the lack of this capability on the portal due to the education licence? Possibly. My go-to reference for this stuff is Developer Account Help > Reference > Supported capabilities (iOS). It doesn’t have a column for education accounts, so it’s not clear whether they fall under ADP (paid developers) or Apple Development (unpaid developer using a Personal Team). If you look through the capabilities that you do have access to, which column does it best match? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Sep ’22