As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [objective-c-runtime]

The Objective-C runtime is a runtime support library provided with an implementation of the Objective-C language. Its API allows dynamically creating and configuring classes at runtime, as well as introspecting existing classes, methods, properties, and method implementations.

Filter by
Sorted by
Tagged with
4 votes
2 answers

Generate prime factorisations of factorial numbers

The code was written to generate the factorisation of numbers into primes in ascending order. E.g 3! ='2 * 3', 4!='2^3 * 3'. When I have huge numbers such as 100!, the run time becomes a problem. I ...
Martins Micheal's user avatar
1 vote
0 answers

Runtime function in Swift

I have the following case, I need to delete a specific observer for the firebase database reference, so I made a code that looks something like it looks to the ...
Alexander Khitev's user avatar
3 votes
0 answers

UIScrollView Category utility function for auto sizing contentSize

I wanted a utility function on UIScrollView to automatically size the contentSize based on the content inside the scrollView. How is this? ...
Adam Johns's user avatar
5 votes
1 answer

Generic class for displaying UIAlertView / UIAlertController on iOS

To address backwards compatibility for UIAlertView, I have come up with an interface that would seem to work for both iOS ...
amieka's user avatar
  • 61
4 votes
1 answer

Dynamically setting unknown properties of a subclass from parent class in Objective-C

I'm doing my best to explain how this works, but it's pretty confusing and lengthy. Let me know if there's something I can do to clarify. I'm building a class that models a custom Plist and sets its ...
Logan's user avatar
  • 303