Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Swift
Connection 9 Upload files
Swift
0
2
1382
Connection 10 POST of JSON data
Swift
0
2
1515
Connection 11 Parsing of JSON data
Swift
0
1
1393
Connection 12 Get an updated date and time of the data
Swift
0
1
1324
CoreLocation 1 Acquisition of the current position information
Swift
0
2
1438
CoreLocation 2 Advertising the iBeacon
Swift
0
1
1485
CoreLocation 3 Monitoring iBeacon
Swift
0
2
1746
Config 1 To view the Version
Swift
0
2
1275
Config 2 Determines whether the Devloper or Distribution from Provisioning
Swift
0
1
1216
CoreData 1 Store JSON data to CoreData
Swift
0
1
2444
SpriteKit 0 Setting the GameViewController
Swift
0
1
1543
SpriteKit 1 Get the size of the screen
Swift
0
1
1255
SpriteKit 2 To draw a shape
Swift
0
1
1234
SpriteKit 3 Get the location of the node
Swift
0
1
1238
SpriteKit 4 Setting the drawing order of Node
Swift
0
2
1329
SpriteKit 5 Changing the size of the Node
Swift
0
2
1284
SpriteKit 6 To add a child to the Node
Swift
0
2
1322
SpriteKit 7 To remove all of the parent node to the child node
Swift
0
2
1512
SpriteKit 8 To remove a node from the parent node
Swift
0
2
1515
SpriteKit 9 Give a name to the Node
Swift
0
2
1397