Top "Objective-c" questions

This tag should be used only on questions that are about Objective-C features or depend on code in the language.

UICollectionView Set number of columns

I just started learning about UICollectionViews. I'm wondering if anyone knows how to specify the number of columns in a …

ios objective-c xcode uicollectionview uicollectionviewcell
How to use performSelector:withObject:afterDelay: with primitive types in Cocoa?

The NSObject method performSelector:withObject:afterDelay: allows me to invoke a method on the object with an object argument after …

objective-c cocoa
Remove characters from NSString?

NSString *myString = @"A B C D E F G"; I want to remove the spaces, so the new string would …

objective-c nsstring
How can I load storyboard programmatically from class?

My problem is that I was looking for way to use both storyboard and xib. But I can't find proper …

ios objective-c xcode storyboard xib
Converting NSData to NSString in Objective c

I want to convert NSData to NSString..What is the best way to do this? I am using this code …

iphone objective-c ios ipad
Get UTC time and local time from NSDate object

In objective-c, the following code results in the UTC date time information using the date API. NSDate *currentUTCDate = [NSDate date] …

ios objective-c swift nsdate
Split an NSString to access one particular piece

I have a string like this: @"10/04/2011" and I want to save only the "10" in another string. How can I do …

objective-c swift string nsstring
How do I parse JSON with Objective-C?

I am new to iPhone. Can anyone tell me the steps to follow to parse this data and get the …

objective-c json cocoa-touch parsing
Add bottom line to view in SwiftUI / Swift / Objective-C / Xamarin

I would like to keep the border at the bottom part only in UITextField. But I don't know how we …

ios objective-c swift xamarin swiftui
Dismissing a Presented View Controller

I have a theoretic question. Now İ'm reading Apple's ViewController guide. They wrote: When it comes time to dismiss a …

iphone ios objective-c cocoa-touch uiviewcontroller