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
660 views
1 answer
    I am trying to create a timer which triggers a local notification to go off at a time that the user has ... add(request) center.delegate = self See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
776 views
1 answer
    Is there a way to check strings for nil and "" in Swift? In Rails, I can use blank() to check. I currently have ... !.isEmpty { ...blah blah } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
608 views
1 answer
    I have a generic function that calls a web service and serialize the JSON response back to an object. class func ... ? var regionName: String? } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
674 views
1 answer
    I am trying to add a double value to a subclass of UIButton in Swift Tried all kind of inits and get and set ... wrong here.... please help... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
658 views
1 answer
    I'm trying to figure out the correct way to conditionally include a view with swiftui. I wasn't able to use the if ... else { LoginView() } } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
540 views
1 answer
    I want to install xcode to deploy a cross platform flutter application but I cant find enough space for Xcode is ... it on the internal storage See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I need to do this app that has a weird configuration. As shown in the next image, the main view is a ... be greatly appreciate it :( Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
588 views
1 answer
    I have been trying to get this code to work for like 6 hours. I get the error: "failed to convert The data ... : String let desc : String } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
596 views
1 answer
    Hi, I am coding an application on Xcode for IOS and I would like to send a variable to another ViewController ... problem? Thank you in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I am doing push notification in my project through GCM. My Application is able to receive notification in ... correct format of payload? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    Basically I have played with Firebase for the past week, and I recently stumbled upon the 'queryOrderedByChild ... ascending or descending? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
810 views
1 answer
    I have a bar with Bar Items, my .png image has green color, but when i add it to storyboard it's displaying ... it display the image as it is? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
648 views
1 answer
    I'm working on an app that utilizes the navigation controller. I have a certain view controller that has ... the default transition animation? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    class ClassA { class ClassB { } } let compiles: [ClassA.ClassB] let doesNotCompile = [ClassA.ClassB]() Playground ... = ClassA.ClassB ^ ~~ See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
808 views
1 answer
    In my SwiftUI app, I have a list of items. I'm using the array of MenuItems to fill in the list struct ... the item in the List in SwiftUI? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
736 views
1 answer
    I've a txt including some data in the following format. AYGA:GKA:GOROKA:GOROKA:PAPUA NEW GUINEA:06:04:54:S:145:23: ... ["5282", "0000", "0020"] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
762 views
1 answer
    I have the following function which downloads an image from server; func getImageFromServerById(imageId: String) -> ... wait for the download? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
814 views
1 answer
    Given an array of strings that represent unicode code points: let arr : [String] = ["0023", "FE0F", "20E3"] ... example, the output would be #?? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
861 views
1 answer
    I would like to implement feature that if profileImage tapped in tableviewCell, segue to detailView. I add tapGesture ... Thank you in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
743 views
1 answer
    My application is linked with firebase database and authentication. When a user creates an account, the only requirements ... this from my code? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
663 views
1 answer
    I have an app that returns a menu of information (basically menus, menu_headers, and items). I'd like to have ... very quickly (ie Swift 1.1) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
617 views
1 answer
    I can't find the answer to this anywhere, hopefully one of you can help me out. I have a MainView with some ... can help me out! Thanks :) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
496 views
1 answer
    I'm fairly new to swift and am trying to call multiple functions that request a local notification inside a ... , withCompletionHandler: nil) } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
975 views
1 answer
    I'm having an issue with downsampling audio taken from the microphone. I'm using AVAudioEngine to take samples ... is very much appreciated. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    My cell displays fine as long as I don't try to enable the automatic resizing. When I add the two lines for auto- ... : ["date":dateLbl])) } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
616 views
1 answer
    I'm attempting to create a colored pattern using CGPattern in Swift. Apple provides a nice Objective-C example ... syntax to complete this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
996 views
1 answer
    I want to change the title of?backbutton to any name in swift 3.I tried many ways but none of them ... .window?.backgroundColor = UIColor.white See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
813 views
1 answer
    In a following class class Foo { let _defaultValue = "N/A" let value: String init (dict: NSDictionary) { ... happier in the second case? 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

...