Questions tagged as 'swift'

1
answer

Button with link to a site

Could they help me make a button with a link to a website? It is an application for iPhone and I wanted the button to open the site in Safari (for example).     
asked by 03.07.2015 / 10:33
0
answers

UITextField does not take the text value of an Array Swift

I'm using core data to save the user's input into an array. Until then the code works perfectly, the problem is to pick up some element of that array and put it in the UITextField. The code has no errors, just does not work as it should. @IBOu...
asked by 14.07.2015 / 19:31
1
answer

Botao Like customized

Does anyone know if it is possible to customize like button of facebook SDK ? I need to use my image as the background of the button or make it a button. var likeControl:FBSDKLikeControl = FBSDKLikeControl() likeControl.ob...
asked by 05.06.2015 / 23:45
1
answer

Error inserting Slider into View - Swift

I have a problem related to the Swift Slider when I try to put it inside a View My project has the following structure View (main) View (used for grouping) ScrollView View (Objects) If I put the Slider inside the Main View,...
asked by 25.05.2015 / 15:11
1
answer

Open Terminal with Swift

How can I ask for my graphic program to open a terminal window by passing a parameterized command? I'm using Swift for OS X, grateful.     
asked by 17.03.2015 / 20:09
1
answer

Identify that an App is entering the background

I have an app that is in Object-C and I'm trying to pass it to Swift, but I'm having some problems, one of them is NSNotification that is not working. In object-C, I'm using it as follows: - (void)viewDidLoad{ [[NSNotificationCenter def...
asked by 25.03.2015 / 02:58
0
answers

UIPageViewController - Making a slider

I am using a UIPageViewController . It displays content and is changed by a NSTimer page. Basically as the content slider in highlights on the websites. The problem is that I need to identify exactly which side the user is moving th...
asked by 24.02.2015 / 17:53
1
answer

Error when using STTwitter and Swifter

I'm trying to use one of the two STTwitter or Swifter libraries in my project but always the error. In the case of STTwitter the error is in the method call getUserTimelineWithScreenName:(NSString *)screenName successBlock:(void(^)(NSArray...
asked by 16.01.2015 / 23:31
1
answer

WebView with some problems in swift

I have 1 problem Simple code: let url = "http://apple.com" override func viewDidLoad() { super.viewDidLoad() let requestURL = NSURL(string:url) let request = NSURLRequest(URL: requestURL!) webView.loadRequest(request) } This webview i...
asked by 06.01.2015 / 01:55
1
answer

Using the camera

I am implementing a screen that I would like to show the camera image, but I would like to only show the image, not with front camera switching, canceling, or capturing features. Is there any way to do this? So far I've only been able to show...
asked by 03.03.2015 / 15:24