Data dodania Pytanie
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 get time sets by user or automatically ios »
I want to get value of time sets by user or automatically , is there any way to do it in ios ? Value that i want for : Settings > General > Date&a...
(1) odpowiedzi
2017-02-14 16:02 Issue calling externally assigned closure from IBAction »
I have this UIView subclass: class EmptyAlbumsView: UIView { class func instanceFromNib() -> EmptyAlbumsView { return R.nib.emptyAlbumsView.f...
(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-14 11:02 UIBezierPath - Add rounded corner »
I am using a UIBezierPath to draw a curved line. The curve works however, I am unable to curve the edges of the line. If you look at the top/bottom...
(1) odpowiedzi
2017-02-14 08:02 How disable change language in number pad in iOS Objective C? »
I have texFiled I'm my view controller and i set number pad for that like this: self.phoneTextField.keyboardType = UIKeyboardTypeNumberPad; And ...
(1) odpowiedzi
2017-02-13 18:02 Is there a way to acquire the properties from this obscure object and convert it to JSON? »
I'm working with a remote library that is delivering this object to me. If I set my debugger, I get this information : KandyChatMessage: UUID - 7088...
(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-13 12:02 AVPlayerControllerTimeResolver instance is getting deallocated when I come from background to foreground »
Hi all I am facing a strange issue when I am playing a video my AVPlayerControllerTimeResolver instance is getting deallocated when I come from backgr...
(0) odpowiedzi
2017-02-13 11:02 How to implement PageViewController inside in TableViewCell using Objective c »
What i done before? I implemented tableviewcell that shows user porfile picture or other user images every image contain its own like,comment,descrip...
(0) odpowiedzi
2017-02-13 10:02 How to setup code skeleton for an iphone application »
I want to setup code skeleton for an iPhone application proper standardize and in proper formatted folder structure, but i am not getting any referenc...
(2) odpowiedzi
2017-02-12 18:02 IOS/Objective-C: can't save CoreData values into NSArray »
I'm trying to save CoreData values into an array for later display it in a table view. But so far, the logs show me that the array is empty (null) tho...
(1) odpowiedzi
2017-02-12 18:02 How do eliminate the "jump" in my CABasicAnimation? »
Using this code: func rotateTheView(_ aView: UIView, inClockwiseDirection isClockwise: Bool) { let multiplier = (isClockwise ? 1 : -1) let ke...
(2) odpowiedzi
2017-02-12 13:02 Convert plain string to JSON and back in Swift »
Let's say there's a JSON-string I got from server: "\"3\"" (with quotes, i.e. length == 3 here) In Android-world, I can do: gson.fromJson(json, new ...
(1) odpowiedzi
2017-02-12 12:02 Swift restore original image color after casting a tint »
I have an image, inside a UIImageView, that comes with a default color, let's say a custom grey. In my code at some point I set a different tint in t...
(1) odpowiedzi
2017-02-12 09:02 SDWebImage changing images while tableview scrolling »
There is a TableView with Cells and there is ImageView in each of them. I use SDWebImage to load images and it works fine, but when I scroll fast - I ...
(3) odpowiedzi
2017-02-12 00:02 GameCenter Leaderboard will not update after release »
GameCenter has been working fine before release when updating the high scores. Now, it has been over 24 hours and the highscores will not update at al...
(1) odpowiedzi
2017-02-11 23:02 Why doesn't this Regex code work for a P.O. Box string? »
I am trying to check if a string is a P.O. Box. I have tested my Regex string with 2 different web browsers and it works just fine. When I use it as s...
(1) odpowiedzi
2017-02-11 22:02 Is there a way to use my Rust library from Swift? »
I am aware that this question has been asked before (nearly 2 years ago though), still, I'd like to encounter if there are any new methods or articles...
(0) odpowiedzi
2017-02-11 08:02 Not able to add UIImageView to MainViewController in ios Cordova? »
Iam trying to add a UIImageView on top of MainViewController and when i run the project UIImageView is not there. Infact if i add a plain UIVIew i c...
(0) 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-11 00:02 adding a pod to a universal framework library using cocoapods »
am using CocoaPods 1.2 and i have a project with 2 targets, one is the main iPhone app and the other one is cocoa touch framework library. I have no ...
(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 14:02 setRegion: MKMapView becomes unresponsive »
I have an MKMapView with 2 buttons on it: zoom in and zoom out. I noticed that when I use them, I can't pinch the map to zoom anymore until the anima...
(1) odpowiedzi
2017-02-10 13:02 Error using Parse - "_OBJC_CLASS_$_ParseClientConfiguration", referenced from: »
I am getting two errors after adding Parse in my Project: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_ParseClientConfiguration", refe...
(1) odpowiedzi
2017-02-10 12:02 CAKeyFrameAnimation not Linear for values greater than PI »
I am having some trouble to understand why an animation isn't working like expected. What I am doing is this: Create a UIBezierPath with an arc to ...
(1) odpowiedzi
2017-02-10 11:02 Issue with NSDateFormatter, while NSDate from string with time only »
I am facing wired issue with NSDateFormatter. Following is my code: NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDate...
(2) odpowiedzi
2017-02-10 10:02 to Call subclasses that have same variable and value »
so I have Animal superclass and three subclass : lion dog and elephant. enum Gender { case male case female } class Animal { var species...
(3) odpowiedzi
2017-02-10 08:02 Objective-C how to present an action sheet from tab bar that overlaps the current view? »
I'd like to add an action sheet that appears when tab bar center item is clicked. like in this example: this is how it shows when center item is clic...
(2) odpowiedzi
2017-02-09 20:02 How does a serial queue/private dispatch queue know when a task is complete? »
(Perhaps answered by How does a serial dispatch queue guarantee resource protection? but I don't understand how) Question How does gcd know when an ...
(3) odpowiedzi
2017-02-09 19:02 Objective-C try-catch - why does this compile? And why is the return different building debug vs release? »
Found this interesting bit of code in an Objective-C category which is used to catch NSExceptions and pass them as NSErrors to Swift code. What I do...
(1) odpowiedzi
2017-02-09 15:02 How to draw a grid inside a view in iOS? »
I have a UIImageView and two UIViews. ImageView can have one of two images inside depending on the state of my programme. The first view is used to ca...
(0) odpowiedzi
2017-02-09 13:02 View showing up with delay after Facebook Authentication »
I am using following code to display a toast after Facebook authentication if ([SLComposeViewController isAvailableForServiceType:SLServiceTypeFacebo...
(1) odpowiedzi
2017-02-09 12:02 How to trigger multiple UIGestureRecognizers without lifting finger from screen »
I have adjacent views on the screen, and each have a different UIGestureRecognizer. What I want is if I touch down in one view and move into an adjace...
(1) odpowiedzi
2017-02-08 11:02 Replace string with custom view »
I have a text view with a string: @"The best football player in the world is #OPTION, and the best basketball player is #OPTION?" This is an exampl...
(1) odpowiedzi