There are a few different ways in which swing is interpreted in notation.
Since swung 8ths are based on triplets, the notes could be written as:

Most often charts are written as straight 8th’s, but played with the swing feel.
A common symbol used to indicate swing is in the example below.
This symbol indicates that straight 8th’s are to be played like a quarter note and an eighth note in a triplet bracket:


This would mean that the music for the straight example could actually be used for the swing example as well, just played and counted with a swing feel/swing 8th’s.
Another way swing 8th’s have been notated is with a dotted 8th & a 16th.
This idea also tries to imitate the long-short feel of swing and is predominantly used in older publications.
It is important to know this so you don’t waste time practicing say a Ragtime tune with a 16th subdivision which may not give you the right feel.
