如何在案文领域进入某一具体信函后解冻顿?
如何动态地消除纽托邦
原标题:how to disable a button dynamically
最佳回答
本案文对贵物体的特性之一具有价值,并确保核对“不断更新”的接口。 举例来说,这些财产将称为Text
。 然后,用关键价值的道路(containsLetterA
)对 but状态进行约束。
- (BOOL) containsLetterA
{
NSRange rangeOfLetterA = [[self theText] rangeOfString:@"A"];
return rangeOfLetterA.location != NSNotFound;
}
之后,在您的标语中,也添加了分类方法:
+ (NSSet *) keyPathsForValuesAffectingValueForContainsLetterA
{
return [NSSet setWithObjects:@"theText", nil];
}
问题回答
暂无回答
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding