2016-10-02 23:33:56 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > Animator Class Reference< / title >
< link rel = "stylesheet" type = "text/css" href = "../css/jazzy.css" / >
< link rel = "stylesheet" type = "text/css" href = "../css/highlight.css" / >
< meta charset = 'utf-8' >
< script src = "../js/jquery.min.js" defer > < / script >
< script src = "../js/jazzy.js" defer > < / script >
< / head >
< body >
< a name = "//apple_ref/swift/Class/Animator" class = "dashAnchor" > < / a >
< a title = "Animator Class Reference" > < / a >
< header >
< div class = "content-wrapper" >
< p > < a href = "../index.html" > Gifu Docs< / a > (100% documented)< / p >
< p class = "header-right" > < a href = "https://github.com/kaishin/gifu/" > < img src = "../img/gh.png" / > View on GitHub< / a > < / p >
2018-01-01 21:31:38 +00:00
< p class = "header-right" > < a href = "dash-feed://https%3A%2F%2Fkaishin%2Egithub%2Eio%2Fdocsets%2FGifu%2Exml" > < img src = "../img/dash.png" / > Install in Dash< / a > < / p >
2016-10-02 23:33:56 +00:00
< / div >
< / header >
< div class = "content-wrapper" >
< p id = "breadcrumbs" >
< a href = "../index.html" > Gifu Reference< / a >
< img id = "carat" src = "../img/carat.png" / >
Animator Class Reference
< / p >
< / div >
< div class = "content-wrapper" >
< nav class = "sidebar" >
< ul class = "nav-groups" >
< li class = "nav-group-name" >
< a href = "../Classes.html" > Classes< / a >
< ul class = "nav-group-tasks" >
< li class = "nav-group-task" >
< a href = "../Classes/Animator.html" > Animator< / a >
< / li >
< li class = "nav-group-task" >
< a href = "../Classes/GIFImageView.html" > GIFImageView< / a >
< / li >
< / ul >
< / li >
< li class = "nav-group-name" >
< a href = "../Protocols.html" > Protocols< / a >
< ul class = "nav-group-tasks" >
< li class = "nav-group-task" >
< a href = "../Protocols/GIFAnimatable.html" > GIFAnimatable< / a >
< / li >
2016-10-08 17:36:32 +00:00
< li class = "nav-group-task" >
< a href = "../Protocols/ImageContainer.html" > ImageContainer< / a >
< / li >
2016-10-02 23:33:56 +00:00
< / ul >
< / li >
< / ul >
< / nav >
< article class = "main-content" >
< section >
< section class = "section" >
< h1 > Animator< / h1 >
< div class = "declaration" >
< div class = "language" >
< pre class = "highlight" > < code > < span class = "kd" > public< / span > < span class = "kd" > class< / span > < span class = "kt" > Animator< / span > < / code > < / pre >
< / div >
< / div >
< p > Responsible for parsing GIF data and decoding the individual frames.< / p >
< / section >
< section class = "section task-group-section" >
< div class = "task-group" >
< ul >
< li class = "item" >
< div >
< code >
2017-12-31 19:08:19 +00:00
< a name = "/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc" > < / a >
2016-10-02 23:33:56 +00:00
< a name = "//apple_ref/swift/Method/init(withDelegate:)" class = "dashAnchor" > < / a >
2017-12-31 19:08:19 +00:00
< a class = "token" href = "#/s:4Gifu8AnimatorCAcA13GIFAnimatable_p12withDelegate_tcfc" > init(withDelegate:)< / a >
2016-10-02 23:33:56 +00:00
< / code >
< / div >
< div class = "height-container" >
< div class = "pointer-container" > < / div >
< section class = "section" >
< div class = "pointer" > < / div >
< div class = "abstract" >
< p > Creates a new animator with a delegate.< / p >
< / div >
< div class = "declaration" >
< h4 > Declaration< / h4 >
< div class = "language" >
< p class = "aside-title" > Swift< / p >
< pre class = "highlight" > < code > < span class = "kd" > public< / span > < span class = "nf" > init< / span > < span class = "p" > (< / span > < span class = "n" > withDelegate< / span > < span class = "nv" > delegate< / span > < span class = "p" > :< / span > < span class = "kt" > < a href = "../Protocols/GIFAnimatable.html" > GIFAnimatable< / a > < / span > < span class = "p" > )< / span > < / code > < / pre >
< / div >
< / div >
< div >
< h4 > Parameters< / h4 >
< table class = "graybox" >
< tbody >
< tr >
< td >
< code >
< em > view< / em >
< / code >
< / td >
< td >
< div >
2017-12-31 19:08:19 +00:00
< p > A view object that implements the < code > < a href = "../Protocols/GIFAnimatable.html" > GIFAnimatable< / a > < / code > protocol.< / p >
2016-10-02 23:33:56 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
< div >
< h4 > Return Value< / h4 >
< p > A new animator instance.< / p >
< / div >
< / section >
< / div >
< / li >
< / ul >
< / div >
< / section >
< / section >
< section id = "footer" >
2018-01-01 21:31:38 +00:00
< p > 2018 © Reda Lemeden. See LICENSE for more details.< / p >
2017-12-31 19:08:19 +00:00
< p > Generated by < a class = "link" href = "https://github.com/realm/jazzy" target = "_blank" rel = "external" > jazzy ♪♫ v0.9.0< / a > , a < a class = "link" href = "http://realm.io" target = "_blank" rel = "external" > Realm< / a > project.< / p >
2016-10-02 23:33:56 +00:00
< / section >
< / article >
< / div >
< / body >
< / div >
< / html >