{"action":"created","issue":{"url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/3","labels_url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/3/comments","events_url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/3/events","html_url":"https://github.com/danielpi/NSOutlineViewInSwift/issues/3","id":99855393,"number":3,"title":"how to imp the outlineVIew custom group header view?","user":{"login":"79144876","id":1910405,"avatar_url":"https://avatars.githubusercontent.com/u/1910405?v=3","gravatar_id":"","url":"https://api.github.com/users/79144876","html_url":"https://github.com/79144876","followers_url":"https://api.github.com/users/79144876/followers","following_url":"https://api.github.com/users/79144876/following{/other_user}","gists_url":"https://api.github.com/users/79144876/gists{/gist_id}","starred_url":"https://api.github.com/users/79144876/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/79144876/subscriptions","organizations_url":"https://api.github.com/users/79144876/orgs","repos_url":"https://api.github.com/users/79144876/repos","events_url":"https://api.github.com/users/79144876/events{/privacy}","received_events_url":"https://api.github.com/users/79144876/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-09T02:43:45Z","updated_at":"2015-08-10T11:15:04Z","closed_at":null,"body":"i have try to imp the outlineView ,if the outlineView has not set headerCell ,the goupCell will show \"show/hide\"  action on right. but i want imp it to show exp/colls on groupCell left  like has set headerCell .\r\nBy the way, i found that the outlineVIew's child cell not show on screen left. i mean it will show a padding on the left.how to fix it ?\r\nHow to imp it ? Do you have any idea about?\r\nThanks.\r\n\r\n<img width=\"183\" alt=\"screen shot 2015-08-09 at 10 33 09 am\" src=\"https://cloud.githubusercontent.com/assets/1910405/9153354/704873a8-3e83-11e5-8dbc-dffd8eb384d1.png\">\r\n\r\n<img width=\"236\" alt=\"screen shot 2015-08-09 at 10 33 29 am\" src=\"https://cloud.githubusercontent.com/assets/1910405/9153353/541ba952-3e83-11e5-92bc-2379f9c59fbf.png\">\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/comments/129410444","html_url":"https://github.com/danielpi/NSOutlineViewInSwift/issues/3#issuecomment-129410444","issue_url":"https://api.github.com/repos/danielpi/NSOutlineViewInSwift/issues/3","id":129410444,"user":{"login":"danielpi","id":483128,"avatar_url":"https://avatars.githubusercontent.com/u/483128?v=3","gravatar_id":"","url":"https://api.github.com/users/danielpi","html_url":"https://github.com/danielpi","followers_url":"https://api.github.com/users/danielpi/followers","following_url":"https://api.github.com/users/danielpi/following{/other_user}","gists_url":"https://api.github.com/users/danielpi/gists{/gist_id}","starred_url":"https://api.github.com/users/danielpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielpi/subscriptions","organizations_url":"https://api.github.com/users/danielpi/orgs","repos_url":"https://api.github.com/users/danielpi/repos","events_url":"https://api.github.com/users/danielpi/events{/privacy}","received_events_url":"https://api.github.com/users/danielpi/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T11:15:04Z","updated_at":"2015-08-10T11:15:04Z","body":"Ok, I see what you are trying to do. Looks like you are trying to tackle this from two directions at once. Using an NSOutlineView with a header removed and also using an NSSourceList without the Show/Hide group cell.\r\n\r\nI can show you how to do the first approach. With an NSOutlineView you can remove the header by setting the headerView property of your outlineView to nil in code. I've just modified the NSOutlineViewInSwift project to do this. Have a look and let me know if that is what you want. The ViewController had been modified. First I added an IBOutlet Property so that I could link the OutlineView from IB to the ViewController object. Then in viewDidLoad I set the outlineView.headerView = nil. Now there is no header."}}