GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JavaScriptCore-Demo/JavaScriptCore-Demo/RootViewController.m at master · vicjin/JavaScriptCore-Demo

Expand file tree

/

RootViewController.m

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
43 lines (35 loc) · 1.25 KB
/

RootViewController.m

Copy path

File metadata and controls

43 lines (35 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// RootViewController.m
// SocketIO-Demo
//
// Created by Jakey on 14/12/25.
// Copyright (c) 2014年 www.skyfox.org. All rights reserved.
//
#import "RootViewController.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface RootViewController ()
@end
@implementation RootViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
}
- (NSString *)loadJsFile:(NSString*)fileName
{
NSString *path = [[NSBundle mainBundle] pathForResource:fileName ofType:@"js"];
NSString *jsScript = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
return jsScript;
}
- (IBAction)JSCallOC:(id)sender {
JSCallOCViewController *jsCallOC = [[JSCallOCViewController alloc]init];
[self.navigationController pushViewController:jsCallOC animated:YES];
}
- (IBAction)OCCallJS:(id)sender {
OCCallJSViewController *ocCallJS = [[OCCallJSViewController alloc]init];
[self.navigationController pushViewController:ocCallJS animated:YES];
}
- (IBAction)HighchartsWeb:(id)sender {
HighchartsWebViewController *highchartsWeb =[[HighchartsWebViewController alloc]init];
[self.navigationController pushViewController:highchartsWeb animated:YES];
}
@end
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.