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)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
sap open course for s4hana steps from ECC to s4
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Weekly Chronicles - August'25 Week I
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Big Data Technologies - Introduction.pptx
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Cross Platform Objective C Development Using Gn Ustep