Create Framework in Swift

suggest change

follow these step to creating Custom Framework in Swift-IOS:

  1. Create a new project. In Xcode
  2. Choose iOS/Framework & Library/Cocoa Touch Framework to create a new framework
  3. click next and set the productName
  4. click next and choose directory to create Project there
  5. add code and resources to created project

Framework created successfully

to add created framework to another project, first you should create a workspace

add “target project” and “framework project” to workspace, then :

  1. go to the general tab of target project
  2. drag the “*.framework” file in product folder of framework project to “Embedded Binaries” section
  3. to use in any ViewController or class just import framework at each file

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Create Custom Framework:
* Create Framework in Swift

Table Of Contents
12 UIView
15 UIColor
26 UIImage
28 CALayer
30 NSDate
40 iBeacon
49 NSTimer
79 NSURL
87 AWS SDK
96 NSData
101 Segues
104 EventKit
105 NSBundle
106 SiriKit
111 StoreKit
117 3D Touch
119 Keychain
122 Block
139 Create Custom Framework
141 AirDrop
144 UISlider
145 Carthage
146 HealthKit
151 plist
157 MVVM
164 UIPhoenix
166 Simulator
168 NSArray
169 OpenGL
175 Core Data
179 MyLayout
180 UIFont
189 Security
200 Codable