小编use*_*440的帖子

如何淡入和淡出标签.一直

在我的Xcode项目中,我在xib上放了一个标签.

我想连续淡入和淡出标签,直到用户点击屏幕.当发生这种情况时,我希望出现一个新视图.

任何人都可以建议如何进行淡入/淡出?

objective-c

1
推荐指数
2
解决办法
3644
查看次数

EXC_BAD_ACCESS(代码=1,地址=0x4)

程序在运行时崩溃了。当我的代码到达 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)

exc-bad-access objective-c

0
推荐指数
1
解决办法
2018
查看次数

无法在system.diagnosis中获取startinfo方法

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)

c#

0
推荐指数
1
解决办法
520
查看次数

标签 统计

objective-c ×2

c# ×1

exc-bad-access ×1