swift tag

599 questions


1 answers
44 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
68 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
91 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
76 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
89 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
51 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
105 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
97 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
73 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
43 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.