swift tag

599 questions


2 answers
51 views
0
I'd like to create the initial data with Realm, but I don't know how to do it.

Swift 2.1Realm 0.98As an image, multiple questions and answers are stored in a DB like a quiz app, and Select from the question list to display a questionnaire and provide answers.I just introduced Re...

2 years ago

1 answers
54 views
0
I am creating an iPhone app with Xcode swift, but how do I implement an implicit Int on Android?

The flow is Place (notify, end) two select buttons when clearing the gameClick Finish to return to the main menuFor Notification buttons, Display the Application Selection screen and Copy to Clipboard...

2 years ago

2 answers
54 views
0
About Swift Firestore Result

I am worried about the following error handling in the Firestore document.https://firebase.google.com/docs/firestore/query-data/get-data?hl=jalet docRef=db.collection(cities).document(BJ)docRef.getDoc...

2 years ago

1 answers
33 views
0
How to Resolve Argument labels (contetsOF, fileTypeHint) do not match any available overloads

I'm a beginner at Swift.I'm trying to make an app that makes sound, but I'm stuck in the error below, so I can't proceed.Argument labels (contentsOF, fileTypeHint) do not match any available overloads...

2 years ago

1 answers
32 views
0
What does "?" mean in navigationController?

@objc private func DidTapRegister(){ let vc = RegisterViewController() vc.title=Create Account navigationController?pushViewController(vc, animated:true)

2 years ago

1 answers
30 views
0
About the error that occurs when playing music on Swift.

import UIKitimport AVFoundationclassViewController:UIViewController { varplayer —AVAudioPlayer=AVAudioPlayer() override func viewDidLoad(){ super.viewDidLoad() let audioPath = NSBundle.mainBundle()...

2 years ago

1 answers
95 views
0
AVCaptureFileOutputRecordingDelegate in Xcode8

import UIKitimport AVKitimport AVFoundationimport AssetsLibraryvardocumentsPath = NSTemporaryDirectory()varfileName: String?=classVideoDelegate:NSObject, AVCaptureFileOutputRecordingDelegate{ func cap...

2 years ago

2 answers
35 views
0
The process flow in Swift {} is unknown.

in the code belowsignIn(withEmail:link:) I am not sure how the processing flows in the {} method.Does self.hideSpinner{} always run?What is this syntax called? iflet email=self.emailField.text{ showSp...

2 years ago

1 answers
33 views
0
About CNGroup.identifier

Normal during CNGroup.identifier, abcdefg1-abc2-abc3-abc4-abcdefg12345It should be but if any conditions overlap, abcdefg1-abc2-abc3-abc4-abcdefg12345:ABGroup:comes with something unnecessary.I haven'...

2 years ago

1 answers
94 views
0
With Swift, I want to flip pages within multiple pages transitioned from TableView.

In Swift3, if the screen transition destinations are distributed by TableView cells, I would like to swipe only the pages of the transition destination and return to the TableView page from each trans...

2 years ago
« - 34 - »

© 2024 OneMinuteCode. All rights reserved.