SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
!
!

OSX | iOS
Who A’m I ?!
Name: abdimuna!
Day: programmer!
Night: braining, sec
Recap
1. History
2. Apple | Mac
3. OSX
4. iOS
5. Objective-C
6. Conclusion
Apple | Founders

Steve Jobs & Steve Wozniak
Apple-II:

First Apple-II was released
on 17, June 1977
!
8-bit personal computer
Processor: 1Mhz
RAM: 4KB
Mac | Macintosh

1st Mac was introduced
on 24, Jan 1984
!
1.
2.
3.
4.

First public computer with GUI
Used mouse
Processor: 8Mhz
RAM 64KB
NEXT

16, sept 1985
Steve jobs left Apple.inc
NeXT-Step | (NS)

Next was formed by Steve Jobs
in 1985, after he left Apple.inc
NeXT-Step | (NS)

First Next computer, was released in
1888, followed by NeXT station in 1990
NEXT-Step | (NS)

•
•
•
•
•
•

Characteristics:
32-bit system,
Processor Motorola 68030, 25Mhz
RAM: 256MB
HDD: 330 or 660MB
10Base-2 Ethernet
17 inch b/w monitor, res 1120x832
OSX | Birth
OSX | History
OSX | Architecture
OSX | Architecture
OSX | Darwin

Darwin is an opensource kernel
OSX | RPC
OSX | Evolution
iOS
iOS (before 24, June 2010 — iPhone OS)
Is an operating system which powers apple’s
devices (iPhone, iPad, iPod-touch, AppleTV)
OSX vs iOS
•

The architecture for which the kernel and binaries are compiled is
ARM-based, rather than Intel i386 or x86_64. The processors may be
different (A4, A5, A5X, etc), but all are based on designs by ARM.
The main advantage of ARM over Intel is in power management,
which makes their processor designs attractive for mobile operating
systems such as iOS, as well as its arch-nemesis, Android.

!

•

The kernel sources remain closed — even though Apple promised to
maintain XNU, the OS X Kernel, as open source, it apparently frees
itself from that pledge for its mobile version. Occasionally, some of
the iOS modifications leak into the publicly available sources (as can
be seen by various #ifdef,__arm__, and ARM_ARCH conditionals),
though these generally diminish in number with new kernel versions.
OSX vs iOS
•

•

•
•

The kernel is compiled slightly differently, with a focus on
embedded features and some new APIs, some of which
eventually make it to OS X, whereas others do not.
The system GUI is Springboard, the familiar touch-based
application launcher, rather than Aqua, which is mouse-driven
and designed for windowing..
Memory management is much tighter, as there is no nigh-infinite
swap space to fall on.
The system is hardened, or “jailed,” so as not to allow any access
to the underlying UNIX APIs (i.e. Darwin), nor root access, nor any
access to any directory but the application’s own. Only Apple’s
applications enjoy the full power of the system. App Store apps
are restricted and subject to Apple’s scrutiny.
OSX vs iOS
•

•

•

•

The kernel is compiled slightly differently, with a focus on embedded
features and some new APIs, some of which eventually make it to OS
X, whereas others do not.
The system GUI is Springboard, the familiar touch-based application
launcher, rather than Aqua, which is mouse-driven and designed for
windowing..
Memory management is much tighter, as there is no nigh-infinite swap
space to fall on. As a consequence, programmers have to adapt to
harsher memory restrictions and changes in the programming model.
The system is hardened, or “jailed,” so as not to allow any access to
the underlying UNIX APIs (i.e. Darwin), nor root access, nor any
access to any directory but the application’s own. Only Apple’s
applications enjoy the full power of the system. App Store apps are
restricted and subject to Apple’s scrutiny.
OSX vs iOS
There some differences in API point of view
!
•
•

OSX: Cocoa-API e.g NS(Button,View..)
iOS: UITouch, or Cocoa-Touch e.g UI(Button, View)
Objective-C
Is the general purpose programming language which
adds some SmallTalk-style messaging in C (developed
in early-80’s).
•

Designed by: Brad Cox & Tom Love

•

Was selected as the main language used by NeXT for its
NEXTSTEP OS
Now: is the language powering both OSX & iOS

•
Objective-C |
Its:
•
•

OOP (adds object capabilities to pure C)
dynamic, (U-can determine which messages to send to
at runtime, and not at compile time)

•

Single inheritance, (NSObject is the super class of
all subclasses)
Objective-C |
•
•

Delegation (Like callBacks, powerful)
Protocols, (acts as substitute for multiple inheritance,
like java interfaces)

•

Categories, (Adds functionality to an existing classes
aka adding some more methods for an existing classes)
Objective-C |
•

Notifications (Objects can register for Notifications
events)

•

KVC/KVO, (Accessing object properties by key or by
value, Listening for object’s properties change)

•

Blocks, (Powerful feature added in iOS-4, & OSX-10.6,
They enable you to do powerful operations e.g concurrencies )
Objective-C | GCD
GCD: simply is the multi-threading API

•
•
•
•
•
•
•

dispatch_object_t
dispatch_source_t
dispatch_queue_t
dispatch_group_t
dispatch_semaphore_t
dispatch_time_t
dispatch_once_t
Objective-C | Apple
Objective-C | File ext
Objective-C | Data-types
Objective-C | class
Objective-C |ex
Objective-C | Implementation
Objective-C | method
Objective-C | sms-sent
Objective-C | example
Objective-C | dot
Objective-C | ex
Objective-C |ex
Objective-C | MultiThreading

dispatch_queue_t exampleQueue =
dispatch_queue_create( “com.abdimuna1.myApp”, NULL );
dispatch_sync( exampleQueue, ^{
//
// DO SOME STUFF HERE
});
dispatch_release( exampleQueue );
Objective-C | Xcode

Is tool(GUI) for compiling, debugging,
designing: Objective-C, C, or C++
projects
Objective-C | Xcode
Objective-C | compiling in cmd
Objective-C | Libraries
ks
an

Th

.?
A
Q
sou

:
ces
r

Apple: https://developer.apple.com/library/mac/documentation/cocoa/conceptual/
ProgrammingWithObjectiveC/Introduction/Introduction.html

Weitere ähnliche Inhalte

Ähnlich wie A short story_of_osx_i_os

Operating Systems: A History of MacOS
Operating Systems: A History of MacOSOperating Systems: A History of MacOS
Operating Systems: A History of MacOSDamian T. Gordon
 
Intel Briefing Notes
Intel Briefing NotesIntel Briefing Notes
Intel Briefing NotesGraham Lee
 
Mac OS Seminar report
Mac OS Seminar reportMac OS Seminar report
Mac OS Seminar reportKarthik Kumar
 
Operating Systems As a Product
Operating Systems As a ProductOperating Systems As a Product
Operating Systems As a ProductHarshit Srivastava
 
Operating systems
Operating systemsOperating systems
Operating systemsmhmahamuk
 
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdfNikitaMakhija9
 
Mac OS(Operating System)
Mac OS(Operating System)Mac OS(Operating System)
Mac OS(Operating System)Faizan Shaikh
 
Operating Systems
Operating SystemsOperating Systems
Operating SystemsTatyana
 
Chapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxChapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxgowthamiv26
 
Macintosh Operating System
Macintosh Operating SystemMacintosh Operating System
Macintosh Operating SystemJasmine Garbo
 
Developing For Nokia Asha Devices
Developing For Nokia Asha DevicesDeveloping For Nokia Asha Devices
Developing For Nokia Asha Devicesachipa
 

Ähnlich wie A short story_of_osx_i_os (20)

Mac os casestudy
Mac os casestudyMac os casestudy
Mac os casestudy
 
Mac Operating System
Mac Operating SystemMac Operating System
Mac Operating System
 
Mac_os_final_piyush
Mac_os_final_piyushMac_os_final_piyush
Mac_os_final_piyush
 
Operating Systems: A History of MacOS
Operating Systems: A History of MacOSOperating Systems: A History of MacOS
Operating Systems: A History of MacOS
 
Macintosh
MacintoshMacintosh
Macintosh
 
OPERATING SYSTEM.pptx
OPERATING SYSTEM.pptxOPERATING SYSTEM.pptx
OPERATING SYSTEM.pptx
 
Intel Briefing Notes
Intel Briefing NotesIntel Briefing Notes
Intel Briefing Notes
 
Mac OS Seminar report
Mac OS Seminar reportMac OS Seminar report
Mac OS Seminar report
 
Operating Systems As a Product
Operating Systems As a ProductOperating Systems As a Product
Operating Systems As a Product
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Macintosh OS
Macintosh OSMacintosh OS
Macintosh OS
 
Web technologies
Web technologiesWeb technologies
Web technologies
 
Web technologies
Web technologiesWeb technologies
Web technologies
 
Os Rego
Os RegoOs Rego
Os Rego
 
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf
7f7390f4-d41b-496a-8e06-63dc5fb8a494.pdf
 
Mac OS(Operating System)
Mac OS(Operating System)Mac OS(Operating System)
Mac OS(Operating System)
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Chapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptxChapter 1 - Introduction to Operating System.pptx
Chapter 1 - Introduction to Operating System.pptx
 
Macintosh Operating System
Macintosh Operating SystemMacintosh Operating System
Macintosh Operating System
 
Developing For Nokia Asha Devices
Developing For Nokia Asha DevicesDeveloping For Nokia Asha Devices
Developing For Nokia Asha Devices
 

Kürzlich hochgeladen

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Kürzlich hochgeladen (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

A short story_of_osx_i_os