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.
Related
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.
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.
When I am trying to use round_page() function in my project, it stops compiling and says that there is linker problem. What am i doing wrong?
Sorry, I realized that i just had to include mach/mach-init.h
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.
I can't fing this method in any version of Mono.Android.dll...
is a static method
SensorManager.GetRotationMatrixFromVector(float[], float[])
Namespace: Android.Hardware.
It works since API Level 9.
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];
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++.