Data dodania Pytanie
2017-06-22 15:06 Multipart-form (image,parameters) Post request with Alamofire in swift »
I have a Dictionary<String,<Array<Dictiolnary<String,String>>>> With a UIImage object. How to upload an image with a paramete...
(1) odpowiedzi
2017-06-21 20:06 Adding height constraint to UILabel issue »
In Swift3 want to add height constraint 20px to UILabel but no luck, what I am missing? addConstraint(NSLayoutConstraint(item: titleLabel, attribute:...
(1) odpowiedzi
2017-06-21 15:06 Reusable TableViewCell asynchronous height »
I have custom UITableViewCell: Also have some objects (get from server) with imageURL property. Task: Need asynchronous download images (via Kingf...
(1) odpowiedzi
2017-06-21 15:06 Library not loaded in ios »
I'm facing problem while running my app. Here is the log of app. dyld: Library not loaded: @rpath/Some.framework/Some Referenced from: /var/co...
(1) odpowiedzi
2017-06-20 09:06 UIPageViewController Definition conflicts with previous value »
My App uses a UIPageViewController. I am getting a Definition conflicts with previous value error for my when i put in the following two functions ...
(1) odpowiedzi
2017-06-20 08:06 How to check 3G,4G and wifi internet connection in swift 2.2 »
import Foundation import SystemConfiguration public class Reachability { class func isConnectedToNetwork() -> Bool { var zeroAddress = socka...
(1) odpowiedzi
2017-06-19 23:06 UIPageViewController Conflict issue »
Having trouble getting the UIPageViewController to work. the image shows the error that is occurring. ...
(0) odpowiedzi
2017-06-19 08:06 how to add social media bar to floating action button in ios swift 3 »
I want to show a social media bar when clicking on a floating social sharing button. It should look something like this: ...
(0) odpowiedzi
2017-06-17 11:06 can't unsafeBitCast between types of different sizes »
Im getting this error in this line of my code: self.friends = friends.map({ Friend(json: $0) }) Here is my class : class Profile { var fullNam...
(0) odpowiedzi
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