<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kiwi </title>
    <description>The latest articles on DEV Community by Kiwi  (@lilkiwi).</description>
    <link>https://dev.to/lilkiwi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F676024%2F3d0e2903-6486-4b42-99e9-c72feec45f74.jpeg</url>
      <title>DEV Community: Kiwi </title>
      <link>https://dev.to/lilkiwi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lilkiwi"/>
    <language>en</language>
    <item>
      <title>"Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value"</title>
      <dc:creator>Kiwi </dc:creator>
      <pubDate>Thu, 14 Oct 2021 18:36:57 +0000</pubDate>
      <link>https://dev.to/lilkiwi/thread-1-fatal-error-unexpectedly-found-nil-while-implicitly-unwrapping-an-optional-value-41f5</link>
      <guid>https://dev.to/lilkiwi/thread-1-fatal-error-unexpectedly-found-nil-while-implicitly-unwrapping-an-optional-value-41f5</guid>
      <description>&lt;p&gt;//View controller &lt;/p&gt;

&lt;p&gt;Class MyViewController : UIViewController&lt;/p&gt;

&lt;p&gt;@IBOutlet weak var myLabel : UILabel! &lt;br&gt;
…………………………………………………………………………………………………………………&lt;br&gt;
//Table view cell &lt;br&gt;
Var VC : MyViewController !&lt;/p&gt;

&lt;p&gt;@IBAction myButton(_ sender: Any ) {&lt;br&gt;
VC.myLabel.text = “ hello “ }. // I get the error here&lt;/p&gt;

</description>
      <category>swift</category>
      <category>nil</category>
      <category>developers</category>
    </item>
    <item>
      <title>How do I initialize a class to  a table view cell ??</title>
      <dc:creator>Kiwi </dc:creator>
      <pubDate>Tue, 03 Aug 2021 14:29:04 +0000</pubDate>
      <link>https://dev.to/lilkiwi/how-do-i-initialize-a-class-to-a-table-view-cell-4od1</link>
      <guid>https://dev.to/lilkiwi/how-do-i-initialize-a-class-to-a-table-view-cell-4od1</guid>
      <description>&lt;p&gt;I’m trying to initialize a class in my table view cell and I don’t know the code &lt;/p&gt;

</description>
      <category>swift</category>
      <category>ios</category>
      <category>xcode</category>
      <category>beginners</category>
    </item>
    <item>
      <title>swift developers help 😶 plz</title>
      <dc:creator>Kiwi </dc:creator>
      <pubDate>Thu, 29 Jul 2021 10:56:37 +0000</pubDate>
      <link>https://dev.to/lilkiwi/swift-developers-help-plz-1n25</link>
      <guid>https://dev.to/lilkiwi/swift-developers-help-plz-1n25</guid>
      <description>&lt;p&gt;import UIKit&lt;/p&gt;

&lt;p&gt;class ItemTableViewCell: UITableViewCell {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@IBOutlet weak var stepperText: UILabel!

@IBOutlet weak var priceLabel: UILabel!

var item : Item! // this is a view controller class that have the item data .. price as a double (var price: Double! )


override func awakeFromNib() {

    super.awakeFromNib()

}


IBAction func stepper(_ sender: UIStepper) {

    var item : Item! // I called it again bc it didn’t connect in the stepper func ;-;

    stepperText.text = String(Int(sender.value))

    priceLabel.text = String(Int(sender.value))

    let n = item.price // HERE is the error (Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value)

    let nn = Double(Double(stepperText.text! ?? “0”) ?? 0)

    priceLabel.text = “\(n! * nn )”

    // i made this code to take the item price and when I use the stepper it multiple the step number with the price ;0; help plz
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

</description>
      <category>swift</category>
      <category>help</category>
      <category>xcode</category>
    </item>
    <item>
      <title>Help needed ;-; </title>
      <dc:creator>Kiwi </dc:creator>
      <pubDate>Thu, 29 Jul 2021 08:00:04 +0000</pubDate>
      <link>https://dev.to/lilkiwi/help-needed-5819</link>
      <guid>https://dev.to/lilkiwi/help-needed-5819</guid>
      <description>&lt;p&gt;import UIKit&lt;/p&gt;

&lt;p&gt;class ItemTableViewCell: UITableViewCell {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@IBOutlet weak var stepperText: UILabel!

@IBOutlet weak var priceLabel: UILabel!

var item : Item! // this is a view controller class that have the item data .. price as a double (var price: Double! )


override func awakeFromNib() {

    super.awakeFromNib()

}


IBAction func stepper(_ sender: UIStepper) {

    var item : Item! // I called it again bc it didn’t connect in the stepper func ;-;

    stepperText.text = String(Int(sender.value))

    priceLabel.text = String(Int(sender.value))

    let n = item.price // HERE is the error (Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value)

    let nn = Double(Double(stepperText.text! ?? “0”) ?? 0)

    priceLabel.text = “\(n! * nn )”

    // i made this code to take the item price and when I use the stepper it multiple the step number with the price ;0; help plz
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

</description>
      <category>swift</category>
      <category>xcode</category>
      <category>help</category>
    </item>
    <item>
      <title>Help ;-; </title>
      <dc:creator>Kiwi </dc:creator>
      <pubDate>Wed, 28 Jul 2021 23:39:57 +0000</pubDate>
      <link>https://dev.to/lilkiwi/help-thread-1-fatal-error-unexpectedly-found-nil-while-implicitly-unwrapping-an-optional-value-5703</link>
      <guid>https://dev.to/lilkiwi/help-thread-1-fatal-error-unexpectedly-found-nil-while-implicitly-unwrapping-an-optional-value-5703</guid>
      <description>&lt;p&gt;import UIKit&lt;/p&gt;

&lt;p&gt;class ItemTableViewCell: UITableViewCell {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;@IBOutlet weak var stepperText: UILabel!

@IBOutlet weak var priceLabel: UILabel!

var item : Item! // this is a view controller class that have the item data .. price as a double (var price: Double! )


override func awakeFromNib() {

    super.awakeFromNib()

}


IBAction func stepper(_ sender: UIStepper) {

    var item : Item! // I called it again bc it didn’t connect in the stepper func ;-;

    stepperText.text = String(Int(sender.value))

    priceLabel.text = String(Int(sender.value))

    let n = item.price // HERE is the error (Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value)

    let nn = Double(Double(stepperText.text! ?? “0”) ?? 0)

    priceLabel.text = “\(n! * nn )”

    // i made this code to take the item price and when I use the stepper it multiple the step number with the price ;0; help plz
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

</description>
      <category>swift</category>
      <category>help</category>
    </item>
  </channel>
</rss>
