swift tag

599 questions


1 answers
31 views
0
iOS UITableViewCell Reuse Does Not Work (swift)

I am creating a Twitter client using Swift from Xcode7beta5.I use UITableViewCell to display the timeline, but it doesn't work.Here's the code: functableView(tableView:UITableView, cellForRowAtIndexPa...

2 years ago

1 answers
96 views
0
CocoaPods Crashes When Installing Firebase on Multiple Targets

Currently, Embedded Framework is developing multiple targets.Installing Firebase on multiple targets with CocoaPods crashes after bootup. objc [97307]: Class FIRMessagingLog is implemented in both / U...


1 answers
50 views
0
I want to pinch in and out the image displayed on Swift.

I was able to display the image and recognize the pinch, but it didn't work even after looking at various sites.(I tried to rewrite it in my own way)How can I set zoom as a pinch event?

2 years ago

1 answers
43 views
0
How to Delete ShareExtension

I am making a diary app with swift2.I added the App Extensions Share Extension to the app, but I misunderstood and it was different from what I wanted to do, so I would like to delete it.In this case,...

2 years ago

1 answers
39 views
0
How to Rewrite Permissions for Push Notifications in iOS

Nice to meet you.I'm currently creating an iOS app, but I'm having trouble around notifications.The things I want to do are as follows.·Rewrite notification permission when the value of the UISwitch i...

2 years ago

2 answers
32 views
0
How do I shift Array to a pseudo-random number?

I found the following logic as a way to Shuffle Array in Swift.extension Array { mutating func shuffle() { for in 0..<(count-1){ let j = Int(arc4 random_uniform(UInt32(count-i))))) + i swap(&...

2 years ago

1 answers
86 views
0
I want to change the code I wrote using AVAudioPCMBuffer on swift to objective-C.

If you use AVAudioPCMBuffer in swift to write a value to the buffer and sound a sine wave http://www.tmroyal.com/playing-sounds-in-swift-audioengine.htmlIt was made by referring to .I'd like to write ...


1 answers
70 views
0
I'm thinking of implementing Sign In with Apple, but Sign in with Apple is not available in Signing & Capabilities.

TARGET > Signing & Capabilities to Implement SignInWithAppleI'm searching Sign in with Apple, but I can't find it, why is that?Please let me know the solution.Xcode version 11.7

2 years ago

3 answers
91 views
0
About the movement of removeFromSuperview()

Generate a base View and addSubView() the UI parts that correspond to the feature.After that, if I changed the function, I removeFromSuperview() all the UI parts on the base view, and then reset the v...

2 years ago

1 answers
83 views
0
Three Image Size Concepts to Be Prepared Depending on Device Screen

Currently, I am trying to proceed with the application development using spritekit with swift language.So, regarding the image, we have to change the size of the image we use depending on the device, ...

2 years ago
« - 45 - »

© 2024 OneMinuteCode. All rights reserved.