Advertisement
Guest User

Untitled

a guest
Mar 7th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. char fourChar[4];
  2. int* value = (int*)(&fourChar);
  3. *value = (int)floatValueFromSlider; // or the simple values from your picker
  4. [appNote sendCharArray:fourChar]; // assuming the method wants a char[] of only 4 characters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement