{"push_id":766793453,"size":7,"distinct_size":7,"ref":"refs/heads/master","head":"a39ca4ff93ca263855595a5577b7c3d43edd0357","before":"825d9e4d8ea635ab93a5a8c3923d3213739f5908","commits":[{"sha":"658190cccae63698d2dc44d7ce19449f52696c40","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Add private variables/functions when possible\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/658190cccae63698d2dc44d7ce19449f52696c40"},{"sha":"86548b55e89b623af70941825d49a7162c23f0e9","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Swift 2.0 fix : new way to concatain options and use of guard\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/86548b55e89b623af70941825d49a7162c23f0e9"},{"sha":"21308f73c58c5eaa73754554de1f5b56e4090636","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Remove unecessary optional\n\nIn our case, the isOff variable cannot be nil, why it'll be ? Either it's true, either false.\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/21308f73c58c5eaa73754554de1f5b56e4090636"},{"sha":"ab119364026ea2ce8e6177f3e34c1d7caeddc733","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Use the native Swift struct initializers rather than use CGGeometry functions.\n\nIn Objective-c, we used to use CGRectMake to get a CGRect struct because for   initializing a strut, it is necessary ( as in C if my memory is good ) to create first the structure, and then assigning variable.\n\nWith Swift, struct have constructors with parameters, so no need to use external functions.\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/ab119364026ea2ce8e6177f3e34c1d7caeddc733"},{"sha":"24189c3fedb2328b2750a480e8a04538daed5b6c","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Make the CustomSwitch designable so we can see it in Storyboard\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/24189c3fedb2328b2750a480e8a04538daed5b6c"},{"sha":"e509575cfa4a9d5c92bf01828510fcb6128d23f8","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Add delegate to know when the switch changed\n\nI think it can be interesting in some case like.\n\nFor example, I'm using the CustomSwitch instead the UISegmentedControl to load different table view according to the current button selected in the CustomSwitch. So I need to reload my table view data when the switch toggle.\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/e509575cfa4a9d5c92bf01828510fcb6128d23f8"},{"sha":"a39ca4ff93ca263855595a5577b7c3d43edd0357","author":{"email":"c4ef171a48d78f662bcce391783b9132c95d617d@gmail.com","name":"Rebouh Aymen"},"message":"Xcode 7 and Swift 2.0 fix\n\n-Replacing var by let when possible\n-Using Swift native constructors instead  functions that return CGPoint\n- 0 for options is not accepted. Nil also. With Swift, it becomre [].\n\nPS : In Objective-c, we used to use CGPointMake to get a CGPoint struct because for  initializing a strut, it is necessary ( as in C if my memory is good ) to create first the structure, and then assigning variable.\n\nWith Swift, struct have constructors with parameters, so no need to use external functions.\n\nSigned-off-by: Rebouh Aymen <aymenworks@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Aymenworks/Custom-Switch/commits/a39ca4ff93ca263855595a5577b7c3d43edd0357"}]}