swift tag

599 questions


1 answers
120 views
0
Understanding the Release Action When Migrating from Objective-C to Swift

I'm thinking of moving the app from objective-C to swift.The following is dealloc for UIWindow*window; in AppDelegate.m.When I was writing in objective-C, I wrote the release process in dealloc as fol...

2 years ago

1 answers
38 views
0
I want to create an ios app with pedometer function.

I'm a beginner in programming.What kind of code should I write in order to create an ios app with pedometer function?

2 years ago

1 answers
49 views
0
iOS Simulator is Slow

As you can see in the title, Swift is developing an iOS app, and the simulator gradually slows down.Resetting the settings and deleting the application in the simulator will not solve this problem.It'...

2 years ago

1 answers
171 views
0
Understanding WKWebview Timeout Settings

I would like to set a timeout for the web page loaded in the loadRequest of WKWebview.let configuration=WKWebViewConfiguration()let webView = WKWebView (frame:self.view.bounds, configuration:configura...

2 years ago

1 answers
114 views
0
How do I transition so that NavigationBar is not shared before and after the screen transition?

I would appreciate it if you could let me know how to transition without sharing NavigationBar as shown in the image below.I think I will write the following code for normal screen transition.navigati...


1 answers
45 views
0
I want to customize the class that uses internal within the module.

I use a framework called Charts.I installed it with Cocoapods.I would like to change the RadarChartView display.To do so, you must change the RadarChartRenderer.In RadarChartView,internal override fun...

2 years ago

1 answers
94 views
0
How to align tabs to the left using the PageMenuKit library

as seen in smart news and other news appsI want to have a horizontal scrolling tab menuThe following sites have attempted to implement using the PageMenuKit library:Implementation of PageMenuKit, a us...

2 years ago

1 answers
31 views
0
Error playing audio

When I try to play the data sample.mp3, I get the error Insufficient Arguments.If you know, please let me know.override func viewDidLoad(){ super.viewDidLoad() let sound_data = NSURL (fileURLWithPath:...

2 years ago

1 answers
54 views
0
How to add and migrate columns without losing Realm data

class UserClass:Object{ dynamic variable = 0 dynamic var user: String= let colorData=List<Color>() override static func primaryKey()->String?{ return user }}classVariousColor:Object{ dynamic...

2 years ago

1 answers
44 views
0
OS-X: I want to pass the value of the variable from ViewController to AppDelegate.

I want to create an OS-X application with swift, but I don't know how to pass the value from ViewController to AppDelegate.I would like to receive a value in AppDelegate applicationWillTermination (aN...

2 years ago
« - 40 - »

© 2024 OneMinuteCode. All rights reserved.