swift is a scripting language (Scripting language same as programming language only diff is it does not have clear compilation steps. max scripting languages are interpreted at run time )
Swift for iOS, tvOS, watch OS , OSX and servers too.
Swift is safe (type checking etc at compile time, strict type check), fast (static language), interactive (as script language) and open source language.
Obj-C can be used in swift.
Compile time error:1.overflow , underflow with arithmetic operator 2.addition of
different type (eg int and float) etc.
Most of framework in swift or wrapper provided interfaces in swift.
Apple provides most of system interfaces(which allows to access the lower levels)
called as framework.Framework is directory structure contains .h, resources( such
as storyboard, image files, localized strings etc.) , dynamic shared lib etc files.
iOS Architecture
foundation framework :contains data types, collection, connection , max service that needed to interact with lower level
Cocoa framework :contains Foundation andAppKit frameworks,
Cocoa touch framework :contains Foundation and UIKit frameworks)framework. [Appkit is OSX ui framework and UIKit is iOS ui framework.]

0 comments:
Post a Comment