Skip to content

Commit 8e1f5bf

Browse files
vigneshuviVignesh Kumar
authored andcommitted
Resolved issue in iOS/Mac OSx
Added the sample project for Mac OSx Updated the readme file.
1 parent 0be5579 commit 8e1f5bf

File tree

20 files changed

+1935
-8
lines changed

20 files changed

+1935
-8
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ Examples/ObjectiveC/Demo/xcodebuild.log
7676
Examples/ObjectiveC/build
7777
Examples/ObjectiveC/Pods/*
7878

79+
Examples/MacOS/SampleMacSwift/SampleMacSwift.xcworkspace/*
80+
Examples/MacOS/SampleMacSwift/xcuserdata
81+
Examples/MacOS/SampleMacSwift/xcodebuild.log
82+
Examples/MacOS/SampleMacSwift/build
83+
Examples/MacOS/SampleMacSwift/Pods/*
84+
7985
Examples/CarthageExport/Carthage/*
8086

8187
*.lock
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Uncomment this line to define a global platform for your project
2+
3+
target 'SampleMacSwift' do
4+
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
5+
use_frameworks!
6+
7+
pod 'SwiftLoggly’
8+
# pod 'SwiftCSVExport'
9+
10+
pod 'SwiftCSVExport', :git => 'https://github.com/vigneshuvi/SwiftCSVExport.git', :tag => '2.1.0'
11+
12+
# Pods for SampleMacSwift
13+
14+
target 'SampleMacSwiftTests' do
15+
inherit! :search_paths
16+
# Pods for testing
17+
end
18+
19+
target 'SampleMacSwiftUITests' do
20+
inherit! :search_paths
21+
# Pods for testing
22+
end
23+
24+
end

Examples/MacOS/SampleMacSwift/SampleMacSwift.xcodeproj/project.pbxproj

Lines changed: 728 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
//
2+
// AppDelegate.swift
3+
// SampleMacSwift
4+
//
5+
// Created by Vignesh, Kumar (623-Extern) on 11/03/20.
6+
// Copyright © 2020 Vignesh, Kumar (623-Extern). All rights reserved.
7+
//
8+
9+
import Cocoa
10+
11+
@NSApplicationMain
12+
class AppDelegate: NSObject, NSApplicationDelegate {
13+
14+
15+
16+
func applicationDidFinishLaunching(_ aNotification: Notification) {
17+
// Insert code here to initialize your application
18+
}
19+
20+
func applicationWillTerminate(_ aNotification: Notification) {
21+
// Insert code here to tear down your application
22+
}
23+
24+
25+
}
26+
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "mac",
5+
"size" : "16x16",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "mac",
10+
"size" : "16x16",
11+
"scale" : "2x"
12+
},
13+
{
14+
"idiom" : "mac",
15+
"size" : "32x32",
16+
"scale" : "1x"
17+
},
18+
{
19+
"idiom" : "mac",
20+
"size" : "32x32",
21+
"scale" : "2x"
22+
},
23+
{
24+
"idiom" : "mac",
25+
"size" : "128x128",
26+
"scale" : "1x"
27+
},
28+
{
29+
"idiom" : "mac",
30+
"size" : "128x128",
31+
"scale" : "2x"
32+
},
33+
{
34+
"idiom" : "mac",
35+
"size" : "256x256",
36+
"scale" : "1x"
37+
},
38+
{
39+
"idiom" : "mac",
40+
"size" : "256x256",
41+
"scale" : "2x"
42+
},
43+
{
44+
"idiom" : "mac",
45+
"size" : "512x512",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "mac",
50+
"size" : "512x512",
51+
"scale" : "2x"
52+
}
53+
],
54+
"info" : {
55+
"version" : 1,
56+
"author" : "xcode"
57+
}
58+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

Examples/MacOS/SampleMacSwift/SampleMacSwift/Base.lproj/Main.storyboard

Lines changed: 737 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIconFile</key>
10+
<string></string>
11+
<key>CFBundleIdentifier</key>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>$(PRODUCT_NAME)</string>
17+
<key>CFBundlePackageType</key>
18+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleVersion</key>
22+
<string>1</string>
23+
<key>LSMinimumSystemVersion</key>
24+
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
25+
<key>NSHumanReadableCopyright</key>
26+
<string>Copyright © 2020 Vignesh, Kumar (623-Extern). All rights reserved.</string>
27+
<key>NSMainStoryboardFile</key>
28+
<string>Main</string>
29+
<key>NSPrincipalClass</key>
30+
<string>NSApplication</string>
31+
<key>NSSupportsAutomaticTermination</key>
32+
<true/>
33+
<key>NSSupportsSuddenTermination</key>
34+
<true/>
35+
</dict>
36+
</plist>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
col1,col2,col3
2+
a,b,c
3+
col1,col2,col3
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.files.downloads.read-write</key>
8+
<true/>
9+
<key>com.apple.security.files.user-selected.read-write</key>
10+
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)