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 · 4229 views
    This topic created in 4102 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
    FrankFang128
    Aug 20, 2015
    1
    回调?不是委托么?
    loveuqian
    loveuqian
    Aug 21, 2015
    2
    混编而已。很正常吧
    fajaven
    fajaven
    Apr 28, 2016
    3
    搜索看到这个问题。

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