objective c - How to define object within a line of code? (noob) -


sorry noob question, how can write in 1 line?

nsinteger minuteinterval=5; [countdownpicker setminuteinterval:minuteinterval]; 

thanks

this work: [countdownpicker setminuteinterval:5];


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -