Data dodania Pytanie
2017-02-18 17:02 How to integrate SwiftyJSON Cocoapod into Xcode 7.3.1 Swift 2.2 »
I'm using cocoapods to install SwiftyJSON into Xcode 7.3.1 Swift 2.2 and I get 158 build errors. This is the pod I'm using: pod 'SwiftyJSON', :git =&...
(1) odpowiedzi
2017-02-18 06:02 Where to store API keys on Swift? »
I have a bunch of API keys and secrets (Stripe, Cloudinary etc), that are currently hard coded in my app. Where is the right place to store them? Shou...
(2) odpowiedzi
2017-02-17 22:02 Share to WhatsApp like Apple Music App »
So, the Music App from the iPhone shares with UIDocumentInteractionController and shares to WhatsApp internally, in other words, it doesn't take you t...
(0) odpowiedzi
2017-02-17 09:02 swift: returning a child node with the same position »
I have Two Sprite nodes in a function from a swift file. Both nodes are similar in size and position. Node2 is a child of node. When the nodes are a...
(1) odpowiedzi
2017-02-16 19:02 SQLite.swift. Swift Compile Error »
My Xcode project created in Xcode 8.1 with swift 2.3 runs correctly in simulator, but when I try to build and run the same project in Xcode 8.2 it sho...
(0) odpowiedzi
2017-02-16 13:02 PATCH with Alamofire (swift 2.3) »
I have a problem, i try to update with PATCH method using Alamofire, but no changes are reflected. I Think in one of those I am making some mistake. ...
(2) odpowiedzi
2017-02-15 23:02 Xcode 7 Swift 2.3 Project wont build in Xcode 8 Legacy Swift Setting »
I have a project that builds and runs in Xcode 7.3 Swift 2.3. Same project will not compile in Xcode 8.2 when I set the build to Swift to Legacy 2....
(0) odpowiedzi
2017-02-15 08:02 swift: Set custom image to each section in UITable View »
I am trying to set the image to sections in UITable View. but as soon as i add the image the Title from the section disappears. This is what i have t...
(1) odpowiedzi
2017-02-14 17:02 How to make an object spin in the air Swift 2.0 »
I have an object that I can drag and toss, and I want to make it so that when you release, it spins until it hits the ground. I'm not sure how to make...
(0) odpowiedzi
2017-02-14 16:02 How to check an empty JSONArray in swiftyJSON »
I have a JSON that have a JSONArray as a value in one of the json inside it. here is the example of it. [ { "id": 1, "symptoms" : [{\"key\"...
(1) odpowiedzi
2017-02-14 14:02 Unable to get keys from firebase database »
I have been pondering for the longest time in my student programmer life. I would like to know I added the keys using autoChildId. How to get keys...
(2) odpowiedzi
2017-02-13 18:02 Build failed due to Arm64 and Armv7? »
I tried to add Firebase to my iOS application, and before I added it, everything worked. Afterwords I keep getting just one error, claiming to build f...
(0) odpowiedzi
2017-02-11 19:02 Sound playing through SKAction but not through AVAudioPlayer »
I've got a vexing problem with getting sound to play in a game but can't seem to get any output through the AVAudioPlayer. Originally this was set up ...
(2) odpowiedzi
2017-02-11 01:02 How can I convert pods WebRTC or libjingle_peerconnection to work with Swift3 »
I am currently trying to implement WebRTC for an iOS App. I found a precompiled library (WebRTC) available by pod. However there is no doc at all and ...
(0) odpowiedzi
2017-02-10 19:02 Swift - Log all requests in mac app »
I have tried to use NSURLProtocol to log all requests in a Swift 2.3 project. However not all URL requests are being logged. Specifically all the Alam...
(2) odpowiedzi
2017-02-10 15:02 NSFetchedResultsController "cannot access fetched objects before -performFetch:" crash when calling objectAtIndexPath: »
I my crashlogs, I found an interesting crash which I can't figure out why it happened. Neither I'm able to replicate it. It crashed when on the follo...
(1) odpowiedzi
2017-02-10 07:02 running app in ios 10 using xcode 7.3.1 »
Hi i have developed a app using Xcode 7.3.1 and swift 2.2 my app will execute upto the deployed target 9.3 but i want to execute my app in latest vers...
(1) odpowiedzi
2017-02-09 13:02 Swift calendar components »
First of all I don't know swift.Basically I'm an android developer and I have some knowledge in objective c. Now we don't have any swift developers. B...
(0) odpowiedzi
2017-02-08 11:02 How to banner notification when application foreground swift 2 with iOS 9 »
It's working fine when application stay in background (remote notification). Problem is when I chatting with my one friend . New messages from other c...
(0) odpowiedzi
2017-02-07 15:02 Prevent swipe in horizontal UICollectionView to swipe in UIPageViewController »
iOS 9+ application using Swift 2.2. I'm using a UIPageViewController having some horizontal UICollectionViews in each page. When scrolling horizontal...
(0) odpowiedzi
2017-02-07 10:02 How to programmatically go to a UITableViewController from UIViewController »
can i know how to programmatically go to a UITableViewController from UIViewController let mainStoryboard : UIStoryboard = UIStoryboard(name: "Main",...
(1) odpowiedzi
2017-02-06 16:02 'init' is a member of the type; use 'type(of: ...)' to initialize a new object »
I had this code in Swift 2, now it has error in Swift 3: The error is : 'init' is a member of the type; use 'type(of: ...)' to initialize a ne...
(1) odpowiedzi
2017-02-06 15:02 One Signal push notification launch URL error »
I am using one signal in my project. Their docs say OneSignal.initWithLaunchOptions(launchOptions, appId: "5eb5a37e-b458-11e3-ac11-000c2940e62c"...
(0) odpowiedzi
2017-02-06 05:02 Using two GoogleService-Info.plist of previous old Google Analytic and new Firebase Cloud Message »
I am trying to add Firebase Cloud Messaging to my app. Unfortunately, there is an analytic version of old Google included in it. So, is there anyway t...
(0) odpowiedzi
2017-02-05 19:02 Convert String to NSDate swift 2 »
I am new to swift 2 and im trying to convert the following codes to my preferred format. example: dd-mm-yyyy hh:mm:ss -> (01-12-2012 20:10:59) Howev...
(0) odpowiedzi
2017-02-05 05:02 DJI SDK "Home point not recorded yet." error Code: -5010 »
Hey ya'll so Im trying to start a DJIWaypointMission and am getting an error when I call "startMissionExecutionWithCompletion" I've apparently success...
(0) odpowiedzi
2017-02-04 18:02 Swift 2.3 ViewController dismissViewControllerAnimated jumps to root of the navigation »
Is the dismissViewControllerAnimated behaviour customisable? I have the following setup: uiwindow.root = uinavigationcontroller uinavigationcontro...
(0) odpowiedzi
2017-02-04 10:02 UICollectionView cellForItem called not correctly »
Xcode 8.2.1 after migrate Swift 2.2 to Swift 3 UICollectionView's cellForItem not called correctly but before migration was working fine I have Coll...
(1) odpowiedzi
2017-02-04 02:02 wkwebview resize after window change notification »
In swift, I have a audio/video url loaded but the view doesn't resize, IF, the url is to a local file; web URLs are fine. I'd like to scale/grow/etc ...
(0) odpowiedzi
2017-02-03 23:02 Unable to change pin color using map kit view »
Using the example below VC1 -> VC2 -> VC3 I am trying to pop VC3 programmatically using self.navigationController!.popViewControllerAnimated(false)...
(0) odpowiedzi
2017-02-03 12:02 iOS App Rejected due to IPv6 network connection issue »
Application have only single Webview. Swift 2.3 Webview URL ::: http://91.143.214.174:6999/Account/Login?ReturnUrl=%2f Using Reachability classes...
(0) odpowiedzi
2017-02-02 16:02 Using loops to store multiple json object into arrays »
I have done a webservice to retrieve JSON of data which is as follows: (this is stored in a variable data) {"0":{"categoryId":"1","category":"Resta...
(2) odpowiedzi
2017-02-02 16:02 continueTrackingWithTouch not working when subclassing from UIButton »
everyone knows that when you drag outside a button it don't cancel the highlight state right away by UIButton's default. UIControlEventTouchDragExit t...
(1) odpowiedzi
2017-02-02 10:02 how to parse the error from web request »
here is my code api response for error: guard (error == nil) else { print("There was an error with your request: \(error)") return } re...
(2) odpowiedzi
2017-02-01 09:02 How to print out the method name and line number in swift »
Here is an example of what I want to do: func application(application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSErr...
(3) odpowiedzi