All Versions
10
Latest Version
Avg Release Cycle
57 days
Latest Release
2969 days ago

Changelog History

  • v0.4.1

    March 07, 2016
  • v0.4.0 Changes

    March 25, 2015
  • v0.3.1 Changes

    March 22, 2015
    • Add GranadaLayout.h to ease import of files
    • Hide private headers
  • v0.3.0 Changes

    March 21, 2015
    • Property grx_debugIdentifier renamed to grx_identifier
    • Added methods -grx_subviewForIdentifier: and grx_findViewWithIdentifier:
    • Remove method -viewForIdentifier from the GRXLayoutInflater, now the previous methods have to be used
    • Improved stability of snapshot tests
    • Update dependencies
    • Improve compatibility with Swift
  • v0.2.4

    November 12, 2014
  • v0.2.3 Changes

    November 02, 2014
    • Some values were being overriden when loading an inflated layout from within another one
    • Update snapshot tests according to the fixed inflation
  • v0.2.2 Changes

    October 31, 2014
    • Using now bundleName and bundleIdentifier to refer to other bundles (like the ones coming from Pods)
  • v0.2.0 Changes

    October 19, 2014
    • Fixed size calculation for root layouts
    • Layout inflater can include external files

      {
          "id" : "included1",
          "inflate" : "inflate_contained_1.grx",
      
          "width" : "100",
          "height" : "100",
      
          "debug_bgColor" : "green",
          "marginBottom" : "10"
        },
      
        {
          "id" : "included2",
          "inflate" : {
            "filename" : "inflate_contained_2.grx",
            "bundleIdentifier" : "org.gskbyte.GranadaLayout.Tests"
          },
      
          "width" : "200",
          "height" : "200",
      
          "gravity" : "end",
          "debug_bgColor" : "blue"
        }
      
    • Layout inflater can inflate existing views

      - (instancetype)initWithData:(NSData *)data
                          rootView:(UIView *)rootView;
      - (instancetype)initWithBundleFile:(NSString *)filename
                                rootView:(UIView *)rootView;
      - (instancetype)initWithFile:(NSString *)filename
                        fromBundle:(NSBundle *)bundle
                          rootView:(UIView *)rootView;
    
    • Improved examples
    • Measurement block in UIView+GRXLayout allow overriding default -grx_measureWithWidthSpec:heightSpec:
    • Added more tests
  • v0.1.1

    October 12, 2014
  • v0.1.0 Changes

    October 11, 2014
    • Added categories to UIView to implement measuring methods needed by the layout system
    • Added GRXRelativeLayout, that allows positioning views relative to each other and also relative to the superview.
    • Added GRXLinearLayout, that allows stacking views either vertically or horizontally, also defining weights (for proportional sizes).
    • Added initial version of the GRXLinearLayoutInflater, that allows loading layout definition from JSON files.
    • Added lots of tests and some examples