Search results

  1. fukurou

    XCode grimoire

    play audio import UIKit import AVFoundation class ViewController: UIViewController { var player: AVAudioPlayer! override func viewDidLoad() { super.viewDidLoad() } @IBAction func keyPressed(_ sender: UIButton) { playSound() } func playSound()...
  2. fukurou

    How the hell do i get rid of this ugly font?

    and choose 2 or default
  3. fukurou

    XCode grimoire

    to pad a button set it's width to a value and address the error :
  4. fukurou

    XCode grimoire

    inside the views set the views constraints
  5. fukurou

    XCode grimoire

    setting stack view attributes set distribution to fill equally and play with the spacing : set embedding views background to default (which is see through) :
  6. fukurou

    XCode grimoire

    stack view constraints naming views : embed in a stack view finally add pin constraints to the stack view and set the pins relative to the safe area :
  7. fukurou

    XCode grimoire

    embedding views method 1 :add a UIView (+ btn from upper tool bar) and drag a view in to it : method 2 : select views->editor->embed in->view method 3 :select views and then click the embed button an error will prompt you to set the containing views constraints or a constraint embedding it:
  8. fukurou

    XCode grimoire

    pinned constraints if you place views without sufficient constraints it will err : setting alignment constraint (marked in the bottom toolbar with 2 rectangles) for the label : adding a pinned constraint (marked in the bottom toolbar with a square with 4 lines around it) so the view is...
  9. fukurou

    XCode grimoire

    alignment constraints these set an axis for a view so that it stays situated when the phone is rotated
  10. fukurou

    XCode grimoire

    constraints these glue the views using rules pin constraints ( background ) ^ set the trailing and leading attributes of the background constraints to the superview to stretchmax it all over the screen
  11. fukurou

    [MEDIA]

  12. fukurou

    hologram tech

  13. fukurou

    livingrimoire memes

  14. fukurou

    SML Movie: Joseph Loses His Hat!

    🍿:kek:
  15. fukurou

    SML Movie: Joseph Loses His Hat!

    🍹:meh:
  16. fukurou

    random numbers

    https://www.khanacademy.org/computing/computer-science/cryptography/crypt/v/random-vs-pseudorandom-number-generators
  17. fukurou

    🐦swift swift grimoire

    randomizer Int.random(in: 0...5) // includes 0 and 5 Int.random(in: 0..<5) // includes 0 array1.randomElement()! // returns a random element from the array
  18. fukurou

    How to Record Screen With Audio on MacBook

  19. fukurou

    XCode grimoire

    https://jizz.is/threads/swift-grimoire.329/
  20. fukurou

    🐦swift swift grimoire

Top