Skip to content

Commit

Permalink
Pod: FreakingSimpleRoundImageView
Browse files Browse the repository at this point in the history
AdamantFormatters
Button icons, shared colors.
  • Loading branch information
RealBonus committed Jan 8, 2018
1 parent 4658b5a commit 285b5ef
Show file tree
Hide file tree
Showing 23 changed files with 141 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Adamant-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
E91947B12000246A001362F8 /* AdamantError.swift */,
E913C90A1FFFA965001A83F7 /* AdamantHash.swift */,
E913C90C1FFFA99B001A83F7 /* Keypair.swift */,
E9E7CDB62003994E00DFC4DB /* AdamantFormatters.swift */,
);
path = Helpers;
sourceTree = "<group>";
Expand Down Expand Up @@ -331,12 +332,14 @@
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-Adamant-ios/Pods-Adamant-ios-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/FreakingSimpleRoundImageView/FreakingSimpleRoundImageView.framework",
"${BUILT_PRODUCTS_DIR}/Swinject/Swinject.framework",
"${BUILT_PRODUCTS_DIR}/SwinjectStoryboard/SwinjectStoryboard.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FreakingSimpleRoundImageView.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Swinject.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwinjectStoryboard.framework",
);
Expand Down Expand Up @@ -388,6 +391,7 @@
E9E7CD8F20026CD300DFC4DB /* SwinjectedDialogService.swift in Sources */,
E91947B020002393001362F8 /* AdamantApiService.swift in Sources */,
E9E7CD8D20026B6600DFC4DB /* DialogService.swift in Sources */,
E9E7CDB72003994E00DFC4DB /* AdamantFormatters.swift in Sources */,
E9E7CD9120026FA100DFC4DB /* SwinjectDependencies.swift in Sources */,
E9E7CD8B20026B0600DFC4DB /* LoginService.swift in Sources */,
E9E7CD932002740500DFC4DB /* AdamantLoginService.swift in Sources */,
Expand Down
Binary file not shown.
6 changes: 6 additions & 0 deletions Adamant-ios/Assets/Assets.xcassets/Buttons/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "account.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "adamant-logo-1024x1024.png",
"filename" : "send.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "wallet.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Adamant-ios/Assets/Assets.xcassets/Colors/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0x4A",
"alpha" : "1.000",
"blue" : "0x4A",
"green" : "0x4A"
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0x7A",
"alpha" : "1.000",
"blue" : "0x7A",
"green" : "0x7A"
}
}
}
]
}
20 changes: 20 additions & 0 deletions Adamant-ios/Helpers/AdamantFormatters.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// AdamantFormatters.swift
// Adamant-ios
//
// Created by Anokhov Pavel on 08.01.2018.
// Copyright © 2018 Adamant. All rights reserved.
//

import Foundation

class AdamantFormatters {
private static let balanceShift: Double = 100_000_000.0
private static let currencyCode = "ADM"

private init() { }

static func format(balance: Int64) -> String {
return "\(Double(balance) / balanceShift) \(currencyCode)"
}
}
2 changes: 1 addition & 1 deletion Adamant-ios/Stories/Login/Login.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@
<point key="canvasLocation" x="112.8" y="63.418290854572717"/>
</scene>
</scenes>
<color key="tintColor" red="0.29016393419999997" green="0.29021853209999998" blue="0.29015672209999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="tintColor" name="Gray_main"/>
</document>
8 changes: 8 additions & 0 deletions Adamant.sublime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders":
[
{
"path": "."
}
]
}
3 changes: 3 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ target 'Adamant-ios' do
# Swinject DI
pod 'Swinject'
pod 'SwinjectStoryboard'

# UI
pod 'FreakingSimpleRoundImageView' # Round avatars
end
5 changes: 4 additions & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
PODS:
- Alamofire (4.6.0)
- FreakingSimpleRoundImageView (1.0.0)
- Swinject (2.1.1)
- SwinjectStoryboard (1.1.2):
- Swinject (~> 2.1)

DEPENDENCIES:
- Alamofire
- FreakingSimpleRoundImageView
- Swinject
- SwinjectStoryboard

SPEC CHECKSUMS:
Alamofire: f41a599bd63041760b26d393ec1069d9d7b917f4
FreakingSimpleRoundImageView: aa7879307e21922d4a25923ef858539ec6ec8c05
Swinject: afea49fd95f392b41171669f165842879c48fad6
SwinjectStoryboard: 92e75763c3299cdf627bef98a5180dc894864336

PODFILE CHECKSUM: 54427af31ed50318c61c8d4cf093ad1cbab368fd
PODFILE CHECKSUM: 9c5f942957a7a454171915dbb79a108a011d6d1b

COCOAPODS: 1.3.1

0 comments on commit 285b5ef

Please sign in to comment.