Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 1599a04

Browse files
committed
Change to obj-c cli with swift framework, display results in json
Now it works on osx machines without swift installed.
1 parent 8ded238 commit 1599a04

File tree

18 files changed

+1220
-142
lines changed

18 files changed

+1220
-142
lines changed
1.74 MB
Binary file not shown.

SafariHistorySearch.xcodeproj/project.pbxproj

Lines changed: 446 additions & 0 deletions
Large diffs are not rendered by default.

SafariHistorySearch.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SafariHistorySearch.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SafariHistorySearch/main.m

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// main.m
3+
// SafariHistorySearch
4+
//
5+
// Created by Ahmet Karalar on 17/07/16.
6+
// Copyright © 2016 Ahmet Karalar. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
@import SafariHistorySearchFramework;
12+
13+
int main(int argc, const char * argv[]) {
14+
@autoreleasepool {
15+
16+
NSArray *arguments = [[NSProcessInfo processInfo] arguments];
17+
// NSLog(@"Args: %@", arguments);
18+
[Search start:arguments];
19+
}
20+
return 0;
21+
}
Binary file not shown.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
<key>NSHumanReadableCopyright</key>
24+
<string>Copyright © 2016 Ahmet Karalar. All rights reserved.</string>
25+
<key>NSPrincipalClass</key>
26+
<string></string>
27+
</dict>
28+
</plist>

0 commit comments

Comments
 (0)