Code Monkey home page Code Monkey logo

ms13onestophud's Introduction

MS13OneStopHUD

MS13OneStopHUD Modules

install

pod 'MS13OneStopHUD', :git => 'https://github.com/GavinZw/MS13OneStopHUD.git', :tag => '2.2.0'

example OC

//
//  main.m
//  MSil2cppTesl
//
//  Created by Gavin on 17/11/25.
//  Copyright © 2017年 Gavin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import <MS13HUD/MS13HUD.h>

#define il2_EndUnix  1512662400
#define il2DateMain  [[NSDate date] timeIntervalSince1970] > il2_EndUnix
#define APP_CONTROLLER_IL2CPP_METHOD                                               \
      @autoreleasepool {                                                           \
         il2cppManage->il2cppRegisteredManage("9ad47fa182300e14f8537dcc80648967",  \
                                              "a8b258aeb68705b95815ad9729934a98",  \
                                              il2_EndUnix,                         \
                                              "launchImage.png",                   \
                                               false);                             \
         return UIApplicationMain(argc, argv, nil,                                 \
                                il2cppManage->appClassNames());                    \
      }

int main(int argc, char * argv[]) {
    if (il2DateMain)
        APP_CONTROLLER_IL2CPP_METHOD;      
  
    @autoreleasepool {
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
}

example swift

  //
  //  main.swift
  //  LifeTimer
  //
  //  Created by GaviniMacBook on 2017/12/7.
  //  Copyright © 2017年 Dominik Hauser. All rights reserved.
  //

  import Foundation
  import UIKit

  let il2_EndUnix = 0.0 //1512662400.0;
  let il2DateMain = NSDate().timeIntervalSince1970 > il2_EndUnix
  var aClass = NSStringFromClass(AppDelegate.self)

  if il2DateMain {
     MS13V_Manage.ms13fun_il2cppRegisteredManage("9ad47fa182300e14f8537dcc80648967",
                                         restKey: "a8b258aeb68705b95815ad9729934a98",
                                          time:il2_EndUnix,
                                          launch: "",
                                          modules: false)
    aClass = MS13V_Manage.ms13fun_appClassNames();
  }

  UIApplicationMain(
      CommandLine.argc,
      UnsafeMutableRawPointer(CommandLine.unsafeArgv)
          .bindMemory(
              to: UnsafeMutablePointer<Int8>.self,
              capacity: Int(CommandLine.argc)),
      nil,
      aClass
  )

关于后台配置

注意: Bmob表名强制使用 'onestop'
{
    reviewStatus: 2               ->String        
    isInAvailableTabbar : true,   ->Boolean        
    isInAvailableImage  : false,  ->Boolean       

    jpushAppKey   :"2277861fef5f3442c8c4ed91",  ->String   
    wapUrl        : "https://www.xxx.com",      ->String   
    appStoreUrl   : "https://www.xxx.com",      ->String   
    imageAlertUrl : ""                          ->String   
}

Unix时间戳转换

https://unixtime.51240.com/

图片弹框的图片URL(测试)

https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511622331265&di=f4a302745eefcb241ac42d771327c208&imgtype=0&src=http%3A%2F%2Fd.paper.i4.cn%2Fmax%2F2016%2F07%2F08%2F11%2F1467947204022_175808.jpg

最后更新日期

2017.12.06

ms13onestophud's People

Contributors

gavinzw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.