Join Exercism’s Objective-C Track for access to 51 exercises with automatic analysis of your code and personal mentoring, all 100% free.
@interface HelloWorld : NSObject
- (NSString *)hello:(NSString *)name;
@end
@implementation HelloWorld
- (NSString *)hello:(NSString *)name {
if (!name) { name = @"World"; }
return [NSString stringWithFormat:@"Hello, %@!", name];
}
@end
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Implement the `keep` and `discard` operation on collections. Given a collection and a predicate on the collection's elements, `keep` returns a new collection containing those elements where the predicate is true, while `discard` returns a new collection containing those elements where the predicate is false.
Convert modern Arabic numbers into Roman numerals.
Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
Automatic Reference Counting (ARC) allows memory to be managed automatically.
Flexible and easy to use.
Objective-C can work with C, C++, and Swift.
Use all Apple frameworks and libraries to develop apps for Apple's platforms.
Objective-C is an object-oriented language, inspired by Smalltalk.
Allows the addition of methods to a class without subclassing or changing the actual class.
Every language has its own way of doing things. Objective-C is no different. Our mentors will help you learn to think like a Objective-C developer and how to write idiomatic code in Objective-C. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Objective-C - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe Objective-C track on Exercism has 51 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.
See all Objective-C exercisesThe best part, it’s 100% free for everyone.