Questions tagged as 'swift'

1
answer

Swift File Save Window

I would like to create a window to save text files to disk, but I do not know how to create a File Explorer using Storyboard.     
asked by 19.03.2015 / 22:36
1
answer

Calling dictionary in another View Controller Swift

I'm trying to pass a dictionary from one ViewController to another, I succeeded, but the dictionary I'm passing is empty. I want to pass the dictionary after adding the userInput when I click the save (createFav) button This is my ViewControl...
asked by 31.12.2014 / 23:34
1
answer

Best practice of data persistence

When it comes to persisting data with Core Data . What is the best way to persist the data? For example:    I have an object Pessoa (subclass of NSObject ). And at the time of   persistence I "convert" PessoaMO (s...
asked by 20.11.2014 / 17:54
1
answer

Outlets in Xcode 6 (Universal Application)

I have a problem / doubts. Until today due to some needs I have developed only for iPhone or iPad separately, however today I am starting in the development of universal application, iPhone and iPad. I'm using Xcode 6 and developing directly...
asked by 03.02.2015 / 02:28
1
answer

How can I align multiple objects around a circle?

I'm trying in various ways and I'm not getting success, I have managed in a way that will not be viable, does anyone know how I could do more or less in this idea to get the center position of the circle and calculate points (x, y) outside the r...
asked by 26.07.2016 / 16:31
1
answer

Relationship is equal to 0

I'm new to relationship in core data and I do not know what's going on. I have a many-to-many relationship between the News & Friends entity as shown below: I created NSManagedobject Subclass but did not change anything (I do not know if t...
asked by 19.10.2016 / 20:34
1
answer

Changing the Bundle Identifier of an app already published in the AppStore

I published an App in the App Store with the wrong Bundle Identifier, I ended up using the name (example) "myapp" while the correct one would be "with.myapp.myapp" corrected this in the new version but would like to know if I publish with the Ch...
asked by 18.08.2016 / 14:42
1
answer

How to convert XML to objects in Swift?

How can I convert responses from XML requests to objects in Swift, just like ObjectMapper does with JSON for objects?     
asked by 08.07.2016 / 15:19
1
answer

Uploading image to webservice

I'm using alamofire to do post to server, I wanted to know how to send an object that has an img inside it. I saw the following excerpt to upload the image let fileURL = NSBundle.mainBundle().URLForResource("Default", withExtension: "png"...
asked by 04.08.2016 / 01:34
2
answers

Home screen on storyboard

I'm using Xcode to develop an app. In it I use storyboard for the screens. Suppose the screen structure is as follows: I have 5 sequential screens, which one takes to the next one, until it reaches the fifth (last) screen. My home s...
asked by 03.12.2015 / 14:25