Data dodania Pytanie
2017-01-14 22:01 doesNotRecognizeSelector error after respondsToSelector check »
Short description: I get doesNotRecognizeSelector error when call method on object that definitely has this method and it happens after calling respon...
(2) odpowiedzi
2017-01-14 18:01 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Can't cancel on a touch that isn't already active!' »
I have an error message when I tap very quickly in a TextView into a TableView. It crashes and gives me the error message : *** Assertion failure i...
(0) odpowiedzi
2017-01-14 18:01 Calling getter for dispatch_queue_t property causes crash »
I have a private serial queue declared as a property and I am running into a very strange situation. If I dispatch_async the property, it will crash ...
(1) odpowiedzi
2017-01-13 12:01 how to find particular color in an uiimage and change that color »
I want to find particular colour in an image,for example I have an image which has many colours.by assigning red parameter i want change other colour ...
(1) odpowiedzi
2017-01-13 08:01 Reduce the UIView size without cutting its content »
I'm drawing in a UIView with frame property (x, y, width, height) values [0, 0, 350, 700] I want make this a subview of a view with frame values [50...
(1) odpowiedzi
2017-01-13 03:01 UIView's Backing CALayer Does Not Reenable Implicit Animations In Block Anymore? »
According to official documentation, The UIView class disables layer animations by default but reenables them inside animation blocks. backing ...
(0) odpowiedzi
2017-01-12 19:01 Thread safety of primitive value type properties - Objective C »
Question I am working on a project where I am concerned about the thread safety of an object's properties. I know that when a property is an object s...
(1) odpowiedzi
2017-01-12 18:01 How do we return an optional enum value from Swift to Obj-C? »
We know how to expose Swift enums to Obj-C: @objc enum Animal: Int { case Cat, Dog } But the compiler complains that the following "cannot be r...
(1) odpowiedzi
2017-01-12 03:01 How to animate a stitched image? »
The animation is created using a stitched image. For example, the animation in the video above uses this stitched image (This image is just 1 jpg file...
(1) odpowiedzi
2017-01-11 19:01 Get Data from UUID in Swift 3 »
I have the following code written in Objective C that I am trying to get working in Swift 3. Some of the functions equivalents do not appear to be ava...
(2) odpowiedzi
2017-01-11 07:01 Convert a downloaded image to in-memory static image -IOS »
My scenario goes in this way. At the start of application a list of images will be downloaded from server & once downloaded all images will be con...
(2) odpowiedzi
2017-01-11 06:01 how to separate input string and populate on table view with how many times it repeated and passe the index to next »
I am very new to iOS and ObjectiveC. I searched everywhere but I didn't find required option and I was not able to understand. UIAlertController * al...
(1) odpowiedzi
2017-01-10 22:01 How to convert Objective-C line to Swift? »
I have code in Objective C: NSMutableArray* paths = [textView.textContainer.exclusionPaths mutableCopy]; and now when I try to convert it to Swift:...
(3) odpowiedzi
2017-01-10 07:01 Compare Two Array and mapping equal the objects »
Here i have two array's like first array is, [ "A", "B", "A", "B", "N", "B" ] second array like, [ { "A": "2,141.8" }, { ...
(2) odpowiedzi
2017-01-10 04:01 Add new cell row on Clicking Button which is in cell »
I have subclassed UITableViewCell with custom class. And added some outlets to it. Now I want to get the IBAction on button inside my cells. How i can...
(5) odpowiedzi
2017-01-09 22:01 Regular expression to extract a number of steps »
I have a localized string that looks something like this in English: " 5 Mile(s) 5,252 Step(s) " My app is localized both in left-to-right...
(4) odpowiedzi
2017-01-09 16:01 icon badge not appear in IOS 10 simulator »
I expect to see a bubble icon badge number after clicking the button that should set a bubble number of app icon - but- I dont see any numbered bubbl...
(1) odpowiedzi
2017-01-09 12:01 CTFramesetterRef is truncating part of text in UILabel »
I have created a HighlightLabel class of UILabel which is used to search text and highlight those text. My issue is some last letters are removed. #i...
(0) odpowiedzi
2017-01-08 20:01 How are bodyA and bodyB determined in SKPhysicsContact? »
I have two different fixed SKPhysicsBody in an SKScene. The only difference between the two is their categoryBitMask. One has a categoryBitMask of 5...
(1) odpowiedzi
2017-01-08 12:01 Why there is No constant NSArray Literal and NSDictionary Literal »
As apple Introduced a new syntax for array literal and dictionary literals: NSArray* literalArray = @[@"1", @"2", @"3"]; //Dictionary Literal NSDict...
(2) odpowiedzi
2017-01-08 06:01 Why can't Interface Builder set a negative multiple for a constraint, even though [NSLayoutConstraint constraintWithItem:] can? »
I have an iOS 9 & 10 app which has a little "tray" UIView along the bottom of the window that slides in and out to display (or hide) certain contr...
(2) odpowiedzi
2017-01-07 11:01 Change separator color in UISegmentController? »
My project have UISegmentController. I have gray color separator. in between the black line is the separator, there is white separator, but I want g...
(1) odpowiedzi
2017-01-07 09:01 Image Cropping Issue for Cropping an Image »
I want to crop an image, and I have searched many libraries but have not found a perfect answer. I want to crop an image using rectangle shape, which...
(2) odpowiedzi
2017-01-07 03:01 Objective-C cast a block type into another got unexpected result »
typedef (void (^blockType)()); I need cast blocks with different argument types into a same type blockType, and invoke it as the original type later....
(2) odpowiedzi
2017-01-06 20:01 AVCaptureDevice isInUseByAnotherApplication always returns false »
I'm doing a basic application on Objective-C and the AVFoundation framework, I wanna detect if the built in camera for Mac is being used by another ap...
(1) odpowiedzi
2017-01-06 15:01 Xcode 8 Autocomplete Broken - Displays only limited User code snippets - Know why? »
This just started today. Autocomplete had been working fairly well and then started sputtering, only showing autocomplete for some standard Cocoa clas...
(1) odpowiedzi
2017-01-06 05:01 How to get custom TableViewCell value on view controller in objective c »
I am new in iOS and I am facing problem regarding to get the value from custom table view cell value to the view controller. In my custom table view ...
(2) odpowiedzi
2017-01-05 15:01 Swift/ObjC: IBOutlets shown as `not bound` from Interface Builder »
Ever since Xcode 6, when you bind objects from a Storyboard/xib file to a variable in your class, they often show not bound in the class. So, finding ...
(1) odpowiedzi
2017-01-05 12:01 How to add a continuous sine wave mask to an image iOS? »
I am trying to create a loader framework which will almost look like this. But I don't have much info about how to do this. Creating a sine wave using...
(1) odpowiedzi
2017-01-05 11:01 Should I avoid UI when iOS app is launched in background »
My app supports background location updates (specifically with significant location monitoring). Do I need to prevent UI (via controllers etc.) from ...
(2) odpowiedzi
2017-01-04 19:01 UIActivityIndicator stopping animating before NSFetchedResultsController finishes fetch »
I have a core data request being made through a NSFetchedResultsController. The expected outcome of this code is that a UIActivityIndicator will start...
(1) odpowiedzi
2017-01-04 11:01 Scroll child scrollview only when parent scroll view reaches end »
I have a parent UIScrollView and a UICollectionView inside that UIScrollView. I want that UICollectionView scroll begins only when the parent UIScroll...
(2) odpowiedzi
2017-01-04 10:01 Get values from NSDictionary »
Hi I'm new to iOS development. I want to get response and add those values to variable. I tried it but I'm getting below response. I don't understand...
(3) odpowiedzi
2017-01-03 19:01 iOS SDK can you mute or cancel incoming calls »
I found various threads here about how muting or canceling incoming calls (or messages) with the iOS SDK is not possible, due to the fact that Apple d...
(1) odpowiedzi
2017-01-03 10:01 Why Imageview always streched show image streched iOS? »
I have use the imageview and it contains different images but some image show stretched then how to Show image without stretched.I use below code for ...
(2) odpowiedzi