This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
import SwiftUI | |
enum ComponentType{ | |
case sandwich | |
case smoothie | |
case soup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person: | |
p = Person() | |
p.name = "Foo" | |
In Ruby: | |
class Person | |
attr_accessor :name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// videoTestMemoryViewController.h | |
// videoTestMemory | |
// | |
// Created by david on 06/10/10. | |
// Copyright 2010 E-ducation.it. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import <MediaPlayer/MediaPlayer.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%start PubSubRefresh::Idle | |
%class PubSubRefresh | |
%header PubSubRefresh.h | |
%map PubSubRefreshMap | |
%% | |
Idle | |
{ | |
Start |