Why is objective c syntax so weird?
Answer / Mohit Singh Chauhan
"Objective-C's syntax can appear strange to those accustomed to other programming languages because it is a superset of the C programming language and includes Objective-C extensions. It uses square brackets `[]` for array indexing, @ symbols for defining classes and methods, and message syntax for method calls (e.g., `[object method]`)."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?
What is meant by not thread safe?
Are callbacks closures?
Who invented objective c?
How to restart app in objective c?
Is objective c, a dynamic language? True/false, explain.
What is the difference between weak and unowned?
Is swift faster than objective c?
What is the difference between method and type?
Which language does apple use?
Can you learn swift without knowing objective c?
What is the class of a constant string?