Search results for

column

2,048 results found

Post

Replies

Boosts

Views

Activity

Reply to Remove gap between lazyvgrids in vstack
Yes, between those two lazyVgrids. I ended up adding negative padding right after the closing } of the first lazyVgrid and it removed the gap. .padding(.bottom, - 7.5) As far as a screen shot I know how to cut out a section with shift + command + 4. When I select the paper clip below and add image I select the associated png file from my desktop but I do no see it appear in this box. I clearly do not understand how to do it. Below is the section of code that includes the two lazyVgrids and the added padding. Thank you for giving me the heads up on paste and match style. It sure looks a lot cleaner. Regards, Chris LazyVGrid( columns: columns, alignment: .center, spacing: 0) { ForEach(0..<1) {row in ForEach(0..
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21
Reply to NSTableColumn compare selector
Depending on exactly what data you have and what you want to achieve, you can use -localizedStandardCompare:. This sorts just like the Finder would, which typically includes numeric sorting.I would have expected the sort descriptor that you showed, using a comparator block, to work. Are you sure you set it at the right time? How was columnArray populated? Generally, you should find columns by identifier, not index, since tables can reorder columns or have hidden columns.If you can't get that to work for some reason, you can create a category on NSString with a new comparison method. Be sure to put a unique-to-your-project prefix on the method name so it will never collide with an actual method on NSString, now or in the future. Have it just return the result from -compare:options: (or -compare:options:range:locale: with the locale specified, for locale-appropriate sorting), like your comparator block does.
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’15
Reply to Constraints between a UITableView and a UITableViewCell
What do you mean by columns? Do you mean the text in the section headers? If that's what you mean you could make your own custom section headers that positioned their content a certain way and then make your cells do the same. Anyway, I don't think you can create constraints from anything inside a cell to anything outside the cell, at least I don't think it would work.
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’15
Reply to Core Data Error with NSDate
That's a problem of DB Browser, which I have never used. I guess that tool is showing the internal representation of `NSDate`/`Date`.Maybe you can find some settings for showing timestamps or dates.If you want to know how to display the `date` column as `dd/mm/yyyy` in your app, I (or some other reader) can be some help.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’19
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 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