Questions tagged as 'swift'

0
answers

Access array variable [closed]

I have the following problem, there is an array that is my picker, and I have a function that knows the position of my picker, so I would like to compare it to know what text is in that position, ie know the text that is in the position of the a...
asked by 05.10.2015 / 20:05
1
answer

Remove Pop Ups XCode

Hello, I have an app already made and they asked me to do an update .... the problem is that they asked me to remove the pop-ups from the app and I find nothing to remove ... Can anyone help?     
asked by 03.07.2015 / 14:51
0
answers

UITableViewDelegate methods are not called with the SWRevealViewController

I have UITableView that represents a menu using the framework SWRevealViewController . Methods that require user interaction are not working properly. For example: didSelectRowAtIndex method hardly works and didHighLi...
asked by 07.07.2015 / 14:36
1
answer

Load array with Parse data

I have a cache problem in my application, because when I enter inside a post it searches for all comments about it and populate array , but when I exit it and enter another, array has not yet been populated with the new comments giv...
asked by 11.08.2015 / 20:20
1
answer

Swift error in passing parameters

func imageUploadRequest(param:[String: String] ,myImageView: UIImage) I need to call the imageUploadRequest function by passing 2 parameters, the first being an array of string and the second an image. How could I do that? Why are you g...
asked by 01.07.2015 / 01:17
1
answer

How to simulate a button click on swift (for MAC OSX)

I'm doing a program for Mac and need to find a way to "click" a button from a code. I'm trying to put this code in another button and I've tried this in the following 3 ways: func mouseDown(_ NSButton1: NSEvent) { } func performClick(_...
asked by 28.06.2015 / 04:43
0
answers

Get selected item in an NSMenu in Swift

I'm using the AMPathPopUpButton to save a text file, but the problem is that I can not get the folder selected by the user. The code looks like this: import Cocoa; class SaveFile: NSViewController { @IBOutlet weak var lista: NSMenu!...
asked by 21.03.2015 / 02:50
1
answer

Clear Context using persistence CoreData

I would like to know if you have any way to "clean" my context using Core Data . I have a problem that when I update the application, the same one after saving the records in the database, also maintains in context . So eve...
asked by 22.12.2014 / 13:18
1
answer

How to show Facebook friends list on ios with Swift

I would like to know how I display a list with my facebook friends using the facebook SDK for IOS and Swift. I have already installed it and I am already logging in via facebook. I just can not show my friends list.     
asked by 14.05.2015 / 16:13
1
answer

Predicate with CAST

Accessing the database .sqlite via sql normally, I can use the CAST('coluna' as decimal) function. Via NSPredicate using CoreData , how do I do the same thing? I have a column of type String and I need...
asked by 28.11.2014 / 17:21