Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Swift

0 votes
850 views
1 answer
    How can I use custom Swipe Actions in SwiftUI? I tried to use the UIKit Framework to get these working in SwiftUI. ... perform: delete) } } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
598 views
1 answer
    How does one access bytes (or Int16's, floats, etc.) out of memory pointed to by an UnsafeMutableRawPointer (new in ... C API (Core Audio, etc.) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
640 views
1 answer
    I've got a simple view: var body: some View { NavigationView { ScrollView { VStack { ForEach(0..<2) { _ in ... it? Xcode 12.0.1, Swift 5 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
659 views
1 answer
    Is it possible to Increase the size of the indicator in UIPageViewController? I have this: And my requirement is this: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
725 views
1 answer
    I added custom font to a framework. I followed all the steps, but it doesn't work. I am able to set ... show this font on the simulator/device. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
629 views
1 answer
    I am trying to follow the instructions on Firebase Docs to upload missing required dSYMs. However I am stuck on ... how to resolve this issue? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
586 views
1 answer
    I'm looking to create a shop in my game (In SpriteKit) with buttons and images, but I need the items to be ... how I can do this in SpriteKit? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
438 views
1 answer
    I developed local Notifications in iOS 10. It is working perfectly. But now how should i code local notifications and ... : nil) } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
468 views
1 answer
    I have several apps that were written in Swift 2.2, compiled with Xcode 7.3 and is live on the App Store. ... Xcode 8 with some "new" settings? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    Having updated Swift + ObjC project to Xcode 8 (Swift 2.3) I found 50% or more of the time Xcode does ... . Has anyone else encountered this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    Have been struggling with this for a while, and can never seem to get a direct answer. Any help is appreciated! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    ?? 23 June 2020 Edit: From Xcode 12, both switch and if let statements will be supported in the ViewBuilder ... I can replicate this behaviour? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    In my SwiftUI project I see AppDelegate file as well as a SceneDelegate file. What are the ... application(_:didFinishLaunchingWithOptions:) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
478 views
1 answer
    I'd like to use the NSFetchedResultsControllerRelegate in a CollectionViewController. Therefore I just changed the method ... solve this issue? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Im trying to swap to another root view controller with a tab bar; via app delegate, and I want to ... swapped to another rootview controller. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    Is enabling Safe Area Layout Guides compatible to iOS below 11? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
942 views
1 answer
    I am trying to implement a CollectionView. When I am using Autolayout, my cells won't change the size, but ... possible? Any ideas on that ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
778 views
1 answer
    Here is my tab bar: The following image shows the program being run and the "NEWS" item selected: It is ... for each individual item? EDIT: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
800 views
1 answer
    I'm working on a money input screen and need to implement a custom init to set a state variable based on the initialized ... -amount > 0 } ... } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
628 views
1 answer
    I'm trying to build a photo App Extension in Xcode 6 Beta-6 that uses cocoapods libraries. The bridging ... is specific to app extensions. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I'm changing the width of a UITableViewCell so that the cell is smaller but the user can still scroll along the ... : Trying R Moyer's answer See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
755 views
1 answer
    The background text in the status bar is still black. How do I change the color to white? // ... : UIColor.orangeColor()] } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
746 views
1 answer
    I want to get all threads where status is member or owner I know how to get for either one reference.queryOrdered ... how to make OR query call? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
779 views
1 answer
    I am new to Mac OS App Development with Swift. But I tried to make the simple ImageResizer app. I have to resize ... } catch { return false } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
866 views
1 answer
    When I build java object class in a project, build file will be created with .class extension and human unreadable; What ... --> build --> ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
793 views
1 answer
    Consider this snippet: let interestingNumbers = [ "Prime": [2, 3, 5, 7, 11, 13], "Fibonacci": [1, 1, ... an "Optional" in the dictionary case? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
681 views
1 answer
    let timeFont = [NSFontAttributeName:UIFont(name: "Voyage", size: 20.0)] var attrString3 = NSAttributedString("(Time)" ... tried doesn't' work. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
704 views
1 answer
    I am having some trouble avoiding index out of range errors when modifying an array that a child view depends on a ... [WorkoutExercise] = [] } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...