hi,
i have sent you already text for objective c tutorial, but unfortunately i didn't get any reply from you. if you send me objective C tutorial i would grateful to you.
Thanks
Antor
hi,
i have sent you already text for objective c tutorial, but unfortunately i didn't get any reply from you. if you send me objective C tutorial i would grateful to you.
Thanks
Antor
The original request from asked for an Objective-C tutorial; noted a reply in another thread. The short guide below is a compact, up-to-date starter: core concepts, a minimal hands-on example, common pitfalls, and authoritative resources to follow for deeper study.
A minimal program using Foundation (save as main.m):
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSLog(@"Hello, Objective-C");
}
return 0;
} Compile and run from Terminal (macOS with clang/LLVM):
clang -fobjc-arc -framework Foundation main.m -o hello
./hello Key topics to learn next in practical order: basic C and pointers; Objective-C syntax (@interface/@implementation, message sends like [obj method], property/dot syntax); Foundation classes (NSString, NSArray, NSDictionary); memory management differences (ARC vs manual retain/release); categories, protocols, and blocks; and then platform frameworks (UIKit for iOS, AppKit for macOS). For projects that mix C++ and Objective-C, use the .mm extension (Objective-C++).
Common troubleshooting notes: linker errors often mean a missing framework (add -framework Foundation for CLI apps). Forgetting an @autoreleasepool in a command-line app can cause leaks. Legacy tutorials may show manual retain/release—use ARC for new code or annotate files that require MRR. Objective-C/Swift bridging benefits from nullability annotations when migrating.
Authoritative references and deeper tutorials: The Objective-C Programming Language (Apple) and practical articles at objc.io. This note is intended to be a concise, self-contained starting point complementary to the replies already posted by forum members.
I replied to your other thread. Did you take my advice?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.