swift tag

599 questions


1 answers
77 views
0
I want to know how to handle the class NSCFSring.

We were able to retrieve Twitter account information from ACAccountStore in an array as follows:let accountStore=ACAccountStore(); let twitterAccountType=accountStore.accountTypeWithAccountTypeIdentif...

2 years ago

1 answers
35 views
0
Please explain in an easy-to-understand way how to obtain TableView cell numbers in indexpath.

Please explain in an easy-to-understand way how to get the TableView cell number in indexpath.Also, please let me know how to match the index number of the array with the transition destination inform...

2 years ago

1 answers
95 views
0
Information About Using

vara=3letb = SKAction.moveByX(-100,y:0.0,duration:2)What should I do if I want to include variable a in the value of duration?

2 years ago

1 answers
34 views
0
Want to keep instance update time

I'd like to remember the time when I updated an instance of this class in a different class. Is there any good way?class Testdata:NSObject{ vardata1 = Data1() vardata2 = Data2() class Data1 { dynamic...

2 years ago

1 answers
121 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
34 views
0
How to initialize your app or uncheck the CNContactPickerViewController

I am creating an app with Swift4.V Place the Get button on the ViewController and press this button to open the iPhone contact list.②Select any person (multiple people) from the list, check, and press...

2 years ago

1 answers
71 views
0
To cancel a cell drawing during UITableview that no longer needs to be displayed

Swift programming using Xcode 7.3. functableView(table:UITableView, cellForRowAtIndexPath:NSIndexPath)->UITableViewCell{ letcell=table.dueReusableCellWithIdentifier(Cell) as? CustomTableViewCell l...

2 years ago

1 answers
66 views
0
Pressing the button crashes the app

I make a piano app with Swift.When I build the app and tap the piano keyboard, it doesn't sound and the app drops.The source code is as follows:import UIKitimport AVFoundationclassViewController:UIVie...

2 years ago

1 answers
81 views
0
To maximize and display the UIImageView image from above while maintaining aspect

I am using Xcode 9.4.1 (Swift 4.1).The UIImageView displays the image, but the content mode is set to Aspect Fill from the storyboard, and first maximize it to the full UIImageView.Also, I don't want ...

2 years ago

2 answers
44 views
0
Header file (.h) not found

To load an Objective-C class in SwiftI created a file called SocketRocket-Bridge-Header.h and included import.#ifndef RemoteControl_SocketRocket_Bridge_Header_h#define RemoteControl_SocketRocket_Bridg...

2 years ago
« - 49 - »

© 2024 OneMinuteCode. All rights reserved.