小编Sar*_*ian的帖子

更改 App Store 连接中的空白图标

我正在尝试更改App Store connect中应用程序的图标,但我不知道在哪里更改,我已经搜索了所有地方,但我不知道在哪里更新这个空白图标。请参阅附图以供参考。在此输入图像描述。当我在 App Store 连接中添加应用程序时,我没有提供图标。

app-store ios

5
推荐指数
1
解决办法
2043
查看次数

Kotlin 的 split 函数如何处理多个 split 参数

我是 Kotlin 新手。我想知道 split 函数是如何工作的。请参阅下面的示例。

示例1:

var str = "Kotlin TutorialsEPTutorialaSEpKartSEpExamples"
var delimiter1 = "SEP"
var delimiter2 = "ASEP"
var delimiter3 = "ASEPP"
val parts = str.split(delimiter1, ignoreCase = true)
print(parts)
Run Code Online (Sandbox Code Playgroud)

输出是(工作 - 理解 - 所有基于“SEP”字符串将被分割):

 [Kotlin Tutorial, Tutoriala, Kart, Examples]
Run Code Online (Sandbox Code Playgroud)

示例2:

var str = "Kotlin TutorialsEPTutorialaSEpKartSEpExamples"
var delimiter1 = "SEP"
var delimiter2 = "ASEP"
var delimiter3 = "ASEPP"
val parts = str.split(delimiter1,delimiter2,ignoreCase = true)
print(parts)
Run Code Online (Sandbox Code Playgroud)

输出是(工作-理解-所有基于“SEP”和“ASEP”字符串将被分割,但我不知道它是如何工作的。用“SEP”分割后,只有教程A会来。但是aSEP是如何分割的? ):

  [Kotlin Tutorial, Tutorial, Kart, Examples]
Run Code Online (Sandbox Code Playgroud)

示例3:

var str = "Kotlin TutorialsEPTutorialaSEpKartSEpASEPPExamples"
var …
Run Code Online (Sandbox Code Playgroud)

string split kotlin

4
推荐指数
1
解决办法
5637
查看次数

将 Double 转换为 Int

我找到了一个铸造的例子。当我尝试转换long为时int,我得到以下输出。

long e = 10;
int x = (int) e ;
WriteLine($"e is {e:N0} and x is {x:N0} ");
e = long.MaxValue;
x = (int) e;
WriteLine($"e is {e:N0} and x is {x:N0} ");
e = 5_000_000_000;
x = (int) e;
WriteLine($"e is {e:N0} and x is {x:N0} ");
Run Code Online (Sandbox Code Playgroud)

对于情况 1,10可以适合int,所以没有问题,
对于情况 2,value->long max value不适合int,所以输出是1
对于情况 3,value = 5_000_000_000,也不能适合int,所以它应该输出1,但是它输出 …

c# c#-10.0

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

标签 统计

app-store ×1

c# ×1

c#-10.0 ×1

ios ×1

kotlin ×1

split ×1

string ×1