About 50 results
Open links in new tab
  1. C function vs. Objective-C method? - Stack Overflow

    In general, you use Objective-C methods when talking to objects and function when working with straight C goop. Given that pretty much all of Mac OS X and iOS provide Objective-C APIs -- certainly …

  2. objective c - @interface and @protocol explanation? - Stack Overflow

    The @interface in Objective-C has nothing to do with Java interfaces. It simply declares a public interface of a class, its public API. (And member variables, as you have already observed.) Java …

  3. What is the difference between c++, objective-c and objective-c++?

    Oct 14, 2010 · You can use Objective-C++ in iPhone development. What this means practically is that you could write an application whose object model was entirely C++, where the controller layer would …

  4. What does the @ symbol represent in objective-c?

    Aug 25, 2008 · 155 I'm learning objective-c and keep bumping into the @ symbol. It is used in different scenarios, for example at the start of a string or to synthesise accessor methods. What's does the @ …

  5. How different is Objective-C from C++? - Stack Overflow

    Objective-C allows assigning to self, and allows class initialisers (similar to constructors) to return a completely different class if desired. Contrast to C++, where if you create a new instance of a class …

  6. iphone - Why does Apple use Objective-C? - Stack Overflow

    Jan 24, 2021 · Objective-C was the official language of NeXTSTEP's application frameworks, which became Mac OS X's Cocoa. Mac OS X was then adapted into the iPhone OS, and Cocoa was made …

  7. How can I import Swift code to Objective-C? - Stack Overflow

    The Swift files in your target will be visible in Objective-C .m files containing this import statement. To avoid cyclical references, don’t import Swift into an Objective-C header file. Instead, you can forward …

  8. Shortcuts in Objective-C to concatenate NSStrings

    Feb 4, 2009 · After a couple of years now with Objective C I think this is the best way to work with Objective C to achieve what you are trying to achieve. Start keying in "N" in your Xcode application …

  9. Why do Objective-C files use the .m extension? - Stack Overflow

    Mar 16, 2009 · The organisation of Objective-C source is typically similar to that of C or C++ source code, with declarations and object interfaces going into header files named with a .h extension, and …

  10. What is Objective C++? - Stack Overflow

    Objective-C++ is Objective-C (probably with Cocoa Framework) with the ability to link with C++ code (probable classes). Yes, you can use this language in Xcode to develop for Mac OS X, …