Skip to content
Advertisement

Tag: xcode

class and extending interface in objective c

I know bit of ts and I am new to Objective C. I have a meeting param which I want to extend in meeting obj (MeetingConfig.h) file How can I do that? (right now I know there is redundant code) Also, I know I am mixing language but can someone tell me what would be the equivalence of this code

How do I load SVG String into ImageView

I have an SVG string <svg xmlns=”http://www.w3.org/2000/svg” viewBox=”0 0 60 30″ width=”1200″ height=”600″><clipPath id=”a”><path d=”M30 15h30v15zv15h-30zh-30v-15zv-15h30z”/></clipPath><path d=”M0 0v30h60v-30z” fill=”#00247d”/><path d=”M0 0l60 30m0-30l-60 30″ stroke=”#fff” stroke-width=”6″/><path d=”M0 0l60 30m0-30l-60 30″ clip-path=”url(#a)” stroke=”#cf142b” stroke-width=”4″/><path d=”M30 0v30m-30-15h60″ stroke=”#fff” stroke-width=”10″/><path d=”M30 0v30m-30-15h60″ stroke=”#cf142b” stroke-width=”6″/></svg> How do I render it on ImageView? If this was .svg file, I can load it with Glide in Android

Advertisement