swift2 tag

30 questions


1 answers
105 views
0
Please tell me how to pass the URL without using sugar.

In Xcode 7.3, if you click tableview without using the storyboard, you will be writing the source for the screen transition to DetailViewController.swift.I would like to substitute the value of self.L...

2 years ago

1 answers
64 views
0
Error on Swift3 Cannot convert value of type 'UnsafePointer'

After converting from Swift2 to Swift3, the following error occurred and cannot be resolved.Cannot convert value of type 'UnsafePointer<xmlChar>' (aka'UnsafePointer<UInt8>') to expected ar...

2 years ago

2 answers
72 views
0
How to Leave the Status Bar and Turn the Navigation Bar Off

How do I turn off the navigation bar on iOS by following the scroll like Facebook, leaving a status bar?If possible, I would like to do this without using the library (as I am not going to use the oss...

2 years ago

2 answers
73 views
0
I want to store the images in an array, save the array in NSUserDefaults, and take the images out of it

We register images and sentences with the input side view controller and create an application like Notepad with photos that displays them in the table view of the output side view controller.I want t...

2 years ago

1 answers
63 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
104 views
0
To change the hue of multiple filters in a single UISlider (last time, last time, last time) [Duplicate]

(One answer) 6 years agoWhile the image selected from the camera roll is depicted in imageView, the function of filtering sepia or black and white by tapping the button is implemented.In addition,...

2 years ago

1 answers
111 views
0
Sharing Values (Variables) in Different View Controllers

I would like to share the values between the two ViewControllers in this image, but the 100 that should appear on the ViewController 2 label does not appear, and the label that should disappear remain...

2 years ago

1 answers
73 views
0
EXTRACTION METHOD OF MULTIPLE INDEX OF NUMBER 1 FROM TAPPLE

// Array contains tuples.(String, Int)Is it possible to extract only the number 1 index from this array?let aaa=[(a, 1210),(i, 1215),(u, 1220),(i, 1228),(a, 1230)]// I want to create an array like thi...

2 years ago

1 answers
57 views
0
Loop to 0 value from API

The API responds with a number, but until the value reaches zero.I'd like to keep throwing requests to the same API in Alamofire.I can't think of how to code it.If you want to receive the results in t...

2 years ago

1 answers
136 views
0
Understanding Self Reference

https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/Lesson3.html#//apple_ref/doc/uid/TP40015214-CH22-SW1In the iOS Developer Library swift tutorial Connect the ...

2 years ago
« - 3 -

© 2024 OneMinuteCode. All rights reserved.