Data dodania Pytanie
2017-04-22 12:04 I want to change the image every time I tap the button »
I want to change the image every time I tap a button. The name of the image is as follows. 1. png 2. png 3. png 4. png The name of the button is addBu...
(1) odpowiedzi
2017-04-22 02:04 Swift 2: UIImagePickerController returning nil or object that is not UIImage »
I just got an isolated crash report for imagePickerController:picker: didFinishPickingMediaWithInfo with an EXC_BREAKPOINT message (which I understand...
(0) odpowiedzi
2017-04-21 20:04 How to create xib for static cell and display in table view in interface builder? »
In Xcode 8.x I have a cell layout that I've created in IB that has it's own xib. I'd like to use the cell xib I've created in several difference scene...
(0) odpowiedzi
2017-04-21 20:04 Deleting UIPicker Data »
We are trying to delete data from a UIPicker view upon selection, however, it is deleting only the first string "Select You're Time" upon election of ...
(0) odpowiedzi
2017-04-20 23:04 How to convert 2 Strings (date and time) into one NSDate object in Eastern Time Zone in Swift »
I have the following code to convert a String with a date like April 22, 2017 and a second String with the time 4:30 PM and I need to convert these 2 ...
(1) odpowiedzi
2017-04-20 22:04 109 Cannot connect to iTunes Store 503 »
All of us a sudden, my in-app purchase functionality has stopped working. I'm still using a sandbox user to make purchases, but this error is happenin...
(0) odpowiedzi
2017-04-20 07:04 How to add cell to dynamic collection view using swift »
In top of that image you can see some images and plus button I want to do like this in my app so i used collection view to get this view and everyth...
(2) odpowiedzi
2017-04-19 18:04 Deleting string from UIPicker upon selection »
I am creating a booking app. I am using UIPickers to display open times. I have the pickers fully functional but am not sure how to delete booked time...
(1) odpowiedzi
2017-04-19 01:04 Incorporate an image as part of text »
Is there anyway to create text/font with an image and use it as part of a string? I would like to display our coin image before the amount in labels, ...
(1) odpowiedzi
2017-04-18 14:04 Swift 2 iOS 9 and SqlLite »
I'm a new iOS programmer. I'm building a simple app with Swift. Now I want to insert a database to storage information of my app. I can't find any tu...
(3) odpowiedzi
2017-04-17 13:04 Formatting text in swift simple issue »
This is very basic but I can't seem to find the answer to do this in swift. I am hard coding a paragraph into my UILabel and I wish to have the smal...
(0) odpowiedzi
2017-04-16 13:04 How can i support iOS Version 10.3 with swift 2.3 project »
Good Day, Lastweek i updated my Xcode from 8.2 to 8.3, In my project i used swift 2.3 version. I tried to use multiple version of xcode to my Mac but...
(2) odpowiedzi
2017-04-14 20:04 getting "unexpectedly found nil" AFTER performing nil check »
Despite checking for nil, I am getting fatal error: unexpectedly found nil while unwrapping an Optional value the error is being caught in the conditi...
(1) odpowiedzi
2017-04-14 17:04 How to migrate array.withUnsafeMutableBufferPointer from swift 2 to swift 3? »
I want to use code from this link which is in swif 2 public protocol SGLImageType { typealias Element var width:Int {get} var height:Int ...
(1) odpowiedzi
2017-04-14 12:04 Parse json to get image from server »
I am using cassandra at backend as database and Java. I am using [UInt8] to save image. Here is code to convert image to array func getArrayOfBytesFr...
(0) odpowiedzi
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