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
SpriteKit 10 Get all of the specific name of a node in the parent node
Swift
0
1
1796
SpriteKit 11 To hide the node
Swift
0
1
1554
SpriteKit 12 Keep suited a node in a particular direction
Swift
0
2
1345
SpriteKit 13 The Node keep suited to specific coordinates
Swift
0
5
1407
SpriteKit 14 Change the background color of the Scene
Swift
0
1
1685
SpriteKit 15 To get a touch event
Swift
0
1
1334
SpriteKit 16 To move the node to the touch coordinates
Swift
0
4
1471
SpriteKit 17 To detect the collision of rigid bodies
Swift
0
1
1341
SpriteKit 18 To draw the string
Swift
0
2
1340
SpriteKit 19 Changing the font of the label
Swift
0
4
1520
SpriteKit 20 To draw a circle
Swift
0
9
2501
SpriteKit 21 To draw a rectangle
Swift
0
1
1809
SpriteKit 22 To draw a line
Swift
0
2
2247
SpriteKit 23 Draw a triangle
Swift
0
1
2543
SpriteKit 24 Changing the thickness of the line
Swift
0
1
1241
SpriteKit 25 Change the color of the line
Swift
0
2
1255
SpriteKit 26 Paste a texture to SKShapeNode
Swift
0
1
1485
SpriteKit 27 To draw the image
Swift
0
5
1574
SpriteKit 28 To hide the node
Swift
0
1
1299
SpriteKit 29 Action that displays the Node
Swift
0
1
1227