ã¤ã³ã¹ãã¼ã« GitHubããããã¸ã§ã¯ãããã¦ã³ãã¼ããããã®ä¸ããä¸è¨ã®ãã¡ã¤ã«ãèªåã®ããã¸ã§ã¯ãã¸ã³ãã¼ãã¦è¿½å ããã LKBadgeView.m LKBadgeView.h 使ãæ¹ UIView ã®ãµãã¯ã©ã¹ãªã®ã§çæãã¦ãã¥ã¼ã¸è²¼ãä»ããã ãã§ä½¿ããã ï¼ã³ã¼ãä¾ï¼ LKBadgeView* badgeView = [[[LKBadgeView alloc] initWithFrame:CGRectMake(100, 200, 50, 20)] autorelease]; [self.view addSubview:badgeView]; badgeView.text = @"23"; XIB ã«é ç½®ãã¦ããã使ã£ã¦ãããããµã³ãã«ã¢ããªã§ã¯ãã®æ¹æ³ã使ã£ã¦ããã @property (nonatomic, retain) IBOutlet LKBadgeView* badge
{{#tags}}- {{label}}
{{/tags}}