This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSShadow *textShadow = [[NSShadow alloc] init]; | |
| textShadow.shadowColor = [UIColor darkGrayColor]; | |
| textShadow.shadowBlurRadius = 1.2; | |
| textShadow.shadowOffset = CGSizeMake(1,1); | |
| NSDictionary *attributes = @{NSForegroundColorAttributeName: [UIColor blackColor], | |
| NSShadowAttributeName: textShadow | |
| }; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSNumber *number = [NSNumber numberWithInt:512]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <UIKit/UIKit.h> | |
| @interface UILabel (TextKerning) | |
| - (void) setText:(NSString *)text withKerning:(CGFloat)kerning; | |
| - (void) setKerning:(CGFloat)kerning; | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <UIKit/UIKit.h> | |
| @interface UILabel (TextKerning) | |
| - (void) setText:(NSString *)text withKerning:(CGFloat)kerning; | |
| - (void) setKerning:(CGFloat)kerning; | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + (BOOL)date:(NSDate*)date isBetweenDate:(NSDate*)beginDate andDate:(NSDate*)endDate | |
| { | |
| if ([date compare:beginDate] == NSOrderedAscending) | |
| return NO; | |
| if ([date compare:endDate] == NSOrderedDescending) | |
| return NO; | |
| return YES; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSAttributedString *attrStr = ... // your attributed string | |
| CGFloat width = 300; // whatever your desired width is | |
| CGRect rect = [attrStr boundingRectWithSize:CGSizeMake(width, 10000) options:NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading context:nil]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| @class DelegateHelper; | |
| @protocol DelegateHelperDelegate <NSObject> | |
| - (void) delegateHelperSomething; | |
| @end | |
| @interface DelegateHelper : NSObject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| URL ที่ใช้ Search ในตัวอย่างใช้คำว่า "ลืมไปเลย" | |
| https://www.se-ed.com/product-search/ลืมไปเลย.aspx?keyword=ลืมไปเลย&search=name | |
| URL ของภาพปกหนังสือ | |
| https://se-edws.se-ed.com/Storage/Originals/978616/716/9786167164816L.jpg | |
| ให้ 9786167164816 = หมายเลข ISBN ของหนังสือ | |
| https://se-edws.se-ed.com/Storage/Originals/(ISBN[0->5])/(ISBN[6-8])/(ISBN)L.jpg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| soccersuck.com##div[style="margin: 0px 0px 2px 10px;"] | |
| soccersuck.com##div[style="margin:2px 0px 0px 2px;"] | |
| soccersuck.com##div[style="width:470px;height:250px;"] | |
| soccersuck.com##div[style="margin:5px 0px 0px 0px;float:left;"] | |
| soccersuck.com##div[class*="adv_A"] | |
| soccersuck.com##div[class*="advD"] | |
| soccersuck.com/ss/ads/* | |
| soccersuck.com/2008/images/banner/* |
OlderNewer