Related
Legonaftik I read a few discussions on StackOverflow about when we should use [weak self] or [unowned self] go out of business. However, we do n't need to use them in any case , because Swift doesn't show any errors or warnings when we use them explicitly self
Legonaftik I read a few discussions on StackOverflow about when we should use [weak self] or [unowned self] go out of business. However, we do n't need to use them in any case , because Swift doesn't show any errors or warnings when we use them explicitly self
Legonaftik I read a few discussions on StackOverflow about when we should use [weak self] or [unowned self] go out of business. However, we do n't need to use them in any case , because Swift doesn't show any errors or warnings when we use them explicitly self
Legonaftik I read a few discussions on StackOverflow about when we should use [weak self] or [unowned self] go out of business. However, we do n't need to use them in any case , because Swift doesn't show any errors or warnings when we use them explicitly self
Boone It is known that using a strong self inside a block can lead to retain cycles and memory leaks. Is it a common practice to use the weak self in the block, or assign the weak self to the strong self inside the block and use it as-is so that the weak self
Boone It is known that using a strong self inside a block can lead to retain cycles and memory leaks. Is it a common practice to use the weak self in the block, or assign the weak self to the strong self inside the block and use it as-is so that the weak self
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
If a somePromiseworkaround is provided, the function pass
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
If a somePromiseworkaround is provided, the function pass
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
If a somePromiseworkaround is provided, the function pass
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
somePromiseWhen parsing is provided , the function passed
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
If a somePromiseworkaround is provided, the function pass
Sensual PromiseKit states the following on its website : Should I worry about retain cycles? tl;dr: It is safe to use self in promise handlers. This is safe: somePromise.then {
self.doSomething()
}
If a somePromiseworkaround is provided, the function pass
Viswanath Deshmuk [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would be
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
Vishwanath Deshmukh [self]is a new term that we can use in blocks to avoid using the self keyword. So [weak self]what's the difference ? Notice [self]the retention period? I couldn't find much information on this, so any simple example with explanation would b
arango_86 Do we need to use __weak self inside UIAnimation block like below? If we don't designate ourselves as a weakness, will there be a retain cycle problem? [UIView animateWithDuration:animationDuration
delay:0
arango_86 Do we need to use __weak self inside UIAnimation block like below? Will there be a retain cycle problem if we don't specify self as weak? [UIView animateWithDuration:animationDuration
delay:0
options:UIView
arango_86 Do we need to use __weak self inside UIAnimation block like below? If we don't designate ourselves as a weakness, will there be a retain cycle problem? [UIView animateWithDuration:animationDuration
delay:0
arango_86 Do we need to use __weak self inside UIAnimation block like below? Will there be a retain cycle problem if we don't specify self as weak? [UIView animateWithDuration:animationDuration
delay:0
options:UIView
arango_86 Do we need to use __weak self inside UIAnimation block like below? Will there be a retain cycle problem if we don't specify self as weak? [UIView animateWithDuration:animationDuration
delay:0
options:UIView
arango_86 Do we need to use __weak self inside UIAnimation block like below? If we don't designate ourselves as a weakness, will there be a retain cycle problem? [UIView animateWithDuration:animationDuration
delay:0
nRewik I'm confused about using selfinside closures . When should we declare [weak self]? An obvious case that I understand is class Foo{
var closure: ( Void -> Void )?
var x = 0
func doSomething(){
closure = { [weak self] in
nRewik I'm confused about using selfinside closures . When should we declare [weak self]? An obvious case that I understand is class Foo{
var closure: ( Void -> Void )?
var x = 0
func doSomething(){
closure = { [weak self] in
nRewik I'm confused about using selfinside closures . When should we declare [weak self]? An obvious case that I understand is class Foo{
var closure: ( Void -> Void )?
var x = 0
func doSomething(){
closure = { [weak self] in