repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
dimarusyy/roster-display
src/rosterlistmodel.h
#pragma once #include <QAbstractListModel> #include <QStandardItemModel> #include <QJsonDocument> #include <QNetworkAccessManager> #include <3rdparty/nlohmann/json.hpp> #include "fetchjson.h" class RosterListModel : public QAbstractListModel { Q_OBJECT public: enum RosterRoles { AvatarColor = Qt:...
dimarusyy/roster-display
src/config.h
<filename>src/config.h #pragma once #include <QUrl> #include <QFileInfo> struct config { static const QUrl defaultFetchUrl(); static const QFileInfo defaultCacheFile(); static quint64 defaultCacheValidityTimeout_ms(); };
dimarusyy/roster-display
src/filteredrostermodel.h
#pragma once #include "rosterlistmodel.h" #include <QSortFilterProxyModel> class FilteredRosterModel : public QSortFilterProxyModel { Q_OBJECT public: FilteredRosterModel(QObject* parent = nullptr); Q_INVOKABLE void setFilter(const QString&); Q_INVOKABLE void setSortingColumn(int role); signals: ...
msantos/perc
c_src/perc.c
/* * Copyright (c) 2012-2021 <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fol...
fef-coin/fef
src/qt/blockbrowsermodel.h
#ifndef BLOCKBROWSERMODEL_H #define BLOCKBROWSERMODEL_H #include <QAbstractTableModel> class BlockBrowserModelPriv; class CWallet; class WalletModel; class BlockBrowserModel : public QAbstractTableModel { Q_OBJECT public: explicit BlockBrowserModel(CWallet* wallet, WalletModel *parent = 0); ~BlockBrowser...
fef-coin/fef
src/qt/multiaddress.h
<filename>src/qt/multiaddress.h #ifndef MULTIADDRESS_H #define MULTIADDRESS_H #include <QtWidgets/QDialog> class PubkeyItem; namespace Ui { class MultiAddress; } class MultiAddress : public QDialog { Q_OBJECT public: explicit MultiAddress(QWidget *parent = 0); ~MultiAddress(); void RemovePubkeyItem(Pu...
fef-coin/fef
src/qt/finance.h
#ifndef FINANCE_H #define FINANCE_H #include <QtWidgets/QDialog> namespace Ui { class Finance; } class Finance : public QDialog { Q_OBJECT public: explicit Finance(QWidget *parent = 0); ~Finance(); void AddWidget(QString label,QWidget* widgets); void SetCurrentIndex(int index); protected: v...
fef-coin/fef
src/qt/blockbrowser.h
<filename>src/qt/blockbrowser.h<gh_stars>0 #ifndef BLOCKBROWSER_H #define BLOCKBROWSER_H #include <QtWidgets/QWidget> class CWallet; class WalletModel; namespace Ui { class BlockBrowser; } class BlockBrowser : public QWidget { Q_OBJECT public: explicit BlockBrowser(CWallet *wallet,WalletModel *walletModel,QW...
fef-coin/fef
src/qt/utilitydialog.h
#ifndef UTILITYDIALOG_H #define UTILITYDIALOG_H #include <QObject> #include <QDialog> /** "Shutdown" window */ class BitcoinGUI; class ShutdownWindow : public QWidget { Q_OBJECT public: ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0); static QWidget *showShutdownWindow(BitcoinGUI *window); protec...
fef-coin/fef
src/qt/pubitem.h
<reponame>fef-coin/fef #ifndef PUBITEM_H #define PUBITEM_H #include <QtWidgets/QWidget> namespace Ui { class pubitem; } class pubitem : public QWidget { Q_OBJECT public: explicit pubitem(QWidget *parent = 0); ~pubitem(); void enableDelBtn(bool bEnable = true); protected: void changeEvent(QEvent ...
fef-coin/fef
src/qt/pubkeyitem.h
<filename>src/qt/pubkeyitem.h #ifndef PUBKEYITEM_H #define PUBKEYITEM_H #include <QtWidgets/QFrame> class MultiAddress; namespace Ui { class PubkeyItem; } class PubkeyItem : public QFrame { Q_OBJECT public: explicit PubkeyItem(QWidget *parent = 0); ~PubkeyItem(); void enableDelBtn(bool bEnable = true...
tiantiankaixin/NetMonitor
lib/CHGlobalSingleton.h
// // EXGlobalSingleton.h // Extra // // Created by mal on 16/9/6. // Copyright © 2016年 Haowai. All rights reserved. // #import <Foundation/Foundation.h> #import "Reachability.h" #define CHSingle [CHGlobalSingleton sharedInstance] @interface CHGlobalSingleton : NSObject /** 网络状态 */ @property (nonatomic, assign)...
dmjio/aoc2020
13/main.c
#include <stdio.h> /* try it in C */ int allDivisible (int busses[], int offset[], int t) { for (int i = 0; i < 10; i++) { if ((t + offset[i]) % busses[i] != 0) { return 0; } } return 1; } int findEarly (int busses[], int offset[], int t) { printf ("t = %d\n", t); if (allDivisible (busses, of...
Sigma-Squared/Brainf-_Interpreter
bf_interpreter.c
#define S_MEM 65536 #define uint unsigned int #include <stdio.h> #include <stdlib.h> void run(char* prog, long len) { uint* br_stack = calloc(len / 2, sizeof(uint)); int br_stackp = -1; uint* brackets = calloc(len, sizeof(uint)); for (uint i=0; i<len; i++) { if (prog[i] == '[') ...
ViktorWalter/zathura
zathura/adjustment.h
<gh_stars>0 /* SPDX-License-Identifier: Zlib */ #ifndef ZATHURA_ADJUSTMENT_H #define ZATHURA_ADJUSTMENT_H #include <gtk/gtk.h> #include <stdbool.h> #include "document.h" /** * Calculate the page size according to the current scaling and rotation if * desired. * * @param document the document * @param height the...
ViktorWalter/zathura
zathura/config.c
<reponame>ViktorWalter/zathura<filename>zathura/config.c /* SPDX-License-Identifier: Zlib */ #include "config.h" #include "commands.h" #include "completion.h" #include "callbacks.h" #include "shortcuts.h" #include "zathura.h" #include "render.h" #include "marks.h" #include "utils.h" #include <girara/settings.h> #incl...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMWalletDetailCell.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Class/Wallet/View/SAMWalletDetailCell.h // // SAMWalletDetailCell.h // SamosWallet // // Created by zys on 2018/12/2. // Copyright © 2018 zys. All rights reserved. // /** 钱包详情页cell */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMWalletDeta...
haichainLab/wallet-ios
SamosWallet/Util/Network/SAMApi.h
<filename>SamosWallet/Util/Network/SAMApi.h<gh_stars>0 // // SAMApi.h // XB // // Created by Xiaobu on 2017/2/20. // Copyright © 2017年 XiaoBu. All rights reserved. // #import <Foundation/Foundation.h> @interface SAMApi : NSObject /// 主地址 extern NSString *const SAMApiBaseURLString; /// 获取token信息(支持的货币数据) extern N...
haichainLab/wallet-ios
SamosWallet/Class/Base/Controller/SAMNavigationController.h
<filename>SamosWallet/Class/Base/Controller/SAMNavigationController.h // // SAMNavigationController.h // SamosWallet // // Created by zys on 2018/8/20. // Copyright © 2018年 zys. All rights reserved. // /** 项目里nav controller基类 */ #import <UIKit/UIKit.h> @interface SAMNavigationController : UINavigationControlle...
haichainLab/wallet-ios
SamosWallet/Class/Base/Controller/SAMBaseCollectionViewController.h
// // SAMBaseCollectionViewController.h // SamosWallet // // Created by zys on 2018/8/18. // Copyright © 2018年 zys. All rights reserved. // /** 项目里所有collection列表页基类 */ #import "SAMBaseViewController.h" @interface SAMBaseCollectionViewController : SAMBaseViewController <UICollectionViewDataSource, UICollectionV...
haichainLab/wallet-ios
SamosWallet/Class/Trade/View/SAMReceiveCell.h
// // SAMReceiveCell.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 转入cell */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMReceiveCell : UITableViewCell /// 二维码 @property (weak, nonatomic, readonly) IBOutlet UIImageView *qrcodeImageVi...
haichainLab/wallet-ios
SamosWallet/Class/Find/Controller/SAMUIWebViewController.h
// // SAMUIWebViewController.h // SAM // // Created by zys on 2017/7/15. // Copyright © 2017年 Xiaobu. All rights reserved. // /** 封装UIWebview,调用H5 */ #import "SAMBaseViewController.h" @interface SAMUIWebViewController : SAMBaseViewController /// webivew @property (nonatomic, strong, readonly) UIWebView *webVi...
haichainLab/wallet-ios
SamosWallet/Class/Root/View/SAMGuideScrollViewItem.h
<gh_stars>0 // // SAMGuideScrollViewItem.h // SamosWallet // // Created by zys on 2018/8/28. // Copyright © 2018年 zys. All rights reserved. // /** 引导页-图片item */ #import <UIKit/UIKit.h> @interface SAMGuideScrollViewItem : UIView /// dismiss回调 @property (nonatomic, copy) SAMVoidBlock dismissBlock; + (instancet...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMSelectLanuageCell.h
// // SAMSelectLanuageCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 选择语言cell */ #import <UIKit/UIKit.h> @interface SAMSelectLanuageCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CGFloat)cellHeight; - (void)setCellWithLa...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/Controller/SAMImportWalletController.h
<filename>SamosWallet/Class/Wallet/Controller/SAMImportWalletController.h // // SAMImportWalletController.h // SamosWallet // // Created by zys on 2018/8/30. // Copyright © 2018年 zys. All rights reserved. // /** 导入钱包第一步:名称、图标 */ #import "SAMBaseCollectionViewController.h" @interface SAMImportWalletController :...
haichainLab/wallet-ios
SamosWallet/Class/Root/Controller/SAMTabBarViewController.h
<filename>SamosWallet/Class/Root/Controller/SAMTabBarViewController.h // // SAMTabBarViewController.h // SamosWallet // // Created by zys on 2018/8/18. // Copyright © 2018年 zys. All rights reserved. // /** root tab bar vc */ #import <UIKit/UIKit.h> @interface SAMTabBarViewController : UITabBarController @end
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMVersionCell.h
<reponame>haichainLab/wallet-ios // // SAMVersionCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 关于我们-版本 */ #import <UIKit/UIKit.h> @interface SAMVersionCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CGFloat)cellHeight; ...
haichainLab/wallet-ios
SamosWallet/Class/Root/Controller/SAMFirstMananeWalletController.h
<filename>SamosWallet/Class/Root/Controller/SAMFirstMananeWalletController.h // // SAMFirstMananeWalletController.h // SamosWallet // // Created by zys on 2018/9/8. // Copyright © 2018年 zys. All rights reserved. // /** 第一次管理钱包蓝色页面 */ #import "SAMBaseTableViewController.h" @interface SAMFirstMananeWalletControl...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMBackupWordsCell.h
<reponame>haichainLab/wallet-ios // // SAMBackupWordsCell.h // SamosWallet // // Created by zys on 2018/9/2. // Copyright © 2018年 zys. All rights reserved. // #import <UIKit/UIKit.h> @interface SAMBackupWordsCell : UITableViewCell @property (weak, nonatomic, readonly) IBOutlet UIButton *recreateBtn; @property (w...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMCoinDetailHeader.h
<gh_stars>0 // // SAMCoinDetailHeader.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMCoinDetailHeader : UIView + (instancetype)header; + (CGFloat)headerHeight; - (void)setHeaderWithModel:(SAMWalle...
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMCoinRateInfo.h
<filename>SamosWallet/Util/DB/SAMCoinRateInfo.h // // SAMCoinRateInfo.h // SamosWallet // // Created by zys on 2018/11/18. // Copyright © 2018 zys. All rights reserved. // /** 用户币种兑换比率数据(数据库表) */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMCoinRateInfo : NSObject /// token, eg: SA...
haichainLab/wallet-ios
SamosWallet/Util/Category/NSString+SAMAddtion.h
// // NSString+SAMAddtion.h // SamosWallet // // Created by zys on 2018/10/14. // Copyright © 2018 zys. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (SAMAddtion) /** 去除首尾的空格和回车 @return 处理后的字符串 */ - (NSString *)trime; /** 对url进行enCode @return en...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMAboutUsHeaderView.h
<filename>SamosWallet/Class/Me/View/SAMAboutUsHeaderView.h<gh_stars>0 // // SAMAboutUsHeaderView.h // SamosWallet // // Created by zys on 2018/8/20. // Copyright © 2018年 zys. All rights reserved. // /** 个人中心-蓝色header */ #import <UIKit/UIKit.h> @interface SAMAboutUsHeaderView : UIView + (instancetype)header; +...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/Controller/SAMBackupWordsController.h
<gh_stars>0 // // SAMBackupWordsController.h // SamosWallet // // Created by zys on 2018/9/2. // Copyright © 2018年 zys. All rights reserved. // /** 备份助记词 */ #import "SAMBaseTableViewController.h" @interface SAMBackupWordsController : SAMBaseTableViewController @end
haichainLab/wallet-ios
SamosWallet/Class/Base/Controller/SAMBaseTableViewController.h
// // SAMBaseTableViewController.h // SamosWallet // // Created by zys on 2018/8/18. // Copyright © 2018年 zys. All rights reserved. // /** 项目里所有列表页基类 */ #import "SAMBaseViewController.h" @interface SAMBaseTableViewController : SAMBaseViewController <UITableViewDataSource, UITableViewDelegate> /// tableView @p...
haichainLab/wallet-ios
SamosWallet/Class/Home/Controller/SAMTradeRecordDetailController.h
<gh_stars>0 // // SAMTradeRecordDetailController.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 交易记录详情页 */ #import "SAMBaseTableViewController.h" @class SAMTradeRecordListModel; NS_ASSUME_NONNULL_BEGIN @interface SAMTradeRecordDetailController : SAMBas...
haichainLab/wallet-ios
SamosWallet/Util/DeviceInfo/SAMDeviceInfo.h
<filename>SamosWallet/Util/DeviceInfo/SAMDeviceInfo.h<gh_stars>0 // // SAMDeviceInfo.h // XB // // Created by zys on 2017/8/23. // Copyright © 2017年 zys. All rights reserved. // /** 获取系统设备信息 */ #import <Foundation/Foundation.h> @interface SAMDeviceInfo : NSObject /** 是否是iPhoneX系列 @return 是否是 */ + (BOOL)is...
haichainLab/wallet-ios
SamosWallet/Class/Home/Model/SAMCoinBalanceInfo.h
// // SAMCoinBalanceInfo.h // SamosWallet // // Created by jtt on 2018/11/19. // Copyright © 2018年 zys. All rights reserved. // /** 币种余额数据:包括余额和币时 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMCoinBalanceInfo : NSObject /// 余额 @property (nonatomic, assign) CGFloat balance; /// 币时...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMHomeMenuHeaderView.h
// // SAMHomeMenuHeaderView.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 首页-菜单-header */ #import <UIKit/UIKit.h> @interface SAMHomeMenuHeaderView : UIView + (instancetype)header; + (CGFloat)headerHeight; @end
haichainLab/wallet-ios
SamosWallet/Util/Category/UIColor+SAMAddition.h
<gh_stars>0 // // UIColor+SAMAddition.h // SamosWallet // // Created by zys on 2018/8/20. // Copyright © 2018年 zys. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (SAMAddition) /// 16进制颜色值 + (UIColor *)colorFromHexRGB:(NSString *)colorString; @end
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMWalletDB.h
<gh_stars>0 // // SAMWalletDB.h // SamosWallet // // Created by zys on 2018/11/10. // Copyright © 2018 zys. All rights reserved. // /** 数据库操作类:存储钱包信息 */ #import <Foundation/Foundation.h> @class SAMWalletInfo; @class SAMTokenInfo; @class SAMCoinRateInfo; @class SAMWalletTokenInfo; //xxl 0.0.2 for lock the tokens...
haichainLab/wallet-ios
Pods/BGFMDB/BGFMDB/libs/BG/BGTool.h
// // BGTool.h // BGFMDB // // Created by huangzhibiao on 17/2/16. // Copyright © 2017年 Biao. All rights reserved. // #import <Foundation/Foundation.h> #import <objc/runtime.h> #define bg_completeBlock(obj) !complete?:complete(obj); #define BG @"BG_" #define bg_tableNameKey @"bg_tableName" #define bg_rowid @"row...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/Controller/SAMVerifyWordsController.h
// // SAMVerifyWordsController.h // SamosWallet // // Created by zys on 2018/9/2. // Copyright © 2018年 zys. All rights reserved. // /** 验证助记词 */ #import "SAMBaseTableViewController.h" @interface SAMVerifyWordsController : SAMBaseTableViewController @end
haichainLab/wallet-ios
SamosWallet/Class/Root/View/SAMWalletPasswordPopView.h
// // SAMWalletPasswordPopView.h // SamosWallet // // Created by zys on 2018/9/8. // Copyright © 2018年 zys. All rights reserved. // /** 钱包密码弹窗 */ #import "SAMPopupView.h" typedef void(^SAMPwdConfirmBlock)(NSString *pwd, NSString *pwdTip); @interface SAMWalletPasswordPopView : SAMPopupView /// 确定按钮回调 @propert...
haichainLab/wallet-ios
SamosWallet/Class/AppDelegate/SAMAppDelegate.h
<gh_stars>0 // // SAMAppDelegate.h // SamosWallet // // Created by zys on 2018/8/18. // Copyright © 2018年 zys. All rights reserved. // #import <UIKit/UIKit.h> @interface SAMAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
haichainLab/wallet-ios
SamosWallet/Util/Network/SAMNetworkConfig.h
<filename>SamosWallet/Util/Network/SAMNetworkConfig.h // // SAMNetworkConfig.h // XB // // Created by zys on 2018/7/3. // Copyright © 2018年 XiaoBu. All rights reserved. // /** 网络配置类:主要处理公共参数、请求头、baseURL等 */ #import <Foundation/Foundation.h> @interface SAMNetworkConfig : NSObject /// 基础urlstr @property (class,...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMWalletIconListItem.h
// // SAMWalletIconListItem.h // SamosWallet // // Created by zys on 2018/8/31. // Copyright © 2018年 zys. All rights reserved. // /** 创建钱包-钱包icon item */ #import <UIKit/UIKit.h> @interface SAMWalletIconListItem : UICollectionViewCell + (void)registerWith:(UICollectionView *)collectionView; + (CGSize)itemSize;...
haichainLab/wallet-ios
SamosWallet/Class/Home/Controller/SAMHomeWalletController.h
<gh_stars>0 // // SAMHomeWalletController.h // SamosWallet // // Created by zys on 2018/8/20. // Copyright © 2018年 zys. All rights reserved. // /** 首页 - 钱包页 */ #import "SAMBaseTableViewController.h" @interface SAMHomeWalletController : SAMBaseTableViewController /// 左侧菜单点击 @property (nonatomic, copy) SAMVoidB...
haichainLab/wallet-ios
SamosWallet/Class/Trade/View/SAMReceiveBottomBar.h
// // SAMReceiveBottomBar.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 交易记录页bottombar */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMReceiveBottomBar : UIView @property (nonatomic, copy) SAMVoidBlock samCopyBlock; @property (nonato...
haichainLab/wallet-ios
SamosWallet/Util/Tool/SAMControllerTool.h
<gh_stars>0 // // SAMControllerTool.h // SamosWallet // // Created by zys on 2018/8/29. // Copyright © 2018年 zys. All rights reserved. // /** 项目Controller相关的方法 */ #import <Foundation/Foundation.h> @interface SAMControllerTool : NSObject /** 设置root vc: 1.第一次安装,显示蓝色管理钱包页(设置钱包密码弹窗) 2.创建或导入钱包后,第一次显示引导页 ...
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMWalletInfo.h
// // SAMWalletInfo.h // SamosWallet // // Created by zys on 2018/11/10. // Copyright © 2018 zys. All rights reserved. // /** 钱包信息:存储在数据库的数据(数据库表) */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMWalletInfo : NSObject /// 钱包名字 @property (nonatomic, copy) NSString *walletName; /// 钱包...
haichainLab/wallet-ios
SamosWallet/Widget/ActionSheet/SAMActionSheet.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Widget/ActionSheet/SAMActionSheet.h // // SAMActionSheet.h // SAM // // Created by zys on 2017/7/1. // Copyright © 2017年 XiaoBu. All rights reserved. // /** 项目里的自定义sheet的基类 */ #import <UIKit/UIKit.h> @interface SAMActionSheet : UIView /// popview(self)'s s...
haichainLab/wallet-ios
SamosWallet/Class/Root/Controller/SAMLoadingViewController.h
<reponame>haichainLab/wallet-ios // // SAMLoadingViewController.h // SamosWallet // // Created by zys on 2019/2/11. // Copyright © 2019 Samos. All rights reserved. // /** 开屏页倒计时 */ #import "SAMBaseViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMLoadingViewController : SAMBaseViewController @end NS_A...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMWalletIconItem.h
// // SAMWalletIconItem.h // SamosWallet // // Created by zys on 2018/8/31. // Copyright © 2018年 zys. All rights reserved. // /** 创建钱包-钱包icon item */ #import <UIKit/UIKit.h> @interface SAMWalletIconItem : UICollectionViewCell /// icon @property (nonatomic, copy) NSString *walletIocn; + (void)registerWith:(UI...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMHomeWalletCoinCell.h
// // SAMHomeWalletCoinCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 首页-钱包-币种列表cell */ #import <UIKit/UIKit.h> @class SAMWalletTokenInfo; @interface SAMHomeWalletCoinCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CGFloa...
haichainLab/wallet-ios
SamosWallet/Util/Tool/HaiProtocolTool.h
// // HaiProtocol.h // SamosWallet // // Created by <NAME> on 2019/11/3. // Copyright © 2019年 Hai. All rights reserved. // /** 工具类方法 */ //xxl 0.0.0 #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface HaiProtocolTool : NSObject + (void)dealWithUrl:(NSURL *)url; + (void)httpGetWithUrl:(NSStri...
haichainLab/wallet-ios
SamosWallet/Util/Wallet/SAMWalletAddressInfo.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Util/Wallet/SAMWalletAddressInfo.h<gh_stars>0 // // SAMWalletAddressInfo.h // SamosWallet // // Created by zys on 2018/11/24. // Copyright © 2018 zys. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMWalletAddres...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMTradeBottomBar.h
// // SAMTradeBottomBar.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 转入、转出bar */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMTradeBottomBar : UIView @property (nonatomic, copy) SAMVoidBlock outBtnClickBlock; @property (nonatomic, c...
haichainLab/wallet-ios
SamosWallet/Class/Base/Controller/SAMBaseViewController.h
<filename>SamosWallet/Class/Base/Controller/SAMBaseViewController.h // // SAMBaseViewController.h // SamosWallet // // Created by zys on 2018/8/18. // Copyright © 2018年 zys. All rights reserved. // /** 项目里所有Controller基类 */ #import <UIKit/UIKit.h> #import "SAMNavigationBar.h" @interface SAMBaseViewController : ...
haichainLab/wallet-ios
SamosWallet/Class/Trade/View/SAMSendDetailSheet.h
// // SAMSendDetailSheet.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // #import "SAMActionSheet.h" NS_ASSUME_NONNULL_BEGIN @interface SAMSendDetailSheet : SAMActionSheet @property (nonatomic, copy) SAMVoidBlock confirmBlock; + (instancetype)sheet; - (void)s...
haichainLab/wallet-ios
SamosWallet/Util/Path/SAMPathManager.h
// // SAMPathManager.h // SAM // // Created by zys on 2017/7/25. // Copyright © 2017年 Xiaobu. All rights reserved. // /** 文件目录管理类 */ #import <Foundation/Foundation.h> @interface SAMPathManager : NSObject #pragma mark - 获取沙盒目录 /// get documents directory + (NSString *)docPath; /// get temp directory + (NSStrin...
haichainLab/wallet-ios
SamosWallet/Class/Trade/Controller/SAMSendViewController.h
// // SAMSendViewController.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 转出 */ #import "SAMBaseTableViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMSendViewController : SAMBaseTableViewController @end NS_ASSUME_NONNULL_END
haichainLab/wallet-ios
SamosWallet/Class/Me/Controller/SAMMeController.h
<gh_stars>0 // // SAMMeController.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 个人中心页 */ #import "SAMBaseTableViewController.h" @interface SAMMeController : SAMBaseTableViewController @end
haichainLab/wallet-ios
SamosWallet/Class/Base/View/SAMNavigationBar.h
// // SAMNavigationBar.h // SAM // // Created by zys on 2017/7/17. // Copyright © 2017年 XiaoBu. All rights reserved. // /** 导航控制栏 */ #import <UIKit/UIKit.h> /// 导航栏背景色类型 typedef NS_ENUM(NSInteger, SAMNavigationBarBGColor) { SAMNavigationBarBGColorWhite = 0, SAMNavigationBarBGColorClear, SAMNavigati...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMHomeMenuToolCell.h
// // SAMHomeMenuToolCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 首页-菜单-工具cell:扫描二维码、创建钱包、管理钱包 */ #import <UIKit/UIKit.h> @interface SAMHomeMenuToolCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CGFloat)cellHeight; - (...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMHomeWalletHeaderView.h
<filename>SamosWallet/Class/Home/View/SAMHomeWalletHeaderView.h // // SAMHomeWalletHeaderView.h // SamosWallet // // Created by zys on 2018/8/20. // Copyright © 2018年 zys. All rights reserved. // /** 首页-钱包-蓝色header */ #import <UIKit/UIKit.h> @interface SAMHomeWalletHeaderView : UIView + (instancetype)header; ...
haichainLab/wallet-ios
SamosWallet/Util/Token/SAMTokenNode.h
<gh_stars>0 // // SAMTokenNode.h // SamosWallet // // Created by zys on 2018/8/19. // Copyright © 2018年 zys. All rights reserved. // /** Token节点数据 */ #import <Foundation/Foundation.h> /// token节点 @interface SAMTokenNode : NSObject /// token array @property (nonatomic, strong) NSArray *tokens; /// web url @pro...
haichainLab/wallet-ios
SamosWallet/Class/Root/Controller/SAMGuideViewController.h
<gh_stars>0 // // SAMGuideViewController.h // SamosWallet // // Created by zys on 2018/8/28. // Copyright © 2018年 zys. All rights reserved. // /** 引导页 */ #import "SAMBaseViewController.h" @interface SAMGuideViewController : SAMBaseViewController /// dismiss回调 @property (nonatomic, copy) SAMVoidBlock dismissBl...
haichainLab/wallet-ios
SamosWallet/Util/Const/SAMConst.h
// // SAMConst.h // SamosWallet // // Created by zys on 2018/8/19. // Copyright © 2018年 zys. All rights reserved. // /** 全局宏定义 */ #import <Foundation/Foundation.h> @interface SAMConst : NSObject #pragma mark - common /// 弱引用 #define SAMWeakSelf __weak typeof(self) weakSelf = self; /// 参数、返回值均为空的block typedef ...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/Controller/SAMWalletDetailController.h
// // SAMWalletDetailController.h // SamosWallet // // Created by zys on 2018/12/2. // Copyright © 2018 zys. All rights reserved. // /** 钱包详情页 */ #import "SAMBaseTableViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMWalletDetailController : SAMBaseTableViewController @end NS_ASSUME_NONNULL_END
haichainLab/wallet-ios
SamosWallet/Util/DB/LockTokenInfo.h
// // LockCoinInfo.h // SamosWallet // // Created by <NAME> on 2019/11/9. // Copyright © 2019年 Samos. All rights reserved. // /** 添加锁币数据库表 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface LockTokenInfo : NSObject /// 钱包名字 @property (nonatomic, copy) NSString *walletName; /// 锁币类型 @prope...
haichainLab/wallet-ios
SamosWallet/Class/Home/Model/SAMTradeRecordListModel.h
// // SAMTradeRecordListModel.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 交易列表数据 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMTradeRecordListModel : NSObject /// 状态: true/false @property (nonatomic, assign) BOOL status...
haichainLab/wallet-ios
SamosWallet/Util/Tool/SAMTool.h
<gh_stars>0 // // SAMTool.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 工具类方法 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMTool : NSObject /// 保存图片成功回调 @property (nonatomic, copy) SAMVoidBlock savePhotoCompleteBlock; //...
haichainLab/wallet-ios
SamosWallet/Util/Network/SAMNetwork.h
// // SAMNetwork.h // XB // // Created by zys on 2018/7/3. // Copyright © 2018年 XiaoBu. All rights reserved. // /** 网络请求管理类:此类中一律提供类方法供调用 */ #import <Foundation/Foundation.h> @interface SAMNetwork : NSObject /// GET请求 + (void)GETWithURLStr:(NSString *)URLString parameters:(id)parameters ...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMHomeMenuWalletCell.h
<reponame>haichainLab/wallet-ios // // SAMHomeMenuWalletCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 首页-菜单-钱包cell */ #import <UIKit/UIKit.h> @interface SAMHomeMenuWalletCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CG...
haichainLab/wallet-ios
SamosWallet/Class/Trade/View/SAMSendInputPwdSheet.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Class/Trade/View/SAMSendInputPwdSheet.h // // SAMSendInputPwdSheet.h // SamosWallet // // Created by zys on 2018/12/2. // Copyright © 2018 zys. All rights reserved. // #import "SAMActionSheet.h" typedef void(^SAMConfirmPwdBlock)(NSString *pwd); NS_ASSUME_NONN...
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMDBConst.h
<reponame>haichainLab/wallet-ios<gh_stars>0 // // SAMDBConst.h // SamosWallet // // Created by zys on 2018/11/11. // Copyright © 2018 zys. All rights reserved. // /** 数据库常量定义:一共定义了4张表 1.钱包数据库表(存储本设备包含的钱包) 2.支持的token数据库表(此表中不包含walletID、walletName) 3.添加的钱包数据库表(此表包含walletID、walletName、token) 4.币种的兑换比率 */ #ifnd...
haichainLab/wallet-ios
SamosWallet/Util/AppConfig/SAMAppConfig.h
<reponame>haichainLab/wallet-ios // // SAMAppConfig.h // SamosWallet // // Created by zys on 2018/8/19. // Copyright © 2018年 zys. All rights reserved. // /** App配置类 */ #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, SAMLanguageType) { SAMLanguageTypeCN = 0, // 中文 SAMLanguageTypeEN, // ...
haichainLab/wallet-ios
SamosWallet/Util/Notification/SAMNotificationConst.h
<filename>SamosWallet/Util/Notification/SAMNotificationConst.h // // SAMNotificationConst.h // SamosWallet // // Created by jtt on 2018/11/19. // Copyright © 2018年 zys. All rights reserved. // /** 存储通知常量 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMNotificationConst : NSObject /...
haichainLab/wallet-ios
SamosWallet/Class/Home/Controller/SAMAddNewCoinController.h
// // SAMAddNewCoinController.h // SamosWallet // // Created by jtt on 2018/11/14. // Copyright © 2018年 zys. All rights reserved. // /** 添加新资产 */ #import "SAMBaseTableViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMAddNewCoinController : SAMBaseTableViewController @end NS_ASSUME_NONNULL_END
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMAddNewCoinCell.h
<reponame>haichainLab/wallet-ios // // SAMAddNewCoinCell.h // SamosWallet // // Created by jtt on 2018/11/14. // Copyright © 2018年 zys. All rights reserved. // /** 添加新资产cell */ #import <UIKit/UIKit.h> @class SAMTokenInfo; typedef void(^SAMCoinSelectStatusChanged)(BOOL isSelected); NS_ASSUME_NONNULL_BEGIN @in...
haichainLab/wallet-ios
SamosWallet/Class/Home/Controller/HaiExplorerController.h
<gh_stars>0 // // HaiExplorer.h // HaiWallet // // Created by <NAME> on 2019/10/26. // Copyright © 2019年 Samos. All rights reserved. // #import "SAMBaseViewController.h" #import <WebKit/WKWebView.h> #import <WebKit/WebKit.h> NS_ASSUME_NONNULL_BEGIN @interface HaiExplorerController : SAMBaseViewController /** 是否...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMCoinTradeRecordListCell.h
// // SAMCoinTradeRecordListCell.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 币种交易记录列表cell */ #import <UIKit/UIKit.h> @class SAMTradeRecordListModel; NS_ASSUME_NONNULL_BEGIN @interface SAMCoinTradeRecordListCell : UITableViewCell + (void)registerWit...
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMSaveWordsAlert.h
// // SAMSaveWordsAlert.h // SamosWallet // // Created by zys on 2018/9/2. // Copyright © 2018年 zys. All rights reserved. // /** 保存助记词弹窗 */ #import "SAMPopupView.h" @interface SAMSaveWordsAlert : SAMPopupView @end
haichainLab/wallet-ios
SamosWallet/Class/Wallet/View/SAMVerifyWordsCell.h
<filename>SamosWallet/Class/Wallet/View/SAMVerifyWordsCell.h // // SAMVerifyWordsCell.h // SamosWallet // // Created by zys on 2018/9/2. // Copyright © 2018年 zys. All rights reserved. // /** 验证助记词 */ #import <UIKit/UIKit.h> @interface SAMVerifyWordsCell : UITableViewCell /// 验证助记词 @property (nonatomic, copy) ...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMSelectUnitSheet.h
// // SAMSelectUnitSheet.h // SamosWallet // // Created by zys on 2018/8/24. // Copyright © 2018年 zys. All rights reserved. // /** 选择计价单位sheet */ #import "SAMActionSheet.h" @interface SAMSelectUnitSheet : SAMActionSheet @property (nonatomic, copy) SAMVoidBlock selectBlock; + (instancetype)sheet; @end
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMWalletTokenInfo.h
<reponame>haichainLab/wallet-ios // // SAMWalletTokenInfo.h // SamosWallet // // Created by jtt on 2018/11/27. // Copyright © 2018年 zys. All rights reserved. // /** 添加币种数据库表 */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMWalletTokenInfo : NSObject /// 币种钱包id @property (nonatomic, ...
haichainLab/wallet-ios
SamosWallet/Widget/PopupView/SAMPopupView.h
// // SAMPopupView.h // SAM // // Created by zys on 2017/5/11. // Copyright © 2017年 XiaoBu. All rights reserved. // /** 项目里所有弹出视图的基类 */ #import <UIKit/UIKit.h> #define SAMPopupViewContainerViewTag 1313 @interface SAMPopupView : UIView /// self的父视图(直接添加在window上的view) @property (nonatomic, strong, readonly) U...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMTradeRecordDetailCell.h
// // SAMTradeRecordDetailCell.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // #import <UIKit/UIKit.h> @class SAMTradeRecordListModel; NS_ASSUME_NONNULL_BEGIN @interface SAMTradeRecordDetailCell : UITableViewCell + (void)registerWith:(UITableView *)tableView;...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMManageWalletBottomView.h
<reponame>haichainLab/wallet-ios // // SAMManageWalletBottomView.h // SamosWallet // // Created by zys on 2018/8/30. // Copyright © 2018年 zys. All rights reserved. // /** 管理钱包-底部的菜单view */ #import <UIKit/UIKit.h> @interface SAMManageWalletBottomView : UIView + (instancetype)bottomView; + (CGFloat)viewHeight; ...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMMeCell.h
// // SAMMeCell.h // SamosWallet // // Created by zys on 2018/8/21. // Copyright © 2018年 zys. All rights reserved. // /** 我的-交易记录、系统设置、关于我们 */ #import <UIKit/UIKit.h> @interface SAMMeCell : UITableViewCell + (void)registerWith:(UITableView *)tableView; + (CGFloat)cellHeight; - (void)setCellWithTitle:(NSString...
haichainLab/wallet-ios
SamosWallet/Class/Trade/Controller/SAMReceiveViewController.h
// // SAMReceiveViewController.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 转入页 */ #import "SAMBaseTableViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMReceiveViewController : SAMBaseTableViewController @end NS_ASSUME_NONNULL_END
haichainLab/wallet-ios
SamosWallet/Class/Home/Controller/SAMCoinDetailController.h
<reponame>haichainLab/wallet-ios // // SAMCoinDetailController.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 币种详情页:包含余额币时、交易记录列表 */ #import "SAMBaseTableViewController.h" NS_ASSUME_NONNULL_BEGIN @interface SAMCoinDetailController : SAMBaseTableViewCon...
haichainLab/wallet-ios
Pods/BGFMDB/BGFMDB/libs/BG/BGModelInfo.h
<gh_stars>1-10 // // BGModelInfo.h // BGFMDB // // Created by huangzhibiao on 17/2/22. // Copyright © 2017年 Biao. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface BGModelInfo : NSObject //属性名 @property (nonatomic, copy, readonly) NSString *propertyName; //属性的类型 @prope...
haichainLab/wallet-ios
SamosWallet/Class/Me/View/SAMSelectLanuageSheet.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Class/Me/View/SAMSelectLanuageSheet.h // // SAMSelectLanuageSheet.h // SamosWallet // // Created by zys on 2018/8/24. // Copyright © 2018年 zys. All rights reserved. // #import "SAMActionSheet.h" @interface SAMSelectLanuageSheet : SAMActionSheet + (instancetyp...
haichainLab/wallet-ios
SamosWallet/Util/Tool/NSString+encryptionMD5.h
<reponame>haichainLab/wallet-ios // // NSString+encryptionMD5.h // SamosWallet // // Created by <NAME> on 2019/12/30. // Copyright © 2019年 Samos. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (encryptionMD5) //外部调用,用于字符串加密 +(NSMutableString *)stringMD5:(NSString *)string; +(NSMuta...
haichainLab/wallet-ios
SamosWallet/Util/Wallet/SAMWalletUtil.h
// // SAMWalletUtil.h // SamosWallet // // Created by zys on 2018/11/24. // Copyright © 2018 zys. All rights reserved. // /** 钱包相关操作 */ #import <Foundation/Foundation.h> @class SAMCoinBalanceInfo; NS_ASSUME_NONNULL_BEGIN @interface SAMWalletUtil : NSObject /** 创建新钱包 @param walletName 钱包名字 @param walletI...
haichainLab/wallet-ios
SamosWallet/Util/Network/NSString+URL.h
<reponame>haichainLab/wallet-ios // // Header.h // SamosWallet // // Created by <NAME> on 2019/10/27. // Copyright © 2019年 Samos. All rights reserved. // // // NSString+URL.h // // Created by aidong on 15/5/8. // Copyright (c) 2015年 aidong. All rights reserved. // /** * url字符串中具有特殊功能的特殊字符的字符串,或者中文字符,作为参数用GET...
haichainLab/wallet-ios
SamosWallet/Util/DB/SAMTokenInfo.h
<reponame>haichainLab/wallet-ios<filename>SamosWallet/Util/DB/SAMTokenInfo.h // // SAMTokenInfo.h // SamosWallet // // Created by zys on 2018/11/11. // Copyright © 2018 zys. All rights reserved. // /** 支持的token数据(数据库表) */ #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface SAMTokenInfo : NSOb...
haichainLab/wallet-ios
SamosWallet/Class/Home/View/SAMTradeRecordDetailBottomBar.h
// // SAMTradeRecordDetailBottomBar.h // SamosWallet // // Created by zys on 2018/12/1. // Copyright © 2018 zys. All rights reserved. // /** 交易记录页bottombar */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SAMTradeRecordDetailBottomBar : UIView @property (nonatomic, copy) SAMVoidBlock samCopyBloc...