Home Tutorialhelp Comment Won't work later with apple libs

 
 

Comment

mraak
Won't work later with apple libs,
March 14, 2010 at 4:05 PM

This compile works, now but later when you start using NSObject and other core classes from Foundation library it won't work. You have to specify lib paths at the end of compile command.

gcc -o test test.m -I /GNUstep/System/Library/Headers \
-L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base


Otherwise this is by far the best tutorial to get you up and running with core concepts of OC. Very easy to follow and with no extra clutter. Wouldn't it be for this annoying adds you'd have 1000x more visitors I guess.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
iPhone

Objective C
; Objective C is a programming language, which is sleeted by Apple for developing.... Now Objective C has become popular once again as it is being used by Apple... applications for Mac System and iPhone.   Objective C Hello 

Tutorials

What is Objective c iPhone?
step-by-step guide of objective c 2.0 from apple?s website. The objective c...What is Objective c? Objective c is a standard objected oriented programming... the Objective c tutorial, you will reveal lots more about the particular 

IoC Questions

objective c in iphone
objective c in iphone  how to minimize the uiview iin window effect in iphone..... rly me soon 

IoC Questions

iphone sdk-objective c
iphone sdk-objective c  how to delete random value which is got from the random function in an array 

iPhone

Compiling Objective C
Compiling Objective C       In this section we will show you how to compile Objective C program on windows and Max OS x machine. Compiling Objective C program 

iPhone

Objective C on Windows
Objective C on Windows   ... on Windows machine. We will download and install Objective C Windows compiler. On windows GNU C compiler can be used to compile the Objective C program. Objective 

IoC Questions

objective c
objective c  how to minimize the uiview in widow effect in iphone sdk 

Blog

Sitemap iPhone Tutorial
and definitions | Apple iPhone 3G | Objective-C keywords | Objective C... iPhone | Objective C Tutorial | Objective C Introduction | Why Objective C? | Objective C Hello World | Objective C on Windows | Objective 

iPhone

Objective C Hello World
the Objective C Hello World example on windows machine. Create first objective-c... Objective C Hello World       In this section I will show you how to develop Objective C Hello 

iPhone

Why Objective C?
for Mac System and iPhone. Why we use objective c?     It has... Why Objective C?       In this section we will learn about the importance of Objective C 

iPhone

Objective C Introduction
Objective C to develop full fledge applications. Apple has selected Objective C... Objective C Introduction       This section provides you the basic introduction about Objective C 

Tutorials

NSString in objective c
NSString in objective c In this series of Iphone application development... and objects...that are used in objective C. NSString is one of them. Brief Introduction... NSObject(Objective c) and represent the set of character or character strings 

iPhone

Objective C Tutorial
for Mac, iPode and iPhone. To learn Objective-C you must have prior programming... Objective C quickly and start developing applications for iPhone and Mac operating... Objective C Tutorial       

Mobile Applications Questions

How do SEL and @selector work in iphone sdk?
How do SEL and @selector work in iphone sdk?  How do SEL and @selector work in iphone sdk?   SEL is a type that represents a selector in Objective-C. The @selector() keyword returns a SEL that you describe 

Tutorials

iPhone Loops in objective c
iPhone Loops in objective c If you have started learning Objective c... of loop examples, i have discussed about... Do loop in Objective c while loop in objective c for each loop in objective c and for loop objective c 2.0 

iPhone

iPhone
; Apple iPhone 3G is a multi-touch smartphone that has successfully combined... The iPhone is a touch screen phone launched by Apple Inc in 2007 that has..., Apple Inc had a clear winner in its hands.   iPhone 

Software Services

Offshore iPhone Development
Offshore iPhone Development With the evolution of Apple's iPhone (internet... application software for iPhone and stored on iTune - Apple's multimedia... have well equipped professionals who work on iPhone Application Development 

Software Services

iPhone Native application
development for iPhone needs strong command over the syntax of objective C... of the popular C language that is used for the iPhone development. Objective-C...iPhone Native application Apple iPhone brings revolution in the world 

Tutorials

iPhone Do loop in Objective c
iPhone Do loop in Objective c As you know, the concept of loop is almost same in objective c programming. So, here in this tutorial of "Do loop in Objective c... type for objective c programming. We are also using the same.  Once you 

Development process Questions

SOLUTION: How to compile Objective C on Windows with GNU Step ?
SOLUTION: How to compile Objective C on Windows with GNU Step ?  <p>I just started learning ObjC today and found this tutorial informative, except the fact that the above program needs some more instructions to run. Here 

Software Services

iPhone Development in India
iPhone Development in IndiaIn June 2007, the Apple Inc had launched.... With introducing iPhone in the market, Apple had also introduced several exclusive... for iPhone were stored in Apple's store kit available on the official website 

Training

Objective C Training
the insufficiency of iPhone and Objective C professional, Roseindia has decided... the fresher in objective C and iPhone technology. The training classes begin... Objective C Training     Roseindia 

Software Services

iPhone Application Development
in the iPhone SDK. Objective-C gives flexibility to Cocoa Framework...iPhone Application Development For developing any application, Apple.... The tools offered by Apple for the development of apps for iPhone are same used 

Tutorials

iPhone for each loop in Objective c
iPhone For each loop in Objective c In general, for each loop is used... it with a small "for each loop in objective c " example. I have... objective c example, moves around the for each loop, how to use it and get 

Mobile Applications Questions

iphone
iphone  how to play sound in alarm made by ekevent class in objective c 

Training

iPhone Programming Training Course
understanding of Objective C Learn how to develop windows based applications... is ideal for beginners having knowledge of C and C++. After completing the iPhone... will teach you: Objective C Cocoa framework IOS API Xcode 

Tutorials

iPhone Hello World in Objective C
iPhone Hello World in Objective C This is a very simple objective c hello world program example, in which you will learn how to make your first hello world application on object c using xcode. If you are a beginner...no worries, just 

iPhone

Apple iPhone in China
Apple iPhone in China       The iPhone, which has become a craze the world over but eluded... difficult task for Apple and the service provider will be to ensure that the iPhone 

Software Services

iPhone 3GS Programming
of iPhone 3G, which Apple inc had released in 2007. With the launch of iPhone 3GS, Apple continues to dominate the smart phone market... memory in iPhone 3G. The Apple's iPhone not only came 

Software Services

iPhone Development
and interfaces like iPhone Software Development Kit (SDK), Cocoa Touch/ Objective C...iPhone Development Apple Inc. in June 2007 had created a revolution.... Apple had slapped some restriction on iPhone's software, in which Apple's 

iPhone

Dynamic Types in Objective-C
Dynamic Types in Objective-C       Objective-C provides many methods to work... = [[SecondClass alloc] init]; /* some methods to work with dynamic 

Mobile Applications Questions

objective c subclassing tutorial
objective c subclassing tutorial  objective c subclassing tutorial 

Mobile Applications Questions

Catagories in Objective C
Catagories in Objective C  catagories in objective c   Categories in Objective C 

Mobile Applications Questions

logical operators in objective c
logical operators in objective c  logical operators in objective c 

Mobile Applications Questions

global variable in objective c
global variable in objective c  Declaring global variable in objective c 

Mobile Applications Questions

Struct in objective c example
Struct in objective c example  I am looking for a struct example in Objective C. Thanks 

Mobile Applications Questions

comparing dates objective c
comparing dates objective c  Comparing two different dates in Objective C.   if( [date isEqualToDate:otherDate] ) NSLog(@"%@ is equal to %@",date,otherDate);   Objective C NSString Date Example 

Mobile Applications Questions

Objective C Message Passing
Objective C Message Passing  What exactly a message passing means in Objective C? and how can i pass a message to a method 

Mobile Applications Questions

objective c boolean example
objective c boolean example  Hi, Can anyone tell me how to use boolean variable in Objective c? Thanks 

Mobile Applications Questions

@Protocols in Objective C
@Protocols in Objective C  Understanding @Protocols in Objective-C   @protocol in objective c @protocol is the keyword type in Objective C. Which is used to declare a formal protocol. You can find more Objective c 

Java Beginners

Canvas won't draw on composite (SWT)
Canvas won't draw on composite (SWT)  I can't get a canvas to draw... but the canvas won't draw the image. Please help me and bare with me because I'm...(display,"C:\\Users\\Public\\Pictures\\Sample 

Mobile Applications Questions

objective c if string equals
objective c if string equals   Checking if a string is equal to ' " '   In objective c, isEqualToString is a keyword that allows you to check if the string is equal to or not. if ([text isEqualToString 

Mobile Applications Questions

Parsing string in objective c
Parsing string in objective c  Hi, How can i parse a string in Objective c?? Thanks.   Parsing string in objective c This example will also help you to separate the strings separated by one component 

Mobile Applications Questions

retain count in Objective C
retain count in Objective C  what is the retain count in Objective C?   retainCount in Objective c retainCount: retain count method is used... of retainCount method here Objective C Memory Management Tutorial 

Mobile Applications Questions

Objective C Unichar example
Objective C Unichar example  A simple example of writing unichar in Objective C. Thanks.   An example that returns the value to every new line in the application. -(BOOL)NewLine:(unichar)c { if(c == '\n') return 

Mobile Applications Questions

database application in objective c
database application in objective c  How to create a database application in XCOde 

Software Services

Hire iPhone developer
for iPhone Software Development Kit (SDK), Cocoa, Cocoa Touch ⁄ Objective C...Hire iPhone developer - Hire iPhone developers in India Apple?s iPhone... knowledge of Mac operating system and objective C language, and sharp 

Training

iPhone Development Training in Delhi
such as Objective C, Cocoa framework, Foundation API, Graphics API and many more topics... Objective C programming Language Cocoa framework XCode IDE...iPhone Development Training in Delhi We are providing iPhone Development 

Mobile Applications Questions

Objective C resize UIImage
Objective C resize UIImage  i just want to resize the image on the touch detection. That means if a user double clicks on the UIImage it must resize the image 

Mobile Applications Questions

objective c is kind of
objective c is kind of  Hi, Provide me code of objective c is kind of method in objective c. I have to find if a view is kind of UIButton. Thanks   Hi, Here is code example: for(UIView *subview in [hScrollView 

Tutorials

Objective c date: NSString Date
Objective c date: NSString Date In_ the given objective c date functions... of NSString class. To print the current date on iphone we required, a lable(to print... The NSString date application in iphone will look like this: Click to Download Code 

Mobile Applications Questions

Why NSString Objective C
Objective C NSStrings is a class that deals with strings in objective c...". for example comparing strings in objective c if([statusString isEqualToString...Why NSString Objective C  Why we use the NSString class in Objective 

Software Services

Offshore iPhone Apps Development
Offshore iPhone Apps Development Since the origination of Apple's internet mobile phone ' iPhone ' has dominated the smart phone market... in Objective C language, Unix and Mac OS X, and other programming languages. Our 

Free C++ books

C/C++ Programming Books
; Object-Oriented Programming and The Objective C Language... C/C++ Programming Books         Visual C++ 6 Unleashed 

Mobile Applications Questions

objective c define float
objective c define float  Hi, How to define float variable in objective c? Thanks   Hi, Here is the example of defining float variable. float i; i=10; Thanks   Hi, Here is another example: // File 

windows

Windows 8 versus Android
Windows 8 has launched at a time when the much thrived smart phone and tab... the potential success of all the platforms and in talking of Windows 8 versus Android... android is a platform that almost swept majority of smart phone devices Windows phone 

Blog

Fring Application for Apple iPhone
New Version of Fring for iphone Apple has developed new version of Fring... can be used on the original iPhone, iPhone 3G or iPod Touch. Fring facilitates.... The users can move Fring settings to the general iPhone settings, so there?s no need 

Mobile Applications Questions

objective c pass by value
objective c pass by value   How to pass value by reference in objective c?   - (void)parentFunction { int i = 0; [self modifyValueOfPassedArgument:i]; //i == 0 still! } - (void)modifyValueOfPassedArgument 

Mobile Applications Questions

what is class methods in objective c
what is class methods in objective c  What is class methods in objective c? Explain the class method of objective c with the help of an example 

Mobile Applications Questions

what is class methods in objective c
what is class methods in objective c  What is class methods in objective c? Explain the class method of objective c with the help of an example 

Mobile Applications Questions

validate email objective c
validate email objective c  how can i validate email text field in objective c? is there any method that support multiple email address separated by coma.   - (BOOL)validateEmailWithString:(NSString*)email 

iPhone

iPhone News
;    iPhone is a multi-touch smartphone launched by Apple Inc... Apple Stores.   iPhone 3.0 SDK delivers on its Promise Coming....   Finally Apple Unlocks the Bluetooth Features on iPhone Experienced 

Mobile Applications Questions

objective c extending a class with a class
objective c extending a class with a class  I need an example for extending a class with a class in objective c. thanks 

Mobile Applications Questions

objective c extending a class with a class
objective c extending a class with a class  I need an example for extending a class with a class in objective c. thanks 

Mobile Applications Questions

creation button using objective c
creation button using objective c  creation button using objective c 

Tutorials

Selector in Objective C
Selector in Objective C In this iPhone selector example, you will learn how to use selector in your iphone app. Though we'll explain it with the help... in Objective C In short, Selector can either be a name of method or a message 

iPhone

Comparing the various Open Source Java iOS Tools
in Objective-C. Objective-C is the Apple's code for iOS devices. In September 2010... on all Apple devices i.e. iPhone and iPad. Before it was not a possibility... translator that translates Java code to Objective-C source code 

Training

Online and Onsite iPhone Training Course from Rose India
    Apple iPhone is a great 3G multi-touch phone...: Introduction to Objective-C and Cocoa Interface Building and Xcode... applications effortlessly. Course is divided into two parts: •  Objective C 

Software Services

Apple's New iPad? Is It The Hottest New Release Or Simply An iFlop?
are if you already love other Apple products like the iPhone, iPod and iMac you... An iFlop? Apple has been around for what seems like a technological lifetime... all over the world. After much anticipation, Apple finally released its new 

iPhone

Finally Apple Unlocks the Bluetooth Features on iPhone
Finally Apple Unlocks the Bluetooth Features on iPhone       Experienced Apple users while praising their Apple products will cringe at typical Apple idiosyncrasies 

Mobile Applications Questions

convert char to string objective c
convert char to string objective c  Converting char to string in objective c   NSString *s = [[NSString alloc] initWithBytes:arr + 2 length:3 encoding:NSUTF8StringEncoding 

Mobile Applications Questions

copy string to string objective c
copy string to string objective c  How to copy a value of NSString to another string in Objective C? I have to different views and i am will to show the NSString value in both of them. Thanks 

Mobile Applications Questions

what is retain count in objective c
what is retain count in objective c  what is retain count in objective c ?   retainCount in Objective c retainCount: retain count method... of retainCount method here Objective C Memory Management Tutorial 

Mobile Applications Questions

ios work with nsdictionary
ios work with nsdictionary  How to work with NSDictionary in Objective C?   Working with NSDictionary in Objective C Basically, in Objective C NSDictionary is used to create and retrive the Key values for objectecs 

iPhone

iPhone 3.0 is finally here!
jubilation, first generation iPhone user's still won't be able to send MMS as the original iPhone lacks the requisite hardware support. Apple has also added... developments are music for the ears of the large iPhone developer community for whom Apple 

Mobile Applications Questions

Objective C if else statements syntax
Objective C if else statements syntax  What is the syntax of if else statements in Objective C?   Using of if else statement in Objective C... it in the same style as you write for C++ program. See the example below.. int x 

Mobile Applications Questions

objective-c when is loadview called
objective-c when is loadview called  How can i load data into loadView instead of ViewDidLoad method. My main aim is to load the data after view get loads. Please suggest 

Mobile Applications Questions

Language in iphone development??
Language in iphone development??  What programming language we use in iphone development???   hello, we are using Objective C in iphone development 

Mobile Applications Questions

How to develop iphone application on windows OS?
How to develop iphone application on windows OS?  Is it possible to develop j2me based application in IPhone 

Software Services

Website design for iphone
, designed and marketed by Apple Inc. Introduction of iPhone... Website design for iphone When the iPhone was first revealed it was certainly a step forward in mobile 

iPhone

Installing iPhone SDK
Apple's iPhone has a different type of development tools that needs to download.... The Apple's SDK enables the programmers to develop software for iPhone. The pre-knowledge of Objective C is essential for the programmers to develop any 

Mobile Applications Questions

objective c read file line by line
objective c read file line by line  Please explain how to read files in Objective C line by line 

Software Services

iPhone Development in Delhi
/ Objective C, Xcode IDE, Interface Builder, Audio Video Foundation Framework...iPhone Development in Delhi Before reaching in India, iPhone had become..., and fascinating look. The iPhone, which was released in US first in 2007, had 

iPhone

iPhone Development in 2009
;  The iPhone, Apple Inc's latest gadget is already a craze... that incorporates 3G and Wi-Fi. The iPhone offers the Apple SDK development platform apart... in the lead. iPhone Music: The Apple iPhone comes with an integrated iPod with crystal 

Mobile Applications Questions

iPhone Capturing Screen SDK
iPhone Capturing Screen SDK  Creating an application to capture the screen shots from iPhone. In objective c is there any class that make it enable..?   UIGraphicsBeginImageContext(CGSizeMake(480,320)); UIImage* result 

iPhone

Objective-C keywords
Objective-C keywords      ...-C language. Objective-C is a superset of C language, so program written in c and C++ should compile as objective-c. It provides some additional keywords 

iPhone

iPhone Programming tutorials and examples
is designed for both newcomers and experienced programmers. Objective of the iPhone... iPhone Application Development       The iPhone Application Development Tutorials The iPhone 

Software Services

iPhone Game Development Company
of Roseindia is quite efficient with Cocoa ⁄ Objective C, Cocoa touch...iPhone Game Development Company Since the evaluation of the video games... of launching new games become multi folds with the launch of iPhone - Internet 

iPhone

Objective C Constructors
Objective C Constructors       Objective-C enables user to define constructor with the help of self and super keywords. Like java Objective-C has parent class and programmer 

Mobile Applications Questions

how to read files of directory objective c
how to read files of directory objective c  how to read files of directory in objective c?   [[NSFileManager defaultManager... objective c, you need to first get the path and load then load that content 

Mobile Applications Questions

Select string from array in objective c
Select string from array in objective c  Hi, I wanted to select a string from the database table in objective c. But somehow it is not working..can-you suggest anything regarding the fetch query in objective c? Thanks.   

Mobile Applications Questions

share data iphone sdk
. In objective c there is a method called MFMailComposer that enables the mail feature...share data iphone sdk  How to share data in iPhone application? Actually i want the sharing feature in my iPhone application. Thanks!   You 

iPhone

Objective C on Mac
Objective C on Mac       I this section we will show you how to compile and run Objective C program on Mac machine. Compiling Objective C on Mac OS x To Compile Objective-C 

Design concepts & design patterns Questions

iphone
† ¬† ¬†b. ¬†Sign ¬†Up ¬† ¬† ¬† ¬†c. ¬†Maximum ¬†Tries ¬†(3) ¬†then ¬†lock ¬ 

Mobile Applications Questions

match string to regular expression - Objective C
match string to regular expression - Objective C  How to match string value to regular expression in objective c?   Use NSPredicate. See the example given below... NSString *searchString = @"loginStatus"; NSString 

Development process Questions

C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser 

Mobile Applications Questions

print variable in iphone
print variable in iphone  how can i print a variable in iphone????   hello,, if you want to print a variable in objective C if integer then int i=3; NSLog(@"%d",i); if string then NSSting *str; NSLog(@"%@",str 

Software Services

iPhone apps developer
iPhone apps developer With the launch of Apple's innovative product iPhone... the revolution and to be front-runner in the market, Apple has launched several innovative software first itself and later giving authority to any third party 

Mobile Applications Questions

Resizing Height of UITextView iPhone
Resizing Height of UITextView iPhone  Hi all, Is it possible to resize the height of the UITextField in objective C 

Java Technology Tutorials

Objective-C program with multiple parameter
Objective-C program with multiple parameter       Objective-C enables programmer to use method... method for more than one parameter -(int) sum: (int) a andb: (int) b andc:(int)c 

Advertisements Advertisements
 

 

 

DMCA.com