Data dodania Pytanie
2017-06-15 14:06 When change root view controller, initial view controller is displaying for one or half second »
In the app FIRSTViewController is initial View Controller set from storyboard. Login, Register, etc option available there. Login screen is presented ...
(1) odpowiedzi
2017-06-14 08:06 Google SignIn not responding on click »
I created a google signIn button programmatically in viewDidLoad() method of my ViewController, but it does nothing when I click on that button. If I ...
(0) odpowiedzi
2017-06-13 18:06 Migration Swift 2.1 to Swift 3.0 »
I'm having trouble translating the code in Swift 2.1 to Swift 3.0. I'm finding error on the block "lazy var" (line 3 and 4). The error message: "Insta...
(1) odpowiedzi
2017-06-13 17:06 Swift zoom in on user's location »
I am trying to figure out how to zoom in to the user's location in Swift 2.1. I have searched through the world of the internet but was unable to find...
(1) odpowiedzi
2017-06-13 00:06 Swift: Labels not showing up »
I am trying to make labels defined by an array in Swift but when I try to do this and I run the app, they just don't show up. My code for the view con...
(1) odpowiedzi
2017-06-09 02:06 Constraints for UIcollectionView »
In ViewController I insert CollectionView using this code: HomeMenuView = UICollectionView(frame: self.view.bounds, collectionViewLayout: UICollectio...
(2) odpowiedzi
2017-06-08 14:06 Index out of range (Table with expandable rows) in Swift 3 »
Hello i am trying to make a shop page on my application. The shop page contains a table with a title that is clickable so it expands into subcategorie...
(0) odpowiedzi
2017-06-08 13:06 iOS - Today extension widget cleared over time »
Situation as it should be We have a today widget that shows a maximum of 6 buttons depending on data set in the corresponding app. This data is sha...
(0) odpowiedzi
2017-06-08 05:06 Expand one row at a time in UITableView Swift »
I am working on expanding row when tapped on table view row. My logic is simple I am adding an extra row when tapped on visible row(i.e Expanding) and...
(2) odpowiedzi
2017-06-07 09:06 Code migration from Swift 2.x to Swift 4 »
We have big enough project which is built up with Swift 2.x and now Apple has just released Swift 4 so to move forward for latest version of Swift whi...
(3) odpowiedzi
2017-06-06 18:06 Swift 3 Custom class CurrencyFormatter »
I have a Swif 2.3 custom class currency formatter that I want to translate to Swift 3 but Im getting errors: class CurrencyFormatter : NumberFormatte...
(0) odpowiedzi
2017-06-06 06:06 How do I do a cross platform encryption method working in both IOS and android (AES encryption only..)? »
I have been recently assigned a task of encrypting my links and parameters i pass in dataTaskWithRequest in swift. The main headache is it should prod...
(0) odpowiedzi
2017-06-02 07:06 Delay of less than one second, Swift 2 »
I can't update Swift because the last time I tried to, it simply didn't work (see the tons of one star reviews on the app store), so other solutions I...
(1) odpowiedzi
2017-06-01 07:06 How to insert the data in backend using Swift 2.0? »
I've looking for correct post format using Swift 2.0 and multiple textfield data are also saved in backend process. ...
(0) odpowiedzi
2017-05-30 13:05 Reloading UICollection view after data parse »
I am trying to dynamically update a uicollectionview. I used this amazing tutorial on how to create a simple uicollection. It works great when using ...
(1) odpowiedzi
2017-05-27 06:05 I made a table view, how can I save the items even after the app is closed? »
I'm making my first app, and it has a task manager, for this, I made a table view in which you can input "tasks" through an alert. How can I save the ...
(3) odpowiedzi
2017-05-25 19:05 how to parse the json using alamofire in swift 2? »
I am having trouble with parsing json using alamofire (it is working fine using browser or postman),below is my code Alamofire.request(.POST, reqSt...
(0) odpowiedzi
2017-05-25 14:05 BLE implements for iOS »
I need one help. I am working for BLE in iOS, I am able to send message from one device to another and vice versa. Now my requirement is once I get me...
(1) odpowiedzi
2017-05-25 06:05 swift3.0 Cannot convert value of type '[UnsafeMutablePointer<Int8>]' to expected argument type 'UnsafeMutablePointer<Int8>?' »
This code worked well in Swift2.3 and now I am converting it to Swift3. So I am getting this error. Anyone has idea, how to fix this? var cmdLnConf: ...
(1) odpowiedzi
2017-05-24 22:05 Swift 2 Instance member 'circleIndexes' cannot be used on type 'GameScene' »
I am making a rhythm app, but I can't seem to randomize the circles. Here is my code: var alternator = 0 var fallTimer:NSTimer? var flag:Bool = true...
(1) odpowiedzi
2017-05-24 22:05 Updated modern Swift syntax to modern Swift syntax and project will no longer compile »
I recently was pasting a section of code from StackOverflow to my Swift 3 project, the code was written in Swift 2 so I highlighted the section of cod...
(1) odpowiedzi
2017-05-24 04:05 Swift : Avatar image is mandatory in swift code »
By default "no-profile-image" is set to imageview, User should upload the profile picture mandatory while registration, otherwise user should not allo...
(0) odpowiedzi
2017-05-22 16:05 How to deal with favourite button »
I have a favourite button when I select the button ,the button colour will be changed and append particular string to an array and when deselect the b...
(0) odpowiedzi
2017-05-19 18:05 Make a swipe button in swift like Uber application »
I want to create a button like uber driver application where driver swipe to start the trip. The arrow come from left to right as the driver swipe on ...
(0) odpowiedzi
2017-05-19 08:05 How to concatenate the "+" operator in a string in swift »
i am making a POST request to the server and my POST string is: let postString = "phone_number=+1234567890&compeleteCode=125435" and in the se...
(1) odpowiedzi
2017-05-19 03:05 Reloading collection view when poped a view controller »
I used collection view having 3 section 3 rows in a view controller and pushed that same view controller. I updated view controller containing collect...
(0) odpowiedzi
2017-05-18 13:05 Why does Date formatter returns date correctly but time is showing as 00:00:00 when converting string to NSDate »
I have a function where i have to retrieve a date from my own sqlite db of app. I have saved it using the formatter My work flow 1..Save a date to d...
(1) odpowiedzi
2017-05-18 08:05 authorizationStatus() about MPMediaLibrary access »
I want to access the media library to display songs list. So on precondition I am checking the authorization status for the media library. When we go ...
(0) odpowiedzi
2017-05-17 12:05 Incorrect or ambiguous type Array Filter »
for item in time_array { let tmp_array = student_result.filter(using: {$0["drillResultTime"] as! String == item as! String}) } Above Code is in Swif...
(0) odpowiedzi
2017-05-16 21:05 Swift 2 Error: Argument labels '(value:)' do not match any available overloads »
I am trying to randomize circles falling for my rhythm game, but I can't seem to get it to work. This is the closest I have gotten: var alternator = ...
(2) odpowiedzi
2017-05-15 13:05 how to encrypt the string using md5 with unique key in swift 2 »
basically i want to encrypt the string using md5 with unique key in swit 2 i encrypt the string in java like this: JAVA Code.... public class MCryp...
(0) odpowiedzi
2017-05-12 20:05 Bad instruction error when calling child from firebase in swift 2 »
We are trying to access a child in database, however we are using a string from a previous view brought in by a segue. It keeps giving the error of ba...
(1) odpowiedzi
2017-05-12 07:05 My iPhone App crashes after getting push notification in some devices(especially ios_10.3.1) »
I have just figured out how to send push notification correctly in my app. However when it started working correctly, a new type of error has arrived....
(3) odpowiedzi
2017-05-10 12:05 Swift Firebase sending data inside a closure »
I am trying to send data to another view controller. However, the data cannot be reached at the second view controller. Here is my code: override fun...
(1) odpowiedzi
2017-05-09 09:05 React to Mapkit object value change »
I'm looking to react to the mapkit current location dot in real time. I can use LocationManager to get the position in intervals, however the annotati...
(2) odpowiedzi