Data dodania Pytanie
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
2017-05-09 07:05 Getting empty device token in iPhone 5 and iPhone SE »
I am not getting device token in iPhone 5 (10.2.1) and SE(10.3.1) and other 5 related devices but successfully getting tokens in all iPhone 6 (includi...
(0) odpowiedzi
2017-05-06 13:05 Error while testing SpriteKit project on iOS7 »
I have developed SpriteKit Game targeting iOS7 Devices and later. I have added 10 SpriteKit scene files. I am using code for that to access each scene...
(0) odpowiedzi
2017-05-06 09:05 Making table view section expand swift »
I am following this tutorial for expanding and collapsing my table view section. As this demo is done in swift 2.2 I have made all the changes accordi...
(2) odpowiedzi
2017-05-06 08:05 Issue while uploading image to server using NSInputStream »
I Have issue while performing stream based image upload. i also have some parameters that need to be uploaded along with the image file too. I have b...
(0) odpowiedzi
2017-05-03 07:05 Data load very slow on View Controller in swift 2.3 »
I am displaying JSON Repsonse on View Controller but some data loads immediately with key(start date) but other takes time to load on View Controller ...
(2) odpowiedzi
2017-05-03 04:05 FIRBase database UISearchBar string for child »
I am stuck. New to searchbars Working: [String] "firstname" returns correct value when searching. If I have 3 people with "firstname" beginning with...
(1) odpowiedzi
2017-05-03 02:05 Loading a Local HTML file in UIWebView »
I am having trouble loading a local HTML file. Here is my code. please help. let URL = NSBundle.mainBundle().pathForResource("index2", ofType: "html"...
(0) odpowiedzi