InterfaCSS Versions Save

The CSS-inspired styling and layout framework for iOS

1.4.3

8 years ago

Bug fixes

  • Fixed problem with cyclic ISSUIElementDetails object graphs, due to incorrect use of parentElement field in situations where nested element key paths are present (resolves issue 53, reported by @bangerang).
  • Fixed bug in visiting of ISSUIElementDetails (visitExclusivelyWithScope).
  • Fixed bug in invokeGetterForProperty in ISSRuntimeIntrospectionUtils.

New features & changes (yes, a small feature update snuck into this maintenance release...)

  • Added notification for when refreshable stylesheets are updated (ISSDidRefreshStyleSheetNotification)

1.4.2

8 years ago

Bug fixes

  • Fixed issue with stylesheet scoping not always being applied correctly.

New features & changes (yes, a small feature update snuck into this maintenance release...)

  • Added support for the attribute accessibilityIdentifier to elements in XML view definition files (pull request 60, added by @ChrisInIssaquah).

1.4.1

8 years ago

Bug fixes

  • Fixed issues with variable and property name/value parsing (issue 57, reported by @xmmk).

1.4.0

8 years ago

New features & changes

  • Significantly improved performance of stylesheet parsing, primarily by replacing Parcoa with a custom parser implementation (inspired by Parcoa).

Bug fixes

  • Fixed problem with caching of element (styling) information, preventing proper style matching in some cases.

1.3.2

8 years ago

Bug fixes

  • Fixed problem with infinite loops occurring under certain circumstances while traversing the view hierarchy (issue 49, reported by @bangerang).
  • Fixed problem with setting properties on nested elements where the superview is not the owner of the nested element. Also fixed related issue with nested elements of the same type not being properly differentiated.

New features & changes (yes, a small feature update snuck into this maintenance release...)

  • Added support for compact hex colors (4 bits per channel, i.e. #123) and hex colors with alpha component (i.e. #1122337f, or #1238) (issue 48, reported by @vitorhugomagalhaes ).

1.3.1

8 years ago

Bug fixes

  • Fixed issue with using +/- without adjoining whitespace in ISSLayout definitions.
  • Fixed issue causing crash when using layout on elements without element id.
  • Fixed issue with IBInspectable not working properly on styleClassISS and elementIdISS.

1.3.0

8 years ago

New features & changes

  • View definition file changes: made collectionViewLayout preferred tag name for UICollectionViewLayout and added better parser error logging.
  • Added proper support for using titleTextAttributes, scopeBarButtonTitleTextAttributes, defaultTextAttributes, typingAttributes, linkTextAttributes as prefix for text attributes (font, textColor, shadowColor and shadowOffset), e.g. titleTextAttributes.font.
  • Added support for setting title, image, enabled, width and contentOffset for UISegmentedControl segments.
  • Added fallback to introspection when KVC fails when setting properties.
  • Added more UISlider properties (value, minimumValue, maximumValue).
  • Bumped target ios version to 7.0.

Bug fixes

  • Fixed issue in invokeSetterForProperty and added invokeGetterForProperty.
  • Fixed issue with setting text attributes property titleTextAttributes(:forState:),
  • Changed incorrect type of property autocapitalizationType from bool to enum.
  • Fixed errors with screenWidth/height pseudo classes.
  • Added missing bounds check to nameValueSeparator parser (causing ill-formed stylesheets to crash sometimes).
  • Fixed issue in ISSSelectorChain that prevented selector chains from being properly traversed in some cases. This mostly affected how child selector combinators (´>´) were evaluated.

1.2.1

8 years ago

Bug fixes

  • Changed incorrect type of attributed string properties underlineStyle and strikeThroughStyle from number to (bitmask) enum (NSUnderlineStyle* and NSUnderlinePattern* now supported).
  • Fixed issues with line breaks (\n) and escaping of quotes in strings and attributed strings.
  • Fixed issue with local file monitoring, when file is (incorrectly) reported as deleted.

1.2.0

8 years ago

New features & changes

  • Added support for properties leftViewMode and rightViewMode in UITextField. Also added leftView and rightView as valid property prefix key paths.
  • Added support for using swift classes as custom type selectors and custom elements in view definition files.
  • Added better control over how refreshable stylesheets are handled (added methods for manually reloading stylesheets etc).
  • Added support for starting and stopping animation of a UIActivityIndicatorView via the "animating" property.
  • Added support for nesting variables, i.e. referring to other variables in variable declarations.
  • Updated minimum required iOS version to iOS7.
  • Added pseudo classes minOSVersion , maxOSVersion, deviceModel, screenWidth, screenWidthLessThan, screenWidthGreaterThan, screenHeight, screenHeightLessThan and screenHeightGreaterThan.
  • Added support for remote loading (via http/https URLs) of fonts and images (resolves issue 21, requested by @tbrannam).
  • Added support for using InterfaCSS in tvOS apps (resolves issue 44, requested by @tbrannam).

Bug fixes

  • Fixed issue in ISSLayout with auto width/height, and also an issue with how layout guide values are calculated.

1.1.1

8 years ago

Bug fixes

  • Removed incorrect warning logging in view definition file parser (ISSViewHierarchyParser).
  • Fixed error in ISSLayout with how width/height was calculated when using simultaneous left & right / top & bottom attributes.