Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2023-01-05 14:12:30 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b012d3531da744dd25631b35797ffed5a93a5fb4
b012d353
1 parent
4943fd0c
add resourceBundle
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
SwiftWarplyFramework.podspec
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/MyEmptyClass.swift
SwiftWarplyFramework.podspec
View file @
b012d35
...
...
@@ -29,7 +29,7 @@ Pod::Spec.new do |spec|
# spec.vendored_frameworks = "SwiftWarplyFramework.framework"
spec
.
exclude_files
=
"Classes/Exclude"
spec
.
dependency
'RSBarcodes_Swift'
,
'~> 5.1.1'
#
spec.dependency 'RSBarcodes_Swift', '~> 5.1.1'
spec
.
dependency
'SwiftEventBus'
# spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/**/*.{lproj,storyboard}'] }
# spec.resource_bundles = { 'SwiftWarplyFramework' => ['SwiftWarplyFramework/SwiftWarplyFramework/*.{png,jpeg,jpg,storyboard,xib,xcassets,json,ttf}'] }
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
b012d35
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
b012d35
...
...
@@ -6,7 +6,7 @@
//
import
UIKit
import
RSBarcodes_Swift
//
import RSBarcodes_Swift
import
AVFoundation
// import SwiftEventBus
...
...
SwiftWarplyFramework/SwiftWarplyFramework/MyEmptyClass.swift
View file @
b012d35
...
...
@@ -9,4 +9,10 @@ import Foundation
public
class
MyEmptyClass
{
static
func
resourceBundle
()
->
Bundle
?
{
let
frameworkBundle
=
Bundle
(
for
:
MyEmptyClass
.
self
)
let
bundleURL
=
frameworkBundle
.
resourceURL
?
.
appendingPathComponent
(
"ResourcesBundle.bundle"
)
let
resourceBundle
=
Bundle
(
url
:
bundleURL
!
)
return
resourceBundle
}
}
...
...
Please
register
or
login
to post a comment