Search results

  1. fukurou

    🐍 python regex util class

    ''' REGEXUTIL CLASS''' # returns expression of type theRegex from the string str2Check class RegexUtil: def regexChecker(self, theRegex: str, str2Check: str) -> str: regexMatcher = re.search(theRegex, str2Check) if (regexMatcher != None): return...
  2. fukurou

    🐍 python playground class

    # the PlayGround cls is not a core class but very useful class enumTimes(Enum): DATE = auto() DAY = auto() YEAR = auto() HOUR = auto() MINUTES = auto() SECONDS = auto() class PlayGround: def __init__(self): self.week_days = {1: 'sunday'...
  3. fukurou

    current progress LG python to swift

    // // LivinGrimoire.swift // LivinGrimoireSwiftV1 // // Created by fuki barski on 21/06/2022. // import Foundation class AbsDictionaryDB{ func save(key:String, value: String){ // save to DB (override me) } func load(key:String)->String{ // override me...
  4. fukurou

    🏕️offgrid in comfort

  5. fukurou

    🎮gaming NINTENDO switch

    based
  6. fukurou

    [MEDIA]

  7. fukurou

    [MEDIA]

  8. fukurou

    🎮gaming nintendo switch megathread

    arcade hori joystick
  9. fukurou

    🎮gaming nintendo switch megathread

    NINTENDO SWITCH: How to connect a wireless controller
  10. fukurou

    🎮gaming nintendo switch megathread

    transfer user from old to new switch
  11. fukurou

    🐦swift swift grimoire

    optionals crate a new Xcode project->macOS tab-> command line optional binding let myOptional:String? = "hadoken" // transform optional to actual variable (optional binding) if let safeOptional = myOptional { let text:String = safeOptional print(text) } nil coalescing operator : let...
  12. fukurou

    rumour booster redout 2

  13. fukurou

    XCode grimoire

    pancake view while the app is running you can see a 3d model of the layered activities click : drag the mouse to get the 3d pancake view :
  14. fukurou

    XCode grimoire

    segue // these are links between story boards (activities) and they enable //switching between them create a segue by control drag from one segue to another : choose present modally name the segue : the cocoa class code : import UIKit class ResultViewController: UIViewController {...
  15. fukurou

    XCode grimoire

    Cocoa Touch Class // these are used to build extra activities not programmatically file->new file->Cocoa Touch Class and place the class in the controller directory select an activity from the story board : from the identity inspector set the selected activity class name to that of the...
  16. fukurou

    XCode grimoire

    add a 2nd activity object library (the +), search view controller adding views programmatically (view controller in this example (2nd activity)) controller dir->Rclick->new file->(ios tab) swift file import UIKit class SecondViewController: UIViewController { // this is a 2nd...
  17. fukurou

    🐦swift swift grimoire

    classes playground for multiple swift files : file->new->project->macOS->command line tool adding a file : right click project folder->new file->swift file help->developer documentation class example with clone method (called copy in the swift language) : class Enemy{ var health : Int...
  18. fukurou

    🐦swift swift grimoire

    type conversion let temp = String(format: "%0.2f", sender.value)
Top