Showing posts with label application. Show all posts
Showing posts with label application. Show all posts

Sunday, 12 May 2013

How to add tweet button to iOS app?

iOS includes a framework that you can use to add twitter to your iOS application. Follow the link below to see the full documentation:


What can I do with the framework?

  1. Single Sign-On
  2. Distribution
  3. Instant Personalization


written by: infinitywebseo 

Tuesday, 30 April 2013

What is NSAttributedString ?

NSAttributedString is like a  NSString, expet every single character has dictionary of attributes. These attributes are things Like font, colour, underline, and etc.


How to get the attributes:
You can ask an NSAttributedString all about the attributes at a given location in the string.
- (NSDictinary  *)attributesAtIndex : (NSUInteger) index
                                   effectiveRange : (NSRangePointer) range;


Remember NSAttributedString is not an NSString, it does not inherits from NSString. So, you can not use NSString methods on it. However if you need to use NSString method, you must first turn NSAttributedString to NSString then use the method.
written by: infinitywebseo  

What is UIColor?

UIColor is a subclass of UIKit. Its an object which represent color. You can create it based on RGB or HSB and even patterns (UIImage).

Colors can also have alpha (UIColor *color = [otherColor colorWithAlphaComponent: 0.3]).

A handful of "standard" colors have class methods (e.g. [UIColor greenColor]).

written by: infinitywebseo