{"push_id":2777633616,"size":1,"distinct_size":1,"ref":"refs/heads/develop","head":"350cf4d09e847bed88c0a20fbed87c72895b276c","before":"ab6921c9096dfc59f450cc8ffba48fef8488f36a","commits":[{"sha":"350cf4d09e847bed88c0a20fbed87c72895b276c","author":{"name":"matej494","email":"1ff6b140ac9fecfc6151dad73c49170d61f09e9d@gmail.com"},"message":"Albums - Main (#16)\n\n* Created 'AlbumsView'. (#4)\r\n\r\n* Created 'AlbumsView' populated with dummy pictures.\r\n\r\n* Posts (#3)\r\n\r\n* Created 'Posts' screen. Created 'Posts' model.\r\n\r\n* Implemented 'Localization'. Extended 'String' with 'localize' function.\r\n\r\n* Added 'TabBar' to application.\r\n\r\n* Added 'MartianColors' enum and colored the app. (#1)\r\n\r\n* Added 'MartianColors' enum and colored the app.\r\n\r\n* Removed 'MartianColors' enum and added 'UIColor' extension with 'martianColors' computed properties. Added '.gitkeep' to empty folders.\r\n\r\n* Renamed 'labels' in 'TableViewCell' so the names are more descriptive. Code refactoring.\r\n\r\n* Fetching posts (#2)\r\n\r\n* Added 'PostsFetcher' struct for getting posts and 'MartianApi' struct for holding parameters.\r\n\r\n* Added 'LocalizedError' protocol to 'PostsFetcher'. Added 'HTTPRequestHeader' and 'HTTPRequestMethod' structs.\r\n\r\n* Localized `PostsFetcherError'.\r\n\r\n* Fixed retain cycle. Gave 'postsFetcher's 'get' method better describing name.\r\n\r\n* Fixed project structure.\r\n\r\n* Added a run script that parses \"TODO:\", \"FIXME\" and \"NOTE:\" code markers and adds them as warnings.\r\n\r\n* Moved 'TableView' business logic from 'AlbumsView' to 'AlbumsViewController'. Created 'PhotoCollectionViewController'.\r\n\r\n* Fixed 'collectionView' disappearing from 'tableView' cell. Added markers for future revisions.\r\n\r\n* Declared 'photoCollectionViewControllers' as 'lazy var'. Extracted 'tabBar' setup to separate function.\r\n\r\n* Initialized `AlbumsViewController`'s `photoCollectionViewControllers` variable using `map`.\r\n\r\n* Albums - #2 Fetching data (#10)\r\n\r\n* Created 'AlbumsView' populated with dummy pictures.\r\n\r\n* Fixed project structure.\r\n\r\n* Moved 'TableView' business logic from 'AlbumsView' to 'AlbumsViewController'. Created 'PhotoCollectionViewController'.\r\n\r\n* Fixed 'collectionView' disappearing from 'tableView' cell. Added markers for future revisions.\r\n\r\n* Declared 'photoCollectionViewControllers' as 'lazy var'. Extracted 'tabBar' setup to separate function.\r\n\r\n* Added `Photo` model. Populated properties with real data from server. Added `activity indicator` to `CollectionView`. Added `getAlbums`, `getPhotos` and `getThumbnails` functions to `DataFetcher`.\r\n\r\n* Initialized `AlbumsViewController`'s `photoCollectionViewControllers` variable using `map`.\r\n\r\n* Installed `KingFisher` pod.\r\n\r\n* Creating all `PhotoCollectionViewControllers` at once. Updating `PhotoCollectionViewCell` with `URL`. Removed `getThumbnail` from `DataFetcher` and managing thumbnail downloads with `KingFisher` pod.\r\n\r\n* Added `PhotoCollectionViewController` as a `subview` of cell's `contentView`. Removed unnecessary `activityIndicatorView` property and added `collectionView` `reloadData` method to `success` cloasure  of `getPhotos` method.\r\n\r\n* Code formatting.\r\n\r\n* Merged branc `develop` into branch `albums` and resolved conflicts.","distinct":true,"url":"https://api.github.com/repos/matej494/Marsiple/commits/350cf4d09e847bed88c0a20fbed87c72895b276c"}]}
{"actor":{"display_login":"matej494"}}