Skip to content

Updated Example and few adjustments on .hybridVertical style#29

Merged
xaviermerino merged 11 commits into
xaviermerino:masterfrom
jessearmand:master
Feb 9, 2017
Merged

Updated Example and few adjustments on .hybridVertical style#29
xaviermerino merged 11 commits into
xaviermerino:masterfrom
jessearmand:master

Conversation

@jessearmand
Copy link
Copy Markdown
Contributor

@xaviermerino I have mostly updated the Example project setup.

Also, a few adjustments on the Hybrid Vertical style. These probably won't fit everyone's need on what's the proper insets on the image / title.

Probably a more generic solution such as the one from @dbburgess in #23 to be able to adjust image and title insets is needed. Once #23 is resolved, I'll revise my changes again.

jessearmand added 11 commits May 3, 2016 17:58
Should take into account the text size.
Use half-range for loop and #selector macro
* vertical-hybrid-improvements:
  Modernized code style.
  imageEdgeInsets and titleEdgeInsets calculation
4 points extra inset is not necessary, for titleEdgeInsets
Should take into account the text size.
Use half-range for loop and #selector macro
4 points extra inset is not necessary, for titleEdgeInsets
* swift-3:
  Migrated to Swift 3 & fixed example Pods
  resizing of image is only needed if it exceed the max size
  12 from the top for image, 4 for title
  Modernized code style.
  imageEdgeInsets and titleEdgeInsets calculation
  Update README.md
  Update AppDelegate.swift
  Update ViewController.swift
  Update Tests.swift
  Update XMSegmentedControl.swift
  Add the ability to set the selectedSegment index programmatically
  Update README.md
  Update README.md
  Fixed test cases
@xaviermerino xaviermerino merged commit 26f7607 into xaviermerino:master Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants