{"action":"opened","issue":{"url":"https://api.github.com/repos/mikeswanson/JBSpacer/issues/3","labels_url":"https://api.github.com/repos/mikeswanson/JBSpacer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mikeswanson/JBSpacer/issues/3/comments","events_url":"https://api.github.com/repos/mikeswanson/JBSpacer/issues/3/events","html_url":"https://github.com/mikeswanson/JBSpacer/issues/3","id":70408132,"number":3,"title":"Reformats all cells to square shape","user":{"login":"AJMiller","id":1571978,"avatar_url":"https://avatars.githubusercontent.com/u/1571978?v=3","gravatar_id":"","url":"https://api.github.com/users/AJMiller","html_url":"https://github.com/AJMiller","followers_url":"https://api.github.com/users/AJMiller/followers","following_url":"https://api.github.com/users/AJMiller/following{/other_user}","gists_url":"https://api.github.com/users/AJMiller/gists{/gist_id}","starred_url":"https://api.github.com/users/AJMiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJMiller/subscriptions","organizations_url":"https://api.github.com/users/AJMiller/orgs","repos_url":"https://api.github.com/users/AJMiller/repos","events_url":"https://api.github.com/users/AJMiller/events{/privacy}","received_events_url":"https://api.github.com/users/AJMiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T13:15:13Z","updated_at":"2015-04-23T13:15:13Z","closed_at":null,"body":"Noticed that when calculating the spacing, that JBSpacer takes a CGFloat for itemSize. If it took a CGSize parameter instead, it could include the height of the cell as it's already been defined, instead of applying itemSize to both the width and the height of the cell. This effectively bars any user from passing in a rectangular cell and having just the gutter width modified. Right now, it appears to assume that itemSize should be used for both width and height and resizes all cell heights to match itemSize."}}