YMKLogo

class YMKLogo : NSObject

The object that allows to control logo display properties.

Summary

Instance methods

func setAlignmentWith( alignment: YMKLogoAlignment_)
Set logo alignment in the container

func setPaddingWith( padding: YMKLogoPadding_)
Set logo padding relative to the left/right and top/bottom edges

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

setAlignmentWith(_:)

func setAlignmentWith( alignment: YMKLogoAlignment_)

Set logo alignment in the container.


setPaddingWith(_:)

func setPaddingWith( padding: YMKLogoPadding_)

Set logo padding relative to the left/right and top/bottom edges. Values must be positive.


Properties

isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.


Предыдущая
Следующая