在我的Xcode项目中,我在xib上放了一个标签.
我想连续淡入和淡出标签,直到用户点击屏幕.当发生这种情况时,我希望出现一个新视图.
任何人都可以建议如何进行淡入/淡出?
程序在运行时崩溃了。当我的代码到达 NSMutableArray 时,我使用arryWithObjects方法在其中保存了一些对象,这里是我的代码
(NSMutableArray *) NumSysToNumSysMultiplyMetd:(NSString *)DecCode lenthOfDecCode
:(int)length NumSysMultiplyValue
:(int)value
{
NSString * step1 = DecCode;
int Step2 = 0;
NSString *step2s=@"=> ";
int finalAnswer=0;
for (int i=length,j=0; i >=0; i--,j++)
{
NSString *digit;
digit = [NSString stringWithFormat:@"%c",[DecCode characterAtIndex:j]];
step1 = [step1 stringByAppendingString: [NSString stringWithFormat:@"%@ * %i^%i + ",digit,value,i]];
Step2= [digit integerValue] * pow(value, i);
step2s= [step2s stringByAppendingString:[NSString stringWithFormat:@" %i +",Step2]];
finalAnswer =finalAnswer + Step2;
}
NSMutableArray *mut = [NSMutableArray arrayWithObjects:step1,step2s,finalAnswer,nil];
return mut
Run Code Online (Sandbox Code Playgroud) Error 1 'WindowsFormsApplication1.Process' does not contain a definition for 'StartInfo' and no extension method 'StartInfo' accepting a first argument of type 'WindowsFormsApplication1.Process' could be found (are you missing a using directive or an assembly reference?)
D:\Anas Work\ANAS FOLDER\4th Semester\Introduction To operating System\Programs\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 24 16 WindowsFormsApplication1
Run Code Online (Sandbox Code Playgroud)
我的代码如下:
process p1= new process();
p1.startinfo.filename="chorome.exe";
Run Code Online (Sandbox Code Playgroud)