{"action":"created","issue":{"url":"https://api.github.com/repos/Yalantis/Persei/issues/2","labels_url":"https://api.github.com/repos/Yalantis/Persei/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Yalantis/Persei/issues/2/comments","events_url":"https://api.github.com/repos/Yalantis/Persei/issues/2/events","html_url":"https://github.com/Yalantis/Persei/issues/2","id":61386947,"number":2,"title":"use Persei in objc project","user":{"login":"NilStack","id":8167880,"avatar_url":"https://avatars.githubusercontent.com/u/8167880?v=3","gravatar_id":"","url":"https://api.github.com/users/NilStack","html_url":"https://github.com/NilStack","followers_url":"https://api.github.com/users/NilStack/followers","following_url":"https://api.github.com/users/NilStack/following{/other_user}","gists_url":"https://api.github.com/users/NilStack/gists{/gist_id}","starred_url":"https://api.github.com/users/NilStack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NilStack/subscriptions","organizations_url":"https://api.github.com/users/NilStack/orgs","repos_url":"https://api.github.com/users/NilStack/repos","events_url":"https://api.github.com/users/NilStack/events{/privacy}","received_events_url":"https://api.github.com/users/NilStack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-14T03:40:14Z","updated_at":"2015-03-15T09:47:55Z","closed_at":null,"body":"I want to use Persei in my objc project, but can't define MenuItem because it's Struct. So I simply changed MenuItem to class and subclass of NSObject. Maybe the requirement is a little weired and the solution has potential risk. What's your suggestion? @Yalantis Whatever, thanks for sharing Persei! \r\n"},"comment":{"url":"https://api.github.com/repos/Yalantis/Persei/issues/comments/80937703","html_url":"https://github.com/Yalantis/Persei/issues/2#issuecomment-80937703","issue_url":"https://api.github.com/repos/Yalantis/Persei/issues/2","id":80937703,"user":{"login":"dimazen","id":829562,"avatar_url":"https://avatars.githubusercontent.com/u/829562?v=3","gravatar_id":"","url":"https://api.github.com/users/dimazen","html_url":"https://github.com/dimazen","followers_url":"https://api.github.com/users/dimazen/followers","following_url":"https://api.github.com/users/dimazen/following{/other_user}","gists_url":"https://api.github.com/users/dimazen/gists{/gist_id}","starred_url":"https://api.github.com/users/dimazen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimazen/subscriptions","organizations_url":"https://api.github.com/users/dimazen/orgs","repos_url":"https://api.github.com/users/dimazen/repos","events_url":"https://api.github.com/users/dimazen/events{/privacy}","received_events_url":"https://api.github.com/users/dimazen/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T09:47:55Z","updated_at":"2015-03-15T09:47:55Z","body":"Hello, @NilStack \r\n```struct``` is used to prevent unexpected changes of ```MenuItem```\r\nWhen we're declaring ```MenuItem``` as a class - user can change any of it's values with no restriction. \r\n\r\nIs there any way to rewrite your view controller on swift?"}}