我在自定义类
中创建了这个IBOutlet@IBOutlet var nextControl: UIControl!
我可以将UIButton连接到它,但是我无法将UITextField连接到它,即使它们都是UIControl的子类。
有办法吗?非常感谢
答案 0 :(得分:0)
只需写下这样的内容:
drop temporary table if exists t;
create temporary table t (
select ('a'));
insert into t values('b');
select * from t;
select case when
2*2 = 4
then 'OK'
else (select a from t)
end;
select case when
2*2 = 5
then 'OK'
else (select a from t)
end;
nextControl是您的UITextField的名称
答案 1 :(得分:0)