How can I do inline function calls in Objective-C? [closed] - objective-c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
The community reviewed whether to reopen this question 7 months ago and left it closed:
Original close reason(s) were not resolved
I want to call functions inline in Objective-C. How can I do this? I'm on iOS.

Since Objective-C is based on C, you can:
inline void myf() {int a; a=1;}
Objective-C does not support "inline" methods a la C++.

Related

What does #end do in Objective C? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I always see it when I'm browsing through code and I have absolutely no idea what it does.
It finishes a declaration.
For example, when you implement an interface, you do:
#interface MyInterface
/* functions and stuff here */
#end
It marks the end of an implementation of a class or interface.

Is double assignment valid in objective-c? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is the following line in objective-c compiles like in C?
a=b=1;
Yes, it works the same as in C.
Objective-C is a superset of C, so everything that works in C works in Objective-C.

Start up code in embedded c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can clock initialisation in a microcontroller be done using start up code?
A general approach is enough.
Read the datasheet of the device, do what it says.

Task-Based Parallelism in D [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Does the programming language D support task-based parallelism in any way, either natively or through some API?
check out the obviously named parallelism module

Objective-C - How to send a multiple parts message? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Here's more explanation.
- (NSArray *)shipsAtPoint:(CGPoint)bomblocation withDamage:(BOOL)damaged;
How to send that?
You'll want to read The Objective-C Programming Language, which you'll find in the Xcode docs.
[objectIWantToSendTheMessageTo shipsAtPont:somePoint withDamage:YES];