Data dodania Pytanie
2017-07-25 17:07 return from initializer without initializing all stored properties (self.ref is not initialized) »
When I input the code for a twitter like app I get the error return from initializer without initializing all stored properties with the code var ref:...
(2) odpowiedzi
2017-07-25 07:07 How to create chatting app using swift »
Hi am working in a app which need to send a message from one to one so that am following a example https://www.appcoda.com/socket-io-chat-app/ which w...
(2) odpowiedzi
2017-07-24 09:07 My Xcode swift project name contains space, so while creating bridging header i need to maintain space »
My project name Crisp Air in swift language. i want to use objective c files using pods for that purpose i have created bridging header like Crisp Air...
(1) odpowiedzi
2017-07-22 07:07 Search Bar Controller with Table view in swift »
I am new to Swift programming SearchBar controller with tableview. I want display the multiple students in table view its working fine. I can add t...
(0) odpowiedzi
2017-07-21 07:07 I need to pass string value from index 1. i have code in swift 1.2 but i can't get desired output in swift 3 »
cString = cString.substring(from: advance(cString.startIndex, 1)) //I'm new to swift3 please suggest me replace to this line in swift 3. Xcode is no...
(2) odpowiedzi
2017-07-20 09:07 Swift:How to extract the date from String as NSDate? »
My date is "2017-05-04 13:46:36.0".Now how can i filter only date from this? I have used this function: func toDate(dateString : String, dateFor...
(2) odpowiedzi
2017-07-19 22:07 AT Commands serialization in swift2 »
I write application to communicate with my device on bluetooth by At commands. Like: +AT: 1 +LED: 2 +SPED: 30 +SAKC: 15 OK ... I must serialize ...
(0) odpowiedzi
2017-07-19 19:07 argument labels '(_:)' do not match any available overloads mapKit »
let mapView = MKMapView((MKMapView, didAddAnnotationViews: [MKAnnotationView])) This is my code and I don't understand why I'm getting this error. T...
(0) odpowiedzi
2017-07-19 09:07 Swift: Could not cast value of type 'Could not cast value of type '__NSCFString' (0x10e4d5ef0) to 'NSDictionary' (0x10e4d6bc0).' »
I am trying to get post data in dictionary. Let first me show what I am doing. manager.POST(url, parameters: dict, success: { (o...
(1) odpowiedzi
2017-07-15 08:07 Wrong direction from MKDirections API on Apple Maps »
We are building a native iOS app built in Swift 2.2. We are using Apple Maps for navigation and directions. The problem is when we ask for MKDirection...
(0) odpowiedzi
2017-07-14 16:07 Issue with firebase query »
My query: let query = recentRef.queryOrderedByChild(FRECENT_GROUPID).queryEqualToValue(group_id) query.observeSingleEventOfType(.Value, withBlock: { ...
(0) odpowiedzi
2017-07-13 10:07 String to Date and Time format with swift »
I have a String like "20170713 111326" and it should be changed to "13/07/2017" and "11:13 AM".What'll be the easiest way? ...
(1) odpowiedzi
2017-07-04 06:07 iPad default gallery file path »
Anyone know what is the default file path for gallery in the iPad which allow you to directly view the images? It required the file path which will ...
(0) odpowiedzi
2017-06-30 12:06 How to add tableview cell value »
IN Tableview how we can add cells value by performing button action and how to represent that in a Label outside tableview. import UIKit class ViewC...
(1) odpowiedzi
2017-06-30 10:06 Reading file from txt file but is not inside the Xcode project »
Need help regarding getting the txt file which is not located in the xcode project. Is there any way to retrieve the txt file without having the txt f...
(1) odpowiedzi
2017-06-29 07:06 Remove Save Video option from UIActivity Controler »
I want to remove save video option from UIActivity Controller I can remove save image option using excluding [.saveToCameraRoll] option. Here is a sn...
(2) odpowiedzi
2017-06-28 03:06 Picking two different images in the same view controller using imagePickerController with 1 button in Swift 2 & 3 »
I am trying to select the images each with 1 button but it not displaying any images which I had selected. var imagePicker = UIImagePickerController(...
(1) odpowiedzi
2017-06-27 09:06 Type of expression is ambiguous without more context in Swift3 »
I am getting a 'Type of expression is ambiguous without more context ' on this part of code from a project I am trying to upgrade to latest Swift vers...
(2) odpowiedzi
2017-06-23 23:06 Cocoa Async Socket Tutorial Code Conversion from Swift 2 to Swift 3 »
I am working through a Swift 2 Cocoa Async Socket tutorial which was downloaded from https://github.com/nickyhuyskens/SwiftCocoaAsyncSocketTutorial I...
(1) odpowiedzi
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