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 was wondering how do you set a textfields text in XCode Objective - C.
[myTextField setStringValue: #"a string or an NSString object"];
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 9 years ago.
how to call this method?
- (NSMutableArray*) readDataFromDatabase
and this--->
- (void)inserisciValoriDaDB:(NSArray *)insert :(NSString *)sqlAdd
NSMutableArray *array = [self readDataFromDatabase];
[self inserisciValoriDaDB:yourarray add:yourstring];
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];
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];
}
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 am having a string like: funcname("data"),comes from upstairs.now i want to save the funcname, data in two NSString variables i.e i need to find the string present in between "" and the string before'('.
There's a very useful class NSScanner that will help you to parse different tokens easily.
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];