swift tag

599 questions


1 answers
57 views
0
Unable to specify path when creating Realm instance

let realm=try!Realm (path: path name you want to read)It used to be possible as shown in , but after the Realm version reaches 1.0, Argument labels' (path:) 'do not match any available overloadsThe wa...

2 years ago

2 answers
49 views
0
How do I open the realm file when I enable Sandbox?

When Sandbox is enabled, opening the realm file selected from OpenPanel causes an exception when creating the realm file .realm.management folder.Please tell me how to avoid it.The realm file assumes ...

2 years ago

1 answers
41 views
0
I want to achieve a UI like iOS control center.

Hi, nice to meet you.I am currently developing a scheduling application using a calendar.So, how do I implement functions such as swiping the top end of the view upward and moving it to full screen wi...

2 years ago

1 answers
53 views
0
Create ToDo using Realm—Expected member name or constructor call after type name

[For beginners] Completely detailed!Tutorial to create a ToDo app with cocoapod+Realm (4 times in total) - Qiita I made ToDo according to the tutorial on the page above, but in the code below, return ...

2 years ago

1 answers
123 views
0
About SwiftUI @Published

I'm reading the Apple document, but I don't understand it.Documents class Weather { @Published variable temperature—Double init(temperature:Double) { self.temperature=temperature }}let weather = Weat...

2 years ago

1 answers
38 views
0
I have a question about substitution in Swift's if statement.

I have a question about Swift.I don't know why the code below looks like the result.For iflet n=maybe, do you substitute the variable maybe for the variable n?Please let me know if you know more.Thank...

2 years ago

1 answers
45 views
0
How to Resolve Terminating with Uncaught Exception of Type NSException

I am creating an application using collectionView.I would like to implement the function of removing long pressed cells when I press and hold cells, but when I press and hold cells for a long time, li...

2 years ago

1 answers
71 views
0
I was stuck checking the contents of the integer variable in swift2.

I'm rewriting this calculator app with swift2.https://www.youtube.com/watch?v=DGt1yBxBw9k&index=5&list=WLclass ViewController:UIViewController {var lastNumber: String=@IBOutlet var answerField...

2 years ago

1 answers
71 views
0
I want to change the image of the pins on the map to individual images stored in external storage.

Prerequisites/What you want to achieveI am making a map application, but I would like to change the pin image to the individual image stored in FirebaseStorage.I don't think the first half of the code...

2 years ago

1 answers
52 views
0
I want to resolve the error displayed in Xcode.

I recently started learning Swift with Xcode12.I got a red and yellow error like the one in the picture below, and I looked it up on the Internet, but I couldn't find a solution.How do I resolve this ...

2 years ago
« - 46 - »

© 2024 OneMinuteCode. All rights reserved.