swift tag

599 questions


2 answers
117 views
0
Obtain hostnames, IP addresses, and MAC addresses from Swift

I would like to create and obtain software for MacOSX by using Swift in Xcode for the hostname, IP address, and MAC address of the communication device that exists on the same LAN, such as arp-a at th...

2 years ago

1 answers
77 views
0
I want to create a tableView like the attached image by creating the best array or dictionary type.

I got json from API and put it in array with code similar to the one below.SWIFT Code var movieList: [[String:AnyObject]]=[ ]func sample(){ Alamofire.request (.GET, http://123456789).validate().respo...

2 years ago

2 answers
72 views
0
@ About managing IBOutlet and actions when multiple buttons are tied to View

I have a question about how to manage UIButton's actions.I may not be able to ask you something, but I would appreciate it if someone could reply.@IBOutlet weak var button_0:UIButton!@IBOutlet weak va...

2 years ago

1 answers
80 views
0
I want to deploy iOS-charts with swift.

The questions are as per the title.http://qiita.com/satoken0417/items/479bcdf91cff2634ffb1I thought I would introduce iso-charts by referring to the .Cocoa pods were done without any problems, but Whe...

2 years ago

2 answers
101 views
0
How to communicate P2P between iPhone and Android

I'd like to communicate with each other using Wi-Fi or Bluetooth instead of using an access pointer like FireChat, but what kind of technology is used?I read the article that iPhone can communicate wi...

2 years ago

1 answers
136 views
0
Terminal Cannot Move to Desktop Directory

I'm very ashamed to say that there is a problem with the terminal not being able to move to the directory.Xcode files are stored on the desktop I tried to move it with the following command, but it sa...

2 years ago

1 answers
105 views
0
Unable to Parse JSON Files on Swift3

I'm getting JSON from my API server and trying to log it.let json:NSDictionary=try JSONSerialization.jsonObject(with:data!,options:.allowFragments)as!NSDictionary in the sectionThe data couldn't be re...

2 years ago

1 answers
108 views
0
I want to resize the video I took with AVCaptureMovieFileOutput into squares.

I'd like to resize the video I took using AVCaptureMovieFileOutput into a square.At the time of shooting, we set the AVCaptureVideoPreviewLayer with the following properties in the square UIView as pr...

2 years ago

1 answers
96 views
0
About matching the size of the View created in xib

Hello I'm in trouble because I can't find it even if I look into it.I would like to ask you two questions about creating a view of xib.(Execution Xcode 8.2.1/Swift 3.0.2)class CustomView:UIView { requ...


1 answers
116 views
0
How do I enable CollectionView to scroll vertically throughout, scroll horizontally through rows, and move cells to another row?

I'd like to create something like au's Video Path app where you can scroll vertically and each line can scroll horizontally.CollectionViewHow can I do it with just one?CollectionView cells can be past...

2 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.