V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
nanhuo
V2EX  ›  iDev

有在 swift 项目中用 Jpush SDK 的吗

  •  
  •   nanhuo · Aug 20, 2015 via iPhone · 3731 views
    This topic created in 3904 days ago, the information mentioned may be changed or developed.
    刚学 ios 开发不久,直接学的 swift ,项目里用到 Jpush 推送消息。它的 SDK 里有个设置别名的接口,我用 swift 调用没法设置回调。不知道有没有人遇到过这个问题?
    我现在的处理方法是把回调这部分代码用 OC 写,这段代码里又调用另外写的 swift 方法,感觉有点别扭。
    3 replies    2016-04-28 09:24:47 +08:00
    FrankFang128
        1
    FrankFang128  
       Aug 20, 2015
    回调?不是委托么?
    loveuqian
        2
    loveuqian  
       Aug 21, 2015
    混编而已。很正常吧
    fajaven
        3
    fajaven  
       Apr 28, 2016
    搜索看到这个问题。

    如果现在还有疑问,可以看看 JPush 官方出的一个 swift jpush demo - https://github.com/jpush/jpush-swift-demo
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4698 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 05:34 · PVG 13:34 · LAX 22:34 · JFK 01:34
    ♥ Do have faith in what you're doing.