Swift - Custom SearchController and SearchBar

I am trying to recreate the search field as seen in the Yahoo Finance app. I followed an online tutorial for customizing the UISearchBar and UISearchController, however I still have some problems. If any of you could open up my project and see where ...
more »

2017-01-13 19:01 (0) Answers

Reasons to use CoreGraphics instead of SpriteKit?

SpriteKit runs efficiently on the GPU. CoreGraphics runs on the CPU. I can't think of any drawing that CoreGraphics can do that SpriteKit can't do. Given this, can you name reasons for why someone may still want to prefer CoreGraphics over SpriteK...
more »

2017-01-13 13:01 (1) Answers

how to send event when one button clicked

I've created UIAlertView that has 2 buttons positive button and negative button. AlertView is viewcontroller as well. I am opening AlertVC from Main viewController. Here is my AlertVC class AlertVC: UIViewController { var transitioner : CAVT...
more »

2017-01-13 13:01 (2) Answers

Wrong generic overload function called

I'm trying to understand why the where clause of a generic method is ignored I've made a simple use case in Swift 3 (you can copy the code in a playground if you wanna fiddle with it): //MARK: - Classes protocol HasChildren { var children:[Hum...
more »

2017-01-13 11:01 (2) Answers

SSL error on iOS mobile Chrome, Firefox, Safari

I have website with SQL certificate from StartSSL. It work's fine on desktop browsers, but on several mobile browsers I see security error. I See error on iPhone 6+ and iPhone 7, on old iPhones and Android devices it works fine. I checked this topic...
more »

2017-01-13 10:01 (1) Answers

Is there any way to create Customer in stripe

I am trying to implement a Stripe Payment Gateway in my application. I have successfully generate token. But Now i want add or create new customer in my subscription plan, which is already describe on Stripe Dashboard. There is Bit of code for creati...
more »

2017-01-13 08:01 (0) Answers

Updating Tableview with photos in the background

I'm currently hitting an API to get a list of inventory items. Right now I am also downloading all of the photos for all of the items on initial load. What I want to do is load the table view with all of the text (be able to interact with the table...
more »

2017-01-13 04:01 (2) Answers

XCode doesn't recognize `pod keys`

Here's my setup Env: Mac 10.11.6 Gem 2.4.8 Gemfile: source 'https://rubygems.org' gem 'cocoapods', '~> 1.1.1' gem 'cocoapods-keys', '~> 1.7.0' gem 'fastlane' Installed Cocoapods-keys using: gem install cocoapods-keys Added Fabric Ru...
more »

2017-01-12 15:01 (1) Answers

AFNetworking with SSL Certificate

Project Setup :- Minimum iOS Version - 8.0 As Apple announced in WWDC 2016 that later this year (January 2017) all application must support Application Transport Security which was previously Bypassed by adding keys in the info.plist. Now accordin...
more »

2017-01-12 11:01 (1) Answers

Location timestamp accuracy in ios

After analysing location services in iOS 10, found that some inconsistency is in the caching behaviour. Fetching locations in a periodic time (in my case every 20 secs) returns locations but their timestamps are not in chronologically ordered. Thi...
more »

2017-01-12 07:01 (2) Answers

HitTest for SKSpriteNode

This is my problem: I work with SpriteKit and I want to ignore touch event when it occurs in some rectangle (prevent calling touchesBegan). The way how I would like to do it is something like "overriding the hitTestWithEvent of UIView". But I can't...
more »

2017-01-11 16:01 (1) Answers