Data dodania Pytanie
2017-04-12 08:04 Convert NSDictionary to String issue »
I’ve an object of NSDictionary mentioned below : var params = [ "action": "Address", "entityID": “Abc”, "su...
(0) odpowiedzi
2017-04-10 07:04 Toggle function with UIButton programmatically in swift »
i'm newbies in swift and i wanted to make a toggle/switch function with a UIButton. I've tried multiple method and i don't find the solution. Could ...
(2) odpowiedzi
2017-04-10 05:04 CIContext initialization crash »
Background: I'm running a swift 2 application with the following two options. Option A: The user can enter a number to sign in. In this case, his/her...
(0) odpowiedzi
2017-04-08 09:04 How can we remove every characters other than numbers, dot and colon in swift? »
I am stuck at getting a string from html body <html><head> <title>Uaeexchange Mobile Application</title></head><body...
(3) odpowiedzi
2017-04-07 17:04 Swift 2 Game Main Menu »
I am trying to implement a main menu to my Spritekit game, but whenever I try to present the scene I get a blank gray screen. Here is the code right n...
(1) odpowiedzi
2017-04-06 12:04 how to give dynamic height to contentvie and webview in swift? »
func webViewDidFinishLoad(webView: UIWebView) { webView.stringByEvaluatingJavaScriptFromString("document.getElementsByTagName('body')[0].style.fo...
(0) odpowiedzi
2017-04-05 13:04 How to detect triggered date of an actionable Notification »
I have a reminder in my app. In which I've created daily repetition of a notification. Now multiple notifications can be seen in my notification cente...
(1) odpowiedzi
2017-04-05 11:04 “Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift »
I just did the last XCode update (8.3), and I have the message : “Swift Language Version” (SWIFT_VERSION) is required to be configured correctly...
(3) odpowiedzi
2017-04-05 10:04 Swift 2: find the location of the first byte of a sequence »
In NSData object I need to find the location of the first byte of a specific bytes sequence "D0 CF 11 E0 A1 B1 1A E1". How may I do it in Swift 2? ...
(0) odpowiedzi
2017-04-04 11:04 How to give font name and size to uiwebview? »
self.descriptionWebView.loadHTMLString(str, baseURL: nil) How do i give the font and size? i have a contentView which has one label and webview, i n...
(0) odpowiedzi
2017-04-04 11:04 Xcode - 7.3.1 Error : Invalid bitcode version (Producer: '800.0.42.1_0' Reader: '703.0.31_0') »
I can not find out the error although several efforts have been applied. My pod file is given below. source 'https://github.com/CocoaPods/Specs.git' ...
(0) odpowiedzi
2017-04-03 22:04 Problems with associated values of enums »
I have created a response enum for my network return value and a function which should return an AnyObject because it becomes it has to be a value of ...
(1) odpowiedzi
2017-04-03 15:04 fatal : Array index out of range »
Every child has a pick up point location consists of latitude and longitude that i fetch from sqlite database. I have childIdArray which is array of c...
(0) odpowiedzi
2017-04-03 07:04 Converting Position of SKEmitterNode »
I am trying to convert the SKEmitterNode position to the view, but I don't know how. I've tried using the code to convert SKSpriteNode from Apple, but...
(0) odpowiedzi
2017-04-01 12:04 Type 'IntentHandler' does not conform to protocol 'INStartAudioCallIntentHandling' »
I’m using INStartAudioCallIntentHandling in swift 2.3 and I’m getting this error : Type ‘IntentHandler’ does not conform to protocol ‘INSta...
(1) odpowiedzi
2017-03-31 13:03 expected expression in list of expressions #selector Can not Resolved in xcode 7.1.1 »
Getting an expected expression in list of expressions #selector error in my code. I am using a library in my project. this error comes inside the libr...
(0) odpowiedzi
2017-03-31 07:03 alert controller not displaying in iphone using swift2 »
in my app i want to use alert controller so am using the following code: import UIKit import CoreLocation class GPSTrackingManager: NSObject,CLLocati...
(1) odpowiedzi
2017-03-30 12:03 label constraints not working »
class videoCell:UICollectionViewCell { override init(frame: CGRect) { super.init(frame: frame) setUpViews() } let titlelabel :...
(2) odpowiedzi
2017-03-29 18:03 What is the equivalent of Swift 3.0 withUnsafeMutableBytes in Swift 2.2 »
Can anyone help me porting this piece of code from 3.0 to Swift 2.2 or or Objective-C? // start building the ASN.1 header let headerBuffer = headerD...
(0) odpowiedzi
2017-03-29 12:03 UICollectionView Programatically »
Hi I created my own window in storyboard like below-: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UI...
(2) odpowiedzi
2017-03-29 06:03 ios constraing a set of buttons to navigation item inside a uiview »
I create two buttons inside a UIView and by selecting each button I intend to display a subview. I created the views in auto layout. But I cannot set ...
(1) odpowiedzi
2017-03-28 15:03 Facing error as invalid literal for int () with base 10: in swift 2 »
As per screenshot while am submitting the feedback facing this issue. Any help is appreciated. I have to enter comments like smile or sad after tha...
(1) odpowiedzi
2017-03-26 23:03 sort dictionary with custom key in swift 2 »
I have a dictionary with keys in format: [1:ABC, 113:NUX, 78:BUN, 34:POI, 223:NTY] When I sorted the array of keys, i get the sorted key array as: [1...
(1) odpowiedzi
2017-03-25 19:03 Mobile App Swift »
I am trying to figure a process to connect my mobile app to transfer voice packets to a MacBook with a speaker. All the devices are Apple so Multipeer...
(0) odpowiedzi
2017-03-25 09:03 How to swap NSArray elements in swift »
I have an NSArray declared as var GetVehicleData :NSArray! And this is the Json data im storing inside the Array, { "vehicle": "1", "...
(2) odpowiedzi
2017-03-24 20:03 Divide image in array of images with swift »
I'm trying to divide an image to create 16 out of it (in a matrix). I'm using swift 2.1. Here's the code: let cellSize = Int(originalImage.size.heigh...
(3) odpowiedzi
2017-03-23 08:03 expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions? »
let attrStr = try! NSAttributedString( data: "Your baby in week three\n" + "Three weeks into your pregnancy, and you might be ...
(3) odpowiedzi
2017-03-23 06:03 Zoom In and Out for UIImageView in iOS »
I am looking for a library that can be used to zoom in and zoom out a product image and also slide to next image. Are there any library that can hel...
(4) odpowiedzi
2017-03-22 16:03 Incorporating music in Swift »
New coder here. I was looking to make a rhythm game on Swift 2.0 and have buttons to press on the beat of a song, but I'm not sure how to start, or if...
(0) odpowiedzi
2017-03-21 15:03 Getting error in cocapod installation CryptoSwift »
i installed a pod successfully "cryptoSwift' to get sha-2 in my xcode project using swift2. but after pod installation when i build project it shows m...
(1) odpowiedzi
2017-03-21 12:03 Background image (Background Mode) uploading in Amazon S3 bucket without using AWS SDK in iOS Swift »
I have an application that capture image/images, the request is fired for getting the document upload policies, and uploading the image/images starts....
(0) odpowiedzi
2017-03-20 09:03 How to place any view below any other view which is getting it's position from code »
I've created 4 subviews of white color & a yellow one as you can see in reference image I've shared below. And I've programmatically changed t...
(1) odpowiedzi
2017-03-18 11:03 Actually this is a code in swift 2.0, can someone tell me how to code these in swift 3.0? »
func searchBar(searchBar: UISearchBar, textDisChange searchText:String){ filteredArray =tableData.filter({ names: String) ->Bool in retur...
(1) odpowiedzi
2017-03-17 14:03 How to download image from asynchronously in swift »
Hi I am developing a app using swift2.2 am getting a data from a server and am passing it to the collection view.am getting more images from the serve...
(0) odpowiedzi
2017-03-17 03:03 Changing a programmatically generated uiwebview's content from a programmatically generated UITabBar »
Sorry, I am using Swift 2 and am still a bit of a newb. I have been able to programmatically create a UITabBar and UIWebView using the following code...
(1) odpowiedzi