{"action":"opened","issue":{"url":"https://api.github.com/repos/jyunderwood/SiriWaveformView-Swift/issues/2","labels_url":"https://api.github.com/repos/jyunderwood/SiriWaveformView-Swift/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jyunderwood/SiriWaveformView-Swift/issues/2/comments","events_url":"https://api.github.com/repos/jyunderwood/SiriWaveformView-Swift/issues/2/events","html_url":"https://github.com/jyunderwood/SiriWaveformView-Swift/issues/2","id":127545534,"number":2,"title":"Multiplier property expression ","user":{"login":"tysunmac","id":11150198,"avatar_url":"https://avatars.githubusercontent.com/u/11150198?v=3","gravatar_id":"","url":"https://api.github.com/users/tysunmac","html_url":"https://github.com/tysunmac","followers_url":"https://api.github.com/users/tysunmac/followers","following_url":"https://api.github.com/users/tysunmac/following{/other_user}","gists_url":"https://api.github.com/users/tysunmac/gists{/gist_id}","starred_url":"https://api.github.com/users/tysunmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tysunmac/subscriptions","organizations_url":"https://api.github.com/users/tysunmac/orgs","repos_url":"https://api.github.com/users/tysunmac/repos","events_url":"https://api.github.com/users/tysunmac/events{/privacy}","received_events_url":"https://api.github.com/users/tysunmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T21:42:48Z","updated_at":"2016-01-19T21:42:48Z","closed_at":null,"body":"Hello\r\n\r\nSince this is a subclass, how would you connect it to the interface? Do you have an example project?\r\n\r\nBtw, Code on line 65 has to be update to something like this:\r\n\r\n```\r\nlet progress = CGFloat(1.0 - Float(i) / Float(numberOfWaves))\r\nlet normedAmplitude = (1.5 * progress - 0.5) * amplitude\r\nlet firstValue = CGFloat(1.0)\r\nlet secondValue = ((progress * 2.0) + 1.0) / 3\r\nlet multiplier = min(firstValue, secondValue)\r\nwaveColor.colorWithAlphaComponent(multiplier * CGColorGetAlpha(waveColor.CGColor)).set()\r\n```"}}