Data dodania Pytanie
2017-01-27 05:01 not receiving json Data in Alamofire request with http body »
Im using the following code to send a POST request to the web server with an http parameter, in order to receive the JSON Data Alamofire.request(.POS...
(1) odpowiedzi
2017-01-26 23:01 Removing a Entities GKComponent from a Scene »
I am using GamePlay kits Entity - Component system for a 2d game. Each entity has a sersis of GKComponents - spriteComponent, physicComponent, etc and...
(1) odpowiedzi
2017-01-26 19:01 Can't get UITableViewAutomaticDimension to work properly »
I have a fairly standard UITableView that populates via custom cell. That cell is simply an image and a label at the moment. I cannot, for the life of...
(2) odpowiedzi
2017-01-26 05:01 I just want to use old password and new password without sending reset link to email in app to change password by using firebase in swift2 »
In android, I use reauthenticate but in swift, which way can I use? For example, in android like this Firebase.getCurrentUser().reauthenticate(EmailA...
(1) odpowiedzi
2017-01-25 12:01 Push gradient layer to background swift »
My app has a gradient layer that I made in code. However when I display this onscreen it covers all the other components and hides my buttons, labels ...
(3) odpowiedzi
2017-01-25 10:01 How to load number of column in UICollectionView »
I am new to swift, I am working in UICollectionView I need to load Seven column in it how can do it, Also padding between each cell should be (top:1,b...
(0) odpowiedzi
2017-01-25 08:01 How to integrate payfort payment gateway in swift 2.2? »
I want to integrate payfort payment gateway in my app. I have read documentation and download demo of payfort but it is compatible with swift 3.0 and ...
(1) odpowiedzi
2017-01-24 13:01 NSUserDefaults Saving. Coding issue »
I have an app that blocks User access to a few rows of a view controller. This is done by checking if a variable of type bool is set to true or false....
(2) odpowiedzi
2017-01-24 05:01 Stubborn Dictionary Error. Cannot Convert value of type (viewController) -> (Double, Double) -> Double to expected dictionary value »
I'm converting an appleWatch calculator written in swift 2.0 to work on iPhone with swift 3. I changed all the actions and outlets to the viewControl...
(0) odpowiedzi
2017-01-24 01:01 Enable blocked rows after in app purchase. Coding issue »
I have an app that blocks User access to a few rows of a view controller. This is done by checking if a variable of type bool is set to true or false....
(1) odpowiedzi
2017-01-23 18:01 Active tableView cells keep getting disabled when I scroll through my tableview »
I have app that has a UITableView containing different sections. I want to have only allow access to the first 3 sections i.e the index path 0, 1 and ...
(1) odpowiedzi
2017-01-23 05:01 Iterating over an array by range »
I have an array: [1, 2, 3, 4, 5, 6...100] I am looking to iterate over this array by 5, specifically: Take the first 5 numbers of the array and get...
(2) odpowiedzi
2017-01-23 00:01 Quiz app: Saving selected quiz-questions using NSUserDefaults and displaying it in another view controller »
I have been stuck on this now for hours and hours, I just can't figure out how to do it and I'm getting tunnel vision with it so I need some help. So ...
(1) odpowiedzi
2017-01-22 19:01 Extract information from dictionary.description? »
I have a quiz app that is based on a structure containing a Question and Answer components. Users can flick through the questions. Is done by just sel...
(1) odpowiedzi
2017-01-22 10:01 PUSH not getting stored in core data when app is in Terminated/not running state on App Icon Launch After receiving notification »
Push notification is received from remote server and it is showing in notification centre/tray. When Tapping on notification the Notification data is ...
(0) odpowiedzi
2017-01-21 20:01 iOS development Swift Custom Cells »
I'm developing an app in Swift and I have problem with Custom Cells. I have one Custom Cell and when you click on Add button it creates another Custom...
(1) odpowiedzi
2017-01-21 18:01 How to save a structure component using NSUserDefaults? »
I am building a quiz app and wish to enable the user to save a Question and answer combination. In my app I have made a structure to hold the question...
(0) odpowiedzi
2017-01-21 11:01 How do I assign a number to each member of a structure? (swift) »
I have a quiz app. I want the user to be able to press "Next Question" button and be able to access Question 1, Question 2, Question 3 etc. in that or...
(1) odpowiedzi
2017-01-20 16:01 Swift 2.3 Nearest Hour (Superior or Equal) from current Date »
I have to determine H and H+3 where H is >= to nearest Hour. Let me show you some examples : if today's hour is 0h00 -> H = 0h and H+3 = 3h ...
(2) odpowiedzi
2017-01-20 14:01 Error: FBSDKApplicationDelegate.m No visible @interface for 'UIApplication' declares the selector 'openURL:options:completionHandler:' »
I'm implementing Facebook SDK for a legacy iOS app written in Swift 2.2 using Xcode 7.3.1. I installed Swift version of the SDK using CocoaPods accord...
(1) odpowiedzi
2017-01-20 12:01 Make a UITableViewCell Coloured to specific percentage »
I have an app quiz app split up into different categories. The categories can be seen in a UITableView e.g. Category A, Category B, Category C...etc. ...
(3) odpowiedzi
2017-01-19 19:01 Open one of several swift files depending on the UITableViewCell selected »
I have an app the consists of many different questions in the form of arrays. I put these arrays into different swift files i.e. QuestionsFile1.swift,...
(1) odpowiedzi
2017-01-19 14:01 how to make a compass with CoreLocation »
I want to implement a compass into my app. I have looked at another stack overflow question and it said you can use the code below This code in the v...
(2) odpowiedzi
2017-01-19 12:01 Swift WKWebView Configuration »
I have a small application. I am opening youtube in webview and see the videos. Everything is good but when I click the video it is opening new page a...
(0) odpowiedzi
2017-01-18 11:01 How to UIImagePickerController for camera and photo library in the same time in swift »
I use UIImagePickerController to take a photo by camera of iPhone. I want to show two "take a photo" and "choose a photo". My code imagePicker = U...
(1) odpowiedzi
2017-01-18 08:01 How to dismiss keyboard when touch outside the textfield? »
I have this structure: ViewController | MainView <-- Give a Tap value =1 | ScrollView | View <-- give a Tag value =2 ...
(1) odpowiedzi
2017-01-17 12:01 Add subject on email by share UIActivityViewController in swift »
I uses share UIActivityViewController to share datas. my code: dispatch_async(dispatch_get_main_queue()) { () -> Void in ...
(1) odpowiedzi
2017-01-17 11:01 cell variable is nil where value was set collectionview index path »
i spend lot of time .. but i can't figure out why it is not working .. cell for index path called and set value properly but cell class i found nil va...
(2) odpowiedzi
2017-01-17 05:01 Massively Confused About Query Strings »
I am using AlamoFire to make an API request. Connecting to the API has been pretty straight forward, what has been massively challenging is querying t...
(1) odpowiedzi
2017-01-16 09:01 Getting error while parsing json in NSJSON serialization in swift ios »
func connectionDidFinishLoading(_ connection: NSURLConnection) { NSLog("\(statusResponseData)") let strData:NSDictionary! = (try! JSONS...
(1) odpowiedzi
2017-01-15 17:01 IOS - UIWebview and UIView Dynamic Height on TableViewCell »
I have a problem with my TableViewCell. I have a UIWebview and UIView in a cell like THIS My code is only work fine if i have only a one UIWebview on...
(0) odpowiedzi
2017-01-15 16:01 How do I change a button image after a successful in app purchase with setNeedsDisplay? »
I'm trying to learn how to use in-app purchase for iOS and I'm practicing trying to make a simple (it's not simple for me) app. What I want to happen...
(0) odpowiedzi
2017-01-15 07:01 UITableView under the edit custom images »
UITableView under the edit custom images myTableView.allowsMultipleSelectionDuringEditing=true self.myTableView.setEditing(true, animated: true) Th...
(0) odpowiedzi
2017-01-14 07:01 How to include symbol in a string »
Been searching for including symbol in a string in swift. can you help how to convert this Obj-c syntax to Swift. Symbol like Copyright, degree and o...
(2) odpowiedzi
2017-01-13 21:01 Nodes in a Scene from different layers will not interact »
Apologies in advance as this Question involves allot of code. I have a GameScene with multiple layers holding Nodes/SpriteNodes for HUD/Scores/ etc. O...
(0) odpowiedzi