{"action":"created","issue":{"url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/27","repository_url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController","labels_url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/27/comments","events_url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/27/events","html_url":"https://github.com/subinspathilettu/SJSegmentedViewController/issues/27","id":192619704,"number":27,"title":"Funny height Issues","user":{"login":"hassanmah","id":3025707,"avatar_url":"https://avatars.githubusercontent.com/u/3025707?v=3","gravatar_id":"","url":"https://api.github.com/users/hassanmah","html_url":"https://github.com/hassanmah","followers_url":"https://api.github.com/users/hassanmah/followers","following_url":"https://api.github.com/users/hassanmah/following{/other_user}","gists_url":"https://api.github.com/users/hassanmah/gists{/gist_id}","starred_url":"https://api.github.com/users/hassanmah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassanmah/subscriptions","organizations_url":"https://api.github.com/users/hassanmah/orgs","repos_url":"https://api.github.com/users/hassanmah/repos","events_url":"https://api.github.com/users/hassanmah/events{/privacy}","received_events_url":"https://api.github.com/users/hassanmah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-30T16:53:49Z","updated_at":"2016-12-01T09:58:32Z","closed_at":null,"body":"Hey \r\n\r\nI have set up the view controller as per the instructions, but I am getting some funny issues with the height. \r\n\r\nThis is my view from the debugging state. As you can see the SJSegmentedView doesn't extend to the navigation bar or to the tab bar.\r\n\r\n<img width=\"516\" alt=\"screen shot 2016-11-30 at 16 41 40\" src=\"https://cloud.githubusercontent.com/assets/3025707/20762198/838ae9dc-b71d-11e6-8255-ab210df5426d.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/comments/264129894","html_url":"https://github.com/subinspathilettu/SJSegmentedViewController/issues/27#issuecomment-264129894","issue_url":"https://api.github.com/repos/subinspathilettu/SJSegmentedViewController/issues/27","id":264129894,"user":{"login":"hassanmah","id":3025707,"avatar_url":"https://avatars.githubusercontent.com/u/3025707?v=3","gravatar_id":"","url":"https://api.github.com/users/hassanmah","html_url":"https://github.com/hassanmah","followers_url":"https://api.github.com/users/hassanmah/followers","following_url":"https://api.github.com/users/hassanmah/following{/other_user}","gists_url":"https://api.github.com/users/hassanmah/gists{/gist_id}","starred_url":"https://api.github.com/users/hassanmah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassanmah/subscriptions","organizations_url":"https://api.github.com/users/hassanmah/orgs","repos_url":"https://api.github.com/users/hassanmah/repos","events_url":"https://api.github.com/users/hassanmah/events{/privacy}","received_events_url":"https://api.github.com/users/hassanmah/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T09:58:32Z","updated_at":"2016-12-01T09:58:32Z","body":"@subinspathilettu I am using it like so:\r\n\r\n```\r\nimport UIKit\r\n\r\nclass InspirationViewController: SJSegmentedViewController {\r\n\r\n    override func viewDidLoad() {\r\n        \r\n        let storyboard = UIStoryboard(name: \"Main\", bundle: nil)\r\n        \r\n        let recipeViewController = storyboard\r\n            .instantiateViewController(withIdentifier: \"RecipeViewController\")\r\n        recipeViewController.title = \"Recipe\"\r\n        let fitnessViewController = storyboard\r\n            .instantiateViewController(withIdentifier: \"FitnessViewController\")\r\n        fitnessViewController.title = \"Fitness\"\r\n        \r\n        let insightViewController = storyboard\r\n            .instantiateViewController(withIdentifier: \"InsightsViewController\")\r\n        insightViewController.title = \"Insights\"\r\n        \r\n        segmentControllers = [recipeViewController, fitnessViewController, insightViewController]\r\n        \r\n        segmentTitleColor = UIColor.white\r\n        segmentBackgroundColor = UIColor(rgba: \"#2EB8B8\")\r\n        headerViewHeight = 0\r\n        segmentViewHeight = 50.0\r\n        selectedSegmentViewHeight = 3.0\r\n        segmentTitleColor = UIColor(rgba: \"#1F7D7D\")\r\n//        segmentShadow = SJShadow.light()\r\n        segmentedScrollView.segmentView?.frame.size.height = self.view.frame.size.height\r\n        super.viewDidLoad()\r\n\r\n        // Do any additional setup after loading the view.\r\n    }\r\n    \r\n    override func didReceiveMemoryWarning() {\r\n        super.didReceiveMemoryWarning()\r\n        // Dispose of any resources that can be recreated.\r\n    }\r\n    \r\n}\r\n```\r\nAm I using it incorrectly?\r\n"}}
{"actor":{"display_login":"hassanmah"}}