swift tag

599 questions


1 answers
47 views
0
I want to use CocoaPods to install and run Example (sample app) instead of library.

What do you want to doI want to use CocoaPods to install and run Example (sample app) instead of library.I installed it to use the library below.I have an example application, so I'm trying to refer t...

2 years ago

1 answers
70 views
0
If you press OK on the Facebook approval screen, the screen turns white and nothing happens.

I am currently creating a function to post articles on Facebook, and I am executing the following code to log in to Facebook when I press the button. if(FBSDKAccessToken.currentAccessToken()!=nil){ }...

2 years ago

1 answers
95 views
0
How to draw a pie chart with Swift's Spritekit

I am currently using Swift's SpriteKit to create iOS applications, but I don't know how to draw a pie chart.When I looked into it, I found only ways to use UIKit, so I couldn't use it.Can someone tell...

2 years ago

1 answers
79 views
0
Understanding the "Dictionary Type" Return Value in Swift

func getJson (param:models) - > Dictionary { let url=https://test.com/+models+.php let json = JSON(data:super.HttpRequest()) print(json.type) / * print result Dictionary */ The contents of print(js...

2 years ago

1 answers
93 views
0
How to Change Parent ViewController Parameters from Child ViewController

This is Swift's program question.There is UIButton in View in child ViewController.I would like to change the parameters of the parent ViewController by pressing that button.We have added a child View...

2 years ago

2 answers
55 views
0
I'm creating an app that reads news when I press the update button, but how do I read news when I open the app?

import UIKitclassViewController:UITableViewController { variants = NSMutableArray() let newsUrlStrings = [ http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www3.nhk.or.jp/rss/new...

2 years ago

1 answers
107 views
0
Xcode6Swift AutoLayout for dynamic items

Xcode 6.4, Language: Swift is developing.On the Storyboard, we create a vertical scroll page with UILabel and UIImage on top of ScrollView.There are several UILabels that dynamically change the text o...


1 answers
99 views
0
I want to number the pictures selected in the collectionView

We are currently creating an ImagePicker feature that allows you to select multiple photos.Therefore, we have reached the point where we can display the captured photos in UICollectionView.What I want...


1 answers
76 views
0
I want to calculate the sum in the array.

import UIKitimport CoreMotionclassViewController:UIViewController {@IBOutlet weak var Myaccelx: UILabel!@IBOutlet weak var accelxaddition: UILabel!let motionManager: CMMotionManager= CMMotionManager()...

2 years ago

1 answers
46 views
0
File saved in AVAudioEngine.Unable to play the first time

I tried using AVAudioEngin to create a program that saves and plays audio to a file, but I couldn't play the first time.From the second time, you can now record and play.I searched the web to see why,...

2 years ago
« - 16 - »

© 2024 OneMinuteCode. All rights reserved.