SlideShare a Scribd company logo
 
What is Objective-C ? it is a  programming language
it is a strict  superset of C it  is  C with some new additional constructs
C code compiles as Objective-C code
C libraries can be linked and used natively from Objective-C it  adds Object-Oriented features to C Defining classes
Implementing methods
Instantiating classes and objects
Invoking class and object methods
Protocols, categories, selectors, forwarding
Example of Objective-C Code
Why is Objective-C so special ? It is compatible with C libraries
Is is a simple extension of C
It is a  hybrid  between C and Smalltalk It can be  as fast as raw C  if you avoid the object-oriented extensions
It can be  as high-level and flexible as Smalltalk  if you use the object-oriented extensions
It allows experienced programmers to mix different programming styles in the same program It is  extremely flexible
Objective-C Support Compilers Apple GCC
FSF GCC Objective-C 2.0 Introduced by Apple in
Mac OS X 10.5
Garbage-collection
Threading/Exceptions
Fast Enumeration
Properties
Objective-C 1.0 code still compiles with a 2.0 compiler Runtime Libraries NeXT/Apple Runtime
GNU Runtime Core Objective-C Libraries Apple Cocoa
GNUstep
Writing Portable Objective-C Code On  Apple Mac OS X , avoid Objective-C 2.0 syntax such as properties and fast enumerations. On  Apple Mac OS X , avoid garbage collection and use explicit the traditional OpenStep reference counting.  This is likely to change – GNUstep is getting garbage collection again. On  both Apple and GNUstep , If you need to access the runtime, use an intermediate layer such as the one provided by gnustep-base additions.
History of Objective-C Core Frameworks
OpenStep API Specification (1994)
OpenStep API Specification (1994) Foundation Kit Non-graphical classes Root classes : NSObject, NSProxy
Basic data classes : NSString, NSNumber, NSData, NSNull
Collection classes : NSArray, NSDictionary, NSSet
Execution control classes : NSRunLoop, NSTimer, NSThread, NSLock
I/O classes : NSTask, NSFileHandle

More Related Content

PDF
Entwicker camp2007 calling-the-c-api-from-lotusscript
PDF
Python Desktop Application Development - PythonBo
ODP
Makefile Generation From Autotools
PDF
A quick overview of why to use and how to set up iPython notebooks for research
PDF
Introduction to Dart
PPTX
HipHop Virtual Machine
PDF
Introduction to IPython & Notebook
PDF
Dependent things dependency management for apple sw - slideshare
Entwicker camp2007 calling-the-c-api-from-lotusscript
Python Desktop Application Development - PythonBo
Makefile Generation From Autotools
A quick overview of why to use and how to set up iPython notebooks for research
Introduction to Dart
HipHop Virtual Machine
Introduction to IPython & Notebook
Dependent things dependency management for apple sw - slideshare

What's hot (11)

PDF
Running a Plone product on Substance D
PDF
Puppet at GitHub / ChatOps
PDF
HHVM and Hack: A quick introduction
PDF
The magic of IPython Notebook
PDF
Puppet modules: An Holistic Approach
PDF
Puppet at Pinterest
PDF
Unified Text Layout Engine for FOSS Systems -Paper
PDF
Introduction to ipython notebook
PDF
Devoxx 2014 [incomplete] summary
PDF
Python debugging techniques
ODP
Vim and Python
Running a Plone product on Substance D
Puppet at GitHub / ChatOps
HHVM and Hack: A quick introduction
The magic of IPython Notebook
Puppet modules: An Holistic Approach
Puppet at Pinterest
Unified Text Layout Engine for FOSS Systems -Paper
Introduction to ipython notebook
Devoxx 2014 [incomplete] summary
Python debugging techniques
Vim and Python
Ad

Similar to Cross Platform Objective C Development Using Gn Ustep (20)

ODP
Some wonderful Linux softwares for daily use
ODP
Building Server Applications Using Objective C And Gn Ustep
ODP
Building Server Applications Using ObjectiveC And GNUstep
PPTX
Autotools pratical training
PDF
Flutter vs Java Graphical User Interface Frameworks - text
PDF
Opensource Software usability
PDF
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
PPTX
Advance Android Application Development
PDF
(1) c sharp introduction_basics_dot_net
ODP
Programming In Linux Presentation
PDF
Autotools
PPTX
Chapter 2.1
PDF
Beginning development in go
PDF
C programming first_session
PDF
C programming first_session
PPT
Plug-in Architectures
PPTX
Makefile for python projects
PPTX
C++Basics2022.pptx
PPT
Cross-platform mobile dev with Mono
PPSX
Dr. Rajeshree Khande :Intoduction to java
Some wonderful Linux softwares for daily use
Building Server Applications Using Objective C And Gn Ustep
Building Server Applications Using ObjectiveC And GNUstep
Autotools pratical training
Flutter vs Java Graphical User Interface Frameworks - text
Opensource Software usability
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
Advance Android Application Development
(1) c sharp introduction_basics_dot_net
Programming In Linux Presentation
Autotools
Chapter 2.1
Beginning development in go
C programming first_session
C programming first_session
Plug-in Architectures
Makefile for python projects
C++Basics2022.pptx
Cross-platform mobile dev with Mono
Dr. Rajeshree Khande :Intoduction to java
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Approach and Philosophy of On baking technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Machine Learning_overview_presentation.pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation theory and applications.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
1. Introduction to Computer Programming.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Getting Started with Data Integration: FME Form 101
MIND Revenue Release Quarter 2 2025 Press Release
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Assigned Numbers - 2025 - Bluetooth® Document
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectral efficient network and resource selection model in 5G networks
Approach and Philosophy of On baking technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine Learning_overview_presentation.pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation theory and applications.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
SOPHOS-XG Firewall Administrator PPT.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
1. Introduction to Computer Programming.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Getting Started with Data Integration: FME Form 101

Cross Platform Objective C Development Using Gn Ustep