Data dodania Pytanie
2016-12-16 18:12 NSURLSession and image cache »
In my iOS 9+ Swift 2.2 application, I'm downloading multiple images with NSURLSession's dataWithRequest method : let session: NSURLSession = NSUR...
(1) odpowiedzi
2016-12-16 15:12 Encode String to Unicode »
I want to encode String from UITextField to Unicode in order to transform emojis from : Hello 😀 To Unicode : Hello \\uD83D\\uDE00 I found how...
(0) odpowiedzi
2016-12-16 11:12 Messaging : Support Emijo between Android and iOS »
I'm creating an app for to sending messages from one user to another user. This app is developed in Android and iOS (swift 2.2). In Android I'm usin...
(1) odpowiedzi
2016-12-15 21:12 Swift String Memory Leak »
Instruments tells me that I have some "minor" memory leak when manipulating strings in my iOS 9+ application (Swift 2.2). Here an example : var html...
(0) odpowiedzi
2016-12-15 08:12 Not getting result in NSURLSession in swift »
In using swift 2.2, while using NSURLSession I am not getting the Response. What am I doing wrong? I have to pass parameters and header in POST reque...
(1) odpowiedzi
2016-12-15 07:12 Could not cast value of type 'Swift.UInt64' (0x10dddde88) to 'Swift.AnyObject' (0x12129d018) »
In Swift 2.3, I must cast UInt64 to AnyObject with as!. But It's as in Swift 3. Once I cast this in Swift 2.3, it crashed with the following message. ...
(2) odpowiedzi
2016-12-14 23:12 Why won't the JavaScript work uiwebview? »
I'm creating an iOS app and Website for a project I'm working on. The website uses Firebase for user authentication. The app uses Swift 2. The websit...
(0) odpowiedzi
2016-12-14 12:12 Error of RMUniversalAlert- UIAlertView+Blocks/UIAlertView+Blocks.h not found »
My iOS app is using Swift 2.0, RMUniversalAlert version 0.7 and UIAlertView+Blocks version 0.9 When I build it in Xcode 7, error occurs: 'UIA...
(1) odpowiedzi
2016-12-14 12:12 Unable to simultaneously satisfy constraints When trying to load xib file »
I am trying to implement the UITableView using xib file But when I run the app I am getting the following error & the xib is properly in small scr...
(1) odpowiedzi
2016-12-13 18:12 View controller with strong references causing memory leaks »
I have an issue with strong references in one of my view controllers which is causing a memory leak. First, my setup: 2 view controllers (v1 and v2)....
(1) odpowiedzi
2016-12-13 11:12 How to find Contact list in swift? »
I found all contact list from my iPhone. But i can't get contact detail related to selected contact Thanks in advance. ...
(1) odpowiedzi
2016-12-13 07:12 Flash doesn't work while recording Video in Swift 3.0 »
I am working on a Camera App. I have used a button to set flash mode on and off when required. This method works perfectly for Capturing still image ...
(1) odpowiedzi
2016-12-12 21:12 Why NSURLSessionTask.error and didCompleteWithError delegate? »
I start many downloads in a loop and put all my started downloads in an array to track them When one did successfully complete i remove the downloadT...
(0) odpowiedzi
2016-12-12 20:12 How is this CoreData fetch in swift 3? »
This is a fetch, which will bring me the data of a specific entity, but in swift 2 and i need it in swift 3.. func fetchProfile(){ let fetchReque...
(1) odpowiedzi
2016-12-12 10:12 Swift 2 how to expand and collapse a view? »
I have scrollView in which if there is no data, I need to hide (collapse the space occupied by it) so that the lower view can come upwards. I tried t...
(0) odpowiedzi
2016-12-11 17:12 Xcode 8.1 No such module 'Foo' from unit tests »
I upgraded from Xcode 7.3.1 to Xcode 8.1 and chose Swift 2.3 migration. Now my unit tests won't compile, it fails on the import, specifically No such ...
(0) odpowiedzi
2016-12-11 04:12 Repeat static cell »
I have a fairly complex view in a table view controller. Up until now the content has been static in that the data on the view is always the same layo...
(1) odpowiedzi
2016-12-11 04:12 Core Data - Editing, Incrementing and Saving Attribute to already exisiting Entity »
Ok, so i'm new to CoreData and using NSNumber (about a Day) and I watched a tutorial on CoreData and managed to store a number of different Achievemen...
(1) odpowiedzi
2016-12-10 08:12 Security issue - snapshots from my last opened screen »
IOS application doing snapshots when I am going to background, I would like to remove that ...
(0) odpowiedzi
2016-12-09 11:12 UICollectionView is not scrolling smooth on reload data »
In my UICollecitonView, I am appending data from API using self.DataTableCollectionView.reloadData() But as data in my collection gets increasing, i...
(6) odpowiedzi
2016-12-09 10:12 I have a .mp4 video how i can add water mark »
I have .mp4 video and i want to generate new video from that with watermarked on proper place. Is there possibilities where i can create function and...
(1) odpowiedzi
2016-12-09 07:12 I compiling Swift 2.3 project and have this issue on Xcode 8.1 »
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > ...
(1) odpowiedzi
2016-12-08 12:12 Swift 2.2 : Decimal conversion not working as expected in Xcode »
Trying to convert string to decimal and shows unexpected values for some strings such as 8.80 and 9.80 , tried to run some code in playground and Xcod...
(0) odpowiedzi
2016-12-08 10:12 When @objc and @nonobjc write before method and variable in swift? »
When I declare static parameter in extension of class then I have to write @nonobjc before variable like @nonobjc static let test = "test" and som...
(3) odpowiedzi
2016-12-08 02:12 swift upload image to server use image as parameter »
I try to upload image to server and test it use postman. it works. In header I use Authorization bearer uniqueID. In body I set form-data with image a...
(1) odpowiedzi
2016-12-07 13:12 How to write HexStringToData in java the same as Swift Example? »
I writing and app in Java using Android studio and I would appreciate a little help, as I have this example below in Swift 2.3 : private func hexStri...
(1) odpowiedzi
2016-12-07 10:12 What's the difference between private setter and readonly property? »
What's the difference between:- private(set) var string: String and var string: String { get } ...
(3) odpowiedzi
2016-12-07 02:12 1 Query to access 2 parse classes in Swift for iOS »
I am working on an iOS app that is running Swift 2, but will be upgraded to Swift 3. I need to access user post information from a class called Post...
(0) odpowiedzi
2016-12-06 23:12 How can I detect user activity with all the views in UINavigationController and the navigation controller's navigation controls? »
I need to be able to detect any activity (i.e. not idle) so that I can reset a countdown timer. I tried going the UIWindow sendEvent route but that's...
(1) odpowiedzi
2016-12-06 11:12 How to draw dotted circle path route for the walking mode using GMSMapView? »
Now i am working with Google maps, I have a requirement to draw route between the source and destination. I am using GMSPolyline to draw route but for...
(1) odpowiedzi
2016-12-06 07:12 Converting Image to BASE64 String in swift »
I am trying to convert the Image which is picked by user either from his Photos or Take New from Camera. I am able to convert the image into base64 s...
(2) odpowiedzi
2016-12-05 21:12 UIPickerView default row »
If I want to have the default row when the view controller starts as [8] or any other row number, how do I carry that out? var pickerData = ["2x2","4...
(1) odpowiedzi
2016-12-05 21:12 cannot override with a stored property shouldRemovePresentersView() »
I'm trying to provide my own version that overrides some of this behavior, in particular telling UIKit to leave the MyController visible. import UIKi...
(1) odpowiedzi
2016-12-05 12:12 How to Sort using NSMutableArray? »
I am trying to sort the NSMutableArray with this piece of code let sortContacts = contactData! as NSArray as? [String] print("\(sortContacts...
(2) odpowiedzi
2016-12-04 15:12 use of undeclared type CGPoint »
I am a rookie coder, and I have got an error says that "use of undeclared type CGPoint". Anyone can help me out... thanks! It appear here... private ...
(0) odpowiedzi