The developerWorks iPhone app is now live in the Apple App Store. You can read some of how we used Lotus Connections 2.5 APIs in this technical article I helped write. Developing a social networking iPhone application based on IBM Lotus Connections 2.5
Here is a trick I used in the application to get the signature developerWorks orange.
When creating a UIColor in Objective-C there is not a SDK API to get a color using the web hex RGB values so I used a #define to help me create the UIColor object needed.
#define UIColorFromRGB(rgbValue) \
[UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 \
Then you can reference this code by calling UIColorFromRGB(0xFF6600);
Notes of a Developer
with Tags: iphone X