FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SwinjectMVVMExample/ExampleModel/LocalizedString.swift at master · Swinject/SwinjectMVVMExample · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Aug 21, 2021. It is now read-only.
Swinject
/
SwinjectMVVMExample
Public archive
Notifications
You must be signed in to change notification settings
Fork
34
Star
322
Code
Issues
1
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
SwinjectMVVMExample
/
ExampleModel
/
LocalizedString.swift
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (13 loc) · 455 Bytes
Breadcrumbs
SwinjectMVVMExample
/
ExampleModel
/
LocalizedString.swift
Copy path
File metadata and controls
14 lines (13 loc) · 455 Bytes
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
//
// LocalizedString.swift
// SwinjectMVVMExample
//
// Created by Yoichi Tagaya on 8/26/15.
// Copyright © 2015 Swinject Contributors. All rights reserved.
//
internal
func
LocalizedString
(
_ key
:
String
,
comment
:
String
?
)
->
String
{
struct
Static
{
static
let
bundle
=
Bundle
(
identifier
:
"
com.github.Swinject.SwinjectMVVMExample.ExampleModel
"
)
!
}
return
NSLocalizedString
(
key
,
bundle
:
Static
.
bundle
,
comment
:
comment
??
"
"
)
}
Back
|
FazBrowse Home
|
New Git URL