You can't really convert your .xcodeproj
file to a .playground file but you can add a .playground file to your .xcodeproj
file and use it from there
Open up your .xcodeproj
file and follow the steps below to add a .playground
file to your project.
Go to
File > Save as Workspace
Save the Workspace file in the same directory as the.xcodeproj
fileCreate a new
.playground
file underSource
Go to
File > New > Target
. Next go toiOS > Framework & Library > Cocoa Touch Framework
Add any files that you want to access from the
.playground
to the target membership of the Framework we created earlier.Select your framework and iOS device from the build sources and Build the project
Import your framework to the
.playground
file
That's All :)
No comments:
Post a Comment