• This repository has been archived on 18/Aug/2022
  • Stars
    star
    127
  • Rank 273,002 (Top 6 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 11 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An iOS browser built on top of UIWebView

banshee

An iOS browser built on top of UIWebView - screenshot

This projects implements tabs, bookmarks, address bar, search bar, loading indicators, and much more for UIWebView. Currently it only supports iOS 7.0 and greater with ARC-only. See branches for older versions.

Installation

  • Copy "Browser" and "Browser Resources" folder into your xcode project.

  • This project is cocoapods compatible if you prefer installing it via cocoapods.

Dependencies

  • CoreData.framework
  • SystemConfiguration.framework
  • libxml2.2.dylib

To include these dependencies you need to add them to your linked libraries. To do this click on project name in Project Navigator then click on your project target. Then under the "Build Phases" section you will see a "Link Binary With Libraries" item, expand it and click the "+" button.

Since libxml is not a framework but rather a dylib you will also have to add it to the head search paths. To do this go to "Build Settings" section of xcode.Set the "Head Search Paths": $(SDKROOT)/usr/include/libxml2

Integration

The recommended way to integrate the browser code is to make your view controller a subclass of the browser controller. Which should look something like this:

@interface ViewController : BrowserViewController

AppDelegate

Your app delegate needs to inherit from the browser delegate as so: #import "BrowserDelegate.h"

@interface AppDelegate : BrowserDelegate <UIApplicationDelegate>

The browser code does reference the app delegate, so you must have an AppDelegate Task. In the app delegate you should place this code in your didFinishLaunchingWithOptions:

self.viewController = [[BrowserViewController alloc] init];

Misc

There is a customButton UIBarButtonitem which you can customize programmatically in your view controller. This button appears in the bottom toolbar on the right. You can also overwrite the click handler method -(IBAction) customButtonClick:(id)sender.

There are now 2 custom buttons.

License

Copyright (c) 2014 Evidon unless otherwise specified

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

ghostery-extension

Ghostery Browser Extension for Firefox, Chrome, Opera, Edge and Safari
JavaScript
1,299
star
2

adblocker

Efficient embeddable adblocker library
TypeScript
724
star
3

local-sheriff

Think of Local sheriff as a recon tool in your browser (WebExtension). While you normally browse the internet, Local Sheriff works in the background to empower you in identifying what data points (PII) are being shared / leaked to which all third-parties.
JavaScript
303
star
4

user-agent-desktop

Ghostery Desktop Browser
JavaScript
102
star
5

user-agent-ios

Ghostery iOS Browser
Swift
67
star
6

trackerdb

Ghostery Tracker Database
JavaScript
45
star
7

areweprivateyet

The crawler/analysis component of Are We Private Yet?
Java
43
star
8

GhosterySafari

Ghostery Lite app extension for Safari desktop browser
Swift
35
star
9

user-agent-android

Ghostery Android Browser
Shell
34
star
10

browser-android

Legacy Ghostery Browser for Android
24
star
11

url-parser

A fast typescript implementation of the window.URL API
TypeScript
24
star
12

autoconsent

TypeScript
21
star
13

browser-ios

Legacy Ghostery Browser for iOS
Swift
20
star
14

addon-simple-storage-editor

Firefox Add-on SDK simple storage viewer and editor
JavaScript
13
star
15

ghostery-dnr-extension

Swift
12
star
16

ghostery-browser-linux-support

Ghostery Browser on Linux (installer and Linux-specific documentation)
Ruby
8
star
17

common

Shared JS modules for Ghostery projects
JavaScript
7
star
18

ghostery-search-extension

JavaScript
6
star
19

broken-page-reports

TypeScript
6
star
20

ghostery-dawn-onboarding-extension

CSS
3
star
21

ghostery-newtab-extension

JavaScript
3
star
22

ghostery-tracker-analytics-extension

JavaScript
2
star
23

urlfilter2dnr

JavaScript
1
star
24

benchmarks

JavaScript
1
star
25

.github

1
star