way to compare whats going on during a specific time? [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 10 years ago.
So I have multiple timers going on at a given time, is there any way to say,
if (randomTimer isGoingOnAtTheSameTimeAs randomTimer2)
[self doSomethingAwesome];
any responses would be greatly appreciated!

if ([randomTimer isValid] && [randomTimer2 isValid]) {
[self doSomethingAwesome];
}

Related

Passing an integer to a method [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 am trying to pass a simple integer of type int to a void method which looks like this:
-(void)deleteGroup{
I know I should do something like:
[self deleteGroup withInt: 3];
But I can't seem to figure out the correct solution
You need to change
-(void)deleteGroupWithInteger:(NSInteger)intValue{
Then use
[self deleteGroupWithInteger:3];

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.

Create Custom View? [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 to create Custom View like this
take a look at GCRetractableSectionController. Maybe it can handle the behavior you need, just check out the example project provided with it.

In Obj-c/iOS would it be best to store seconds as an int or a NSNumber? [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.
In Obj-c/iOS would it be best to store seconds as an int or a NSNumber? unfortunately I'm not able to use NSTime, as I'm storing it on a server, and they don't do NSTime.
Thanks for any advice.
I don't think it really matters so for simplicity I'd say an int just because it doesn't need to be initialized.

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];