Skip to content

Releases: sqrline/HoneyKit

Fix Bugs

26 Jun 09:31
430ccb6
Compare
Choose a tag to compare
Merge pull request #12 from sqrline/develop

Fix UIButton extension

v1.0.0

12 Apr 07:28
Compare
Choose a tag to compare
Merge branch 'develop'

v0.0.1

25 Jan 18:44
117f59e
Compare
Choose a tag to compare

Foundation

Date

  • DayStep. Returns date after adding step to exists date based on direction.
  • DaysMonth. Returns start/end day of month.
  • DaysWeek. Returns start/end day of week.

String

  • HTML. Converts html to an NSAttributedString with system iOS font.
  • Localized. Returns an localized version of the string.

UIKit

UIAlertController

  • InitWithButtons. Creates alert with action buttons.

UIButton

  • SetTitle. Sets title with animation.

UICollectionView

  • RegisterCell. Registers a cell by class or nib for use in creating new collection cells.
  • ReusableCell. Returns a reusable collection view cell object by class with index path.

UIColor

  • Hex. Conveniece init color from hex string.

UIView

  • ActivityIndicator. Adds/hides container with activity indicator in view.
  • AddSubview. Adds view with all sides constraints for filling into superview.
  • HideKeyboard. Hides keyboard if tap on current view's area.
  • RemoveSubview. Removes all subviews from current view.
  • Shadow. Drops shadow from the current view.

UITableView

  • RegisterCell. Registers a cell by class or nib for use in creating new table cells.
  • ReusableCell. Returns a reusable table view cell object by class.

UIViewController

  • Child. Handles (adds, removes and switches) child of the current view controller.