I using library libPhoneNumber-iOS for formatting phone numbers in my app. When I deleting text from the end of the text field, all works fine, but if the cu
I have a UIView in a custom UITableViewCell and I want to round just bottom Left and Right corners of that view. I'm doing the following, but it's not working:
I used the following code UITextField *email =[[UITextField alloc]initWithFrame:CGRectMake(48, 330, 330, 50)]; UITextField *password =[[UITextField alloc]initWi
I have a MacOS Objective-C project with a parent NSWindow and an NSPanel containing a TableView whose delegate and data source is a class called TableController
I have a UICollectionView created from storyboard, I want to have 3 items per row in the view. I managed to do that using the following: - (CGSize)collect
I'm trying to use SceneKit to develop a game for tvOS, and I'm having an issue. When I set the node's eulerAngle before apply an impulse to the physicsBody the
I am converting all my UIActionSheet and UIAlertView with UIAlertController. My problem is when I try to present a UIAlertController of style ActionSheet. Here
When create UIButton with auto layout, the intrinsicContentSize always contain different top/bottom padding according to different text font size. I try to set
I wonder how to get distance between two SCNNode (ObjC and Swift) Thanks
How can I modify the multiplier of a constraint programmatically? I have set the following: [self.view addConstraint:[NSLayoutConstraint constraintWithItem:_bu
I'm trying to integrate clevertap with native react and when I include "use_frameworks!" in cocoa pods to be able to use #import <CleverTapReact / CleverTa
I am using keychain in my macOS app to store jwt tokens (access and refresh)(kSecClassGenericPassword) and I have figure out that I can't manage existed data vi
I have created a UIcollectionView and an array with some strings @[@"Item One", "Item Two", @"Item Three"]; In Tableview I would do this: NSString *object = s
I am using keychain in my macOS app to store jwt tokens (access and refresh)(kSecClassGenericPassword) and I have figure out that I can't manage existed data vi
This is the line that the error is occurring on. [self addAttribute:(__bridge NSString*)kCTForegroundColorAttributeName value:(__bridge id)color.CGColor range
I have a litle problem with saving a color in NSUserDefaults . In objective-c is easy : -(NSColor *)colorForKey:(NSString *)key{ NSData *data; NSColor *color
How do you get the class name of a UIViewController class in Swift? In Objective-C, we can do something like this: self.appDelegate = (shAppDelegate *)[[UIAppli
I'd like to append an NSTextAttachment image to my attributed string and have it centered vertically. I've used the following code to create my string: NSMuta
I'm trying to use the CLLocationManager framework in my iOS project to access the user's location but when I call [locationManager startUpdatingLocation] ne
In objective-c, function cal is translated to objc_msgSend. e.g. [foo doSomething:@"keke"] is translated to objc_msgSend(foo, "doSomething:", @"keke") How