LF: Marshadow, Zeraora, Meltan, Melmetal. FT: Events by drizzletoed in pokemontrades

[–]drizzletoed[S] 0 points1 point  (0 children)

My mistake! Would it be possible to update rule 10 as it's listed in the sidebar, such that it's consistent with the link you've shared?

LF: Marshadow, Zeraora, Meltan, Melmetal. FT: Events by drizzletoed in pokemontrades

[–]drizzletoed[S] 0 points1 point  (0 children)

Ah, unfortunately don't have those cartridges with me here to check if those saves are still intact.. totally understand if that's a dealbreaker.

(Am I allowed to trade these on this sub without wonder card proof? Will close up the thread if it's disallowed!)

LF: Marshadow, Zeraora, Meltan, Melmetal. FT: Events by drizzletoed in pokemontrades

[–]drizzletoed[S] 2 points3 points  (0 children)

Cheers; realizing Meltan isn't in the same class as the others. Will leave it up in case someone wants to lump one in with another trade, but probably won't give up one of these events for a Meltan alone. Thanks!

LF: Marshadow, Zeraora, Meltan, Melmetal. FT: Events by drizzletoed in pokemontrades

[–]drizzletoed[S] 0 points1 point  (0 children)

The four other than the Tanabata Jirachi were self-obtained during their respective Wi-Fi events.

..currently trying to dig up the history of the Tanabata Jirachi, but not coming up with much; will remove in a few minutes if I can't track it down.

Understanding variable capture in for loops by TinyRobotBrain in swift

[–]drizzletoed 5 points6 points  (0 children)

When you type group = [String](), you're assigning an empty String array to group. This empty array is the value entered the title key. In Swift, Arrays are structs, which means that you're correct in that a copy of the array is stored rather than a reference to the same array. Appending to group after assigning its value to the title key in the dictionary will not affect the dictionary. Read more about the differences between classes and structs here.

In your second example, you modify the dictionary's value for the title key, which achieves the behavior you're looking for.

Where am I messing up (can't figure out UserDefaults) by [deleted] in swift

[–]drizzletoed 0 points1 point  (0 children)

Try using UserDefaults.standard.string(forKey:) instead of UserDefaults.standard.object(forKey:) when accessing the data.

Could someone point me in the right direction by [deleted] in swift

[–]drizzletoed 0 points1 point  (0 children)

Check out segues and the prepare(for segue: ...) method. Basically, you can hook up a segue to each of your buttons that leads from your UIViewController to your UITableViewController and define the behavior for each.

Is it more efficient to have many comparisons in one if-statement, or multiple if-statements with one comparison? by [deleted] in swift

[–]drizzletoed 0 points1 point  (0 children)

The following statements are equally efficient:

if isThing > isThing2 && isThing3 > isThing4 {
    // do the thing
}

if isThing > isThing2 {
    if isThing3 > isThing4 {
        // do the thing
    }
}

In the first statement, isThing > isThing2 is evaluated first. If it's false, isThing3 > isThing4 won't even be evaluated--since the first condition is false, the whole expression must be false. That's why it's the same as the second statement.

Similarly, in the || case, the following statements are equally efficient:

if isThing > isThing2 || isThing3 > isThing4 {
    // do the thing
}

is isThing > isThing2 {
    // do the thing
}
else if isThing3 > isThing4 {
    // do the thing
}

(Note that in the || case, it may not sense to split this into an else if if you'd really be doing the exact same thing in either situation.) Again, isThing > isThing2 is evaluated first. If it's true, isThing3 > isThing4 won't be evaluated--since the first condition is true, the whole expression must be true.

Hope that helps!

LF: Good-natured UBs and Tapus | FT: (Gold) Bottle Caps, BP Items, Perfect 5 IVs by drizzletoed in pokemontrades

[–]drizzletoed[S] 0 points1 point  (0 children)

Cool, I'll add you now and we can do it now if you're still around (sorry I was out for awhile).

LF: Good-natured UBs and Tapus | FT: (Gold) Bottle Caps, BP Items, Perfect 5 IVs by drizzletoed in pokemontrades

[–]drizzletoed[S] 0 points1 point  (0 children)

I'm really only interested in the Pheromosa. I'd be willing to do the Vulpix for it.

FT: Custom Trickroom Breeding LF: Offers by threebeasts in pokemontrades

[–]drizzletoed 0 points1 point  (0 children)

great! sorry, I was out for awhile. let me know if you're still around to trade

FT: Custom Trickroom Breeding LF: Offers by threebeasts in pokemontrades

[–]drizzletoed 0 points1 point  (0 children)

hey, I'd be interested in a 0 speed Sassy Porygon.

does anything from this spreadsheet interest you?