Data dodania Pytanie
2017-12-09 21:12 CGDataProvider returning null in Swift 4 »
I'm trying to fix a problem in SwiftColorPicker (by Matthias Schlemm) that popped up with Swift 4.0. I'm going to include the whole PickerImage class,...
(2) odpowiedzi
2017-12-09 19:12 IOS Swift Nested DispatchGroup for Nested Network requests handling arrays »
I'm experiencing crashes and I'm not too sure how to handle the situation with nested dispatchgroup inside a dispatchgroup. I know I'm doing something...
(1) odpowiedzi
2017-12-09 07:12 Obj-C - TableView scroll to bottom after data reloaded? »
I'm trying to have my tableview scroll to the bottom after new data is loaded. For example I have a chat window that is loading new messages once my '...
(1) odpowiedzi
2017-12-08 20:12 Why would removeAllObservers() not work in deinit? »
As everyone knows when using the awesomeness that is Firebase in iOS, whenever you have observations in a view controller,, var o: DatabaseReference...
(1) odpowiedzi
2017-12-08 16:12 How to reset permission of geolocation in wkwebview »
If once user didn't allow location to specific site in WKWebview and again user open same website then WKWebview will not take permission of geolocati...
(1) odpowiedzi
2017-12-08 13:12 Tagging pages in facebook sharing - iOS Facebook SDK »
I'm working with Facebook sharing in my iOS app. I have tried searching the possibilities for tagging pages but found none. Is it possible to tag page...
(0) odpowiedzi
2017-12-08 09:12 ScrollBar always visible »
I found great piece of code under the link here. But in my case there is more to do. My main VC is a UITableViewController. Controller can display t...
(1) odpowiedzi
2017-12-08 04:12 Unable to play a very simple tone »
I was following this question, but the tone that I try to play with an AVAudioPCMBuffer does not play. The code is pretty simple: class Player: NSOb...
(1) odpowiedzi
2017-12-07 17:12 Xcode, swift: SIGABRT error on performsegue »
I am new to swift and I just started working on this project. It is a login app for ios. Here is the code for the "Log In" button. "Parola" means "pas...
(1) odpowiedzi
2017-12-07 16:12 Move view up when keyboard is presented »
The Question: I have a ViewController that has a subclass with a UIScrollView in it. In the scrollView there are 3 UITextFields. 2 of them with a nu...
(2) odpowiedzi
2017-12-07 12:12 UINavigationController hidesBarOnSwipe memory leak issue »
I've got a problem with hidesBarOnSwipe property of UINavigationController. Overview : Link to project file I have one controller named FirstViewCo...
(1) odpowiedzi
2017-12-07 11:12 Detect device from extension file (Swift) »
How can I place my code to identify the device in the Extension file? if UIDevice().userInterfaceIdiom == .pad { switch UIScreen.main.nativeB...
(1) odpowiedzi
2017-12-07 04:12 Firebase Dynamic Link can’t open app directly »
According to Firebase document, I create Dynamic Link in Firebase console, then include the Dynamic Links SDK in my app. Everything is good, but whe...
(1) odpowiedzi
2017-12-06 17:12 Project-Swift.h file not found »
I have a new Swift project with a few files, I've needed to add some Objc code. In Build Settings, my Objective-C Generated Interface Header Name is ...
(2) odpowiedzi
2017-12-06 11:12 Protobuf-net on UWP/.NET Native and iOS »
I have an Xamarin.Forms App based on .NET Standard 1.4 that uses protobuf-net to store objects in the database that will be sent to a WCF service at a...
(1) odpowiedzi
2017-12-06 10:12 Cannot pass immutable value of type 'NSLayoutConstraint' as inout argument »
I try to reassign an referecend NSLayoutConstraint. class ViewController: UIViewController { @IBOutlet weak var myConstraint: NSLayoutConstraint!...
(1) odpowiedzi
2017-12-06 06:12 Swift: can properties be required based on another property being set? »
I want to re-use a single viewcontroller but re-purposed slightly and I'm wondering if there is a structured way to require some properties to be set ...
(2) odpowiedzi
2017-12-06 02:12 Make button move around the screen and record finger gesture accuracy »
I am trying to make an app in which the user has to follow a dot dragging his finger across the screen. Each time the dot is reached by the user, it...
(1) odpowiedzi
2017-12-05 18:12 iOS11 How to handle a custom file dropped in a custom view »
I've been messing around with the drop feature of iOS11. I found a lot of examples with the standard UIImage etc but nothing with custom files. The d...
(1) odpowiedzi
2017-12-05 17:12 React Native 0.40.0: Ordered comparison between pointer and zero ('NSNumber *' and 'int') »
I have a React Native project that is still on 0.40.0 and when I try to build in XCode for Simulator: Ordered comparison between pointer and zero ('N...
(1) odpowiedzi
2017-12-05 12:12 Best practice for handling navigation to many ViewControllers which can be navigated to by many ViewControllers within an application? »
The purpose of this question is to find the best practice for handling navigation to many ViewControllers, which can be navigated to by many other Vie...
(0) odpowiedzi
2017-12-05 09:12 iOS 11 large navigation bar title unexpected velocity »
I am trying to implement the iOS 11 native large navigation bar title on my new application. By calling below functions in viewDidLoad(): navigatio...
(1) odpowiedzi
2017-12-04 21:12 AKNodeOutputPlot increase speed? »
I am using AudioKit for an iOS app. Right now everything is working well for me. However I am having trouble customizing the AKNodeOutputPlot animatio...
(1) odpowiedzi
2017-12-04 14:12 Swift, use function UIView.removeFromSuperview as an argument in forEach function over array of views »
I would like to change following code let views: [UIView] = [] views.forEach { $0.removeFromSuperview() } to some other way, i...
(1) odpowiedzi
2017-12-04 13:12 Swift - the completion ends before the animation does »
I currently have the problem that the completion of the animation function ends before the animation itself does. The array progressBar[] includes mu...
(1) odpowiedzi
2017-12-04 12:12 Move to root view from any where in the application »
I need to move user to navigation controller root view whenever user receive push notification. in my app there is side menu. navigation controllers...
(1) odpowiedzi
2017-12-04 08:12 objective-c metadataOutputRectOfInterestForRect return {{0, 0}, {0, 0}} »
Updated!!! I'm using metadataOutputRectOfInterestForRect to convert rectangle in order to use AVCaptureMetadataOutput rectOfInterest. But when transl...
(1) odpowiedzi
2017-12-04 07:12 Dragging cell to bottom or top will stop and reordering `collectionView` will not reorder »
I add a longPress Gesture to collectionView, and use system API to implement reordering collectionview. here is my code: CGPoint point = [sender loca...
(1) odpowiedzi
2017-12-03 23:12 Filtering frequencies from .m4a data »
I'm trying to analyze a sound file (.m4a) to get the amplitudes over time and make a graph. I found some code online that works great (below). However...
(1) odpowiedzi
2017-12-03 18:12 Image caching best practice for unique identifier »
I am trying to build an app where I download a list of images from different URLs into a collection view. All these images are stored inside a cache w...
(1) odpowiedzi
2017-12-03 08:12 Custom method on class that conforms to MKAnnotation protocol »
I have a class: class MyAnnotion: NSObject, MKAnnotation { let title: String? let subtitle: String? let item: MyCustomItem let coordinate: CLLocatio...
(2) odpowiedzi
2017-12-03 06:12 drawRect not being called on a UIView »
I've added a UIView to my View Controller. I set its subclass to this newDrawingView.h file. // // newDrawingView.m // slate // // Created by Moni...
(0) odpowiedzi
2017-12-02 23:12 Storing game states and scores in keychain »
I am trying to store some strings (scores, lastPlayedLevel, etc) of my game in keychain. Because it is said to be the most safe method. Since I am ne...
(1) odpowiedzi
2017-12-02 10:12 Issue with using searchbar »
I am trying to implement a search functionality in one of my screens. This is the code that is posted... func searchBarTextDidBeginEditing(searchBar:...
(1) odpowiedzi
2017-12-02 04:12 UICollectionView and UICollectionViewCell not functioning »
I'm trying to create my own custom UICollectionView For starters, I added a CollectionView to my Storyboard. The reason for the PURPLE is because a...
(1) odpowiedzi