swift tag

599 questions


1 answers
36 views
0
Generate pop-over for map pin (announcement)

I want the balloon to stick to the pin like Apple's standard map I use storyBoard for screen transitionScreen Transition Methods func mapView (mapView:MKMapView, viewForAnnotation:MKAnnotation) ->M...

2 years ago

2 answers
31 views
0
I have a question about Swift's closure-like description.

(Question 1) Is the writing method in capture (a) and (b) below closed?I think the closure is as follows, and I think (a) will be a closure, but (b)Does that mean that is not the case?var hogeHoge={(p...

2 years ago

1 answers
46 views
0
I'm looking for Swift's textbook.

I am looking for Swift's textbook under the following conditions:·Reference book for reverse drawingThis is my third Swift textbook purchase.Below are the books I have purchased so far.●First volume: ...

2 years ago

1 answers
97 views
0
How to Configure Deligates Through Methods

When setting up TestViewController Deligate on the ViewController, I'd like to make it happen by mediating the getViewController method in VIewData.The ViewController topController.myDelegate=self res...

2 years ago

1 answers
33 views
0
I want to create a program that converts the odd number of characters in the string into minus one ASCII code.

Ask code for all characters in the stringI could create a program to convert to minus 1 characters, but I couldn't create a program to convert the odd number of characters.I would like you to tell me ...

2 years ago

1 answers
34 views
0
I want to extract NSData from NSData

If you want to specify a range and truncate the passed NSData data, varwork:UInt8=0x00data.getBytes (&work,range:NSMakeRange)You can get it by doing the above, but if you want to cut some NSData o...

2 years ago

1 answers
38 views
0
OS-X: I want to end the program in SWIFT.

I would like to close the application when I receive events such as specific buttons using Swift.If anyone knows, please let me know.Thank you for your cooperation.

2 years ago

1 answers
51 views
0
Stopped at NSJSONSERIALIZATION

The URL listed in the source below stops at NSJSONSERIALIZATION.JSONObjectWithData every time.I don't know the cause at all.Other JSON URLs work fine.What should I do?let url=NSURL(string: http://api....

2 years ago

2 answers
35 views
0
Swift Develops Calculator Application

I am currently developing a calculator application, but I have a question because an error occurred and I cannot proceed.Image Description What I want to implement is to show which button was tapped w...

2 years ago

3 answers
44 views
0
I want to build an actual machine with Xcode 6.4, but I'm having trouble because I can't find the column to set up the terminal.

I want to build an actual machine with Xcode 6.4, but I'm having trouble because I can't find the column to set up the terminal.(See image) If you build it in this state, it will be a simulator build....

2 years ago
« - 37 - »

© 2024 OneMinuteCode. All rights reserved.