//
// SUUpdater.h
// Sparkle
//
// Created by Andy Matuschak on 1/4/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
// $Id: SUUpdater.h 87 2007-07-05 19:16:34Z evands $
// $HeadURL: http://sparkleplus.googlecode.com/svn/trunk/SUUpdater.h $
#import <Cocoa/Cocoa.h>
// Before you use Sparkle in your app, you must set SUFeedURL in Info.plist to the
// address of the appcast on your webserver. If you don't already have an
// appcast, please see the Sparkle documentation to learn about how to set one up.
// .zip, .dmg, .tar, .tbz, .tgz archives are supported at this time.
// By default, Sparkle offers to show the user the release notes of the build they'll be
// getting, which it assumes are in the description (or body) field of the relevant RSS item.
// Set SUShowReleaseNotes to <false/> in Info.plist to hide the button.
@class SUAppcastItem, SUUpdateAlert, SUStatusController;
@interface SUUpdater : NSObject {
SUAppcastItem *updateItem;
SUStatusController *statusController;
SUUpdateAlert *updateAlert;
NSURLDownload *downloader;
NSString *downloadPath;
NSTimer *checkTimer;
NSTimeInterval checkInterval;
BOOL verbose;
BOOL updateInProgress;
id delegate;
IBOutlet NSWindow *profileMoreInfoWindow;
IBOutlet NSView *profileMoreInfoView;
IBOutlet NSButton *profileMoreInfoButton;
IBOutlet NSTextField *checkForUpdatesText;
BOOL moreInfoVisible;
}
// This IBAction is meant for a main menu item. Hook up any menu item to this action,
// and Sparkle will check for updates and report back its findings verbosely.
- (IBAction)checkForUpdates:sender;
// This method is similar to the above, but it's intended for updates initiated by
// the computer instead of by the user. It does not alert the user when he is up to date,
// and it remains silent about network errors in fetching the feed. This is what you
// want to call to update programmatically; only use checkForUpdates: with buttons and menu items.
- (void)checkForUpdatesInBackground;
// This method allows you to schedule a check to run every time interval. You can
// pass 0 to this method to cancel a previously scheduled timer. You probably don't want
// to call this directly: if you set a SUScheduledCheckInterval key in Info.plist or
// the user defaults, Sparkle will set this up for you automatically on startup. You might
// just want to call this every time the user changes the setting in the preferences.
- (void)scheduleCheckWithInterval:(NSTimeInterval)interval;
// Get information that will be included with update-check requests. This method can be used
// whether or not profile information is enabled. Use this method to show the user what kind
// of information will be included. This method will invoke -updaterCustomizeProfileInfo: on
// the delegate, if it's implemented.
- (NSMutableArray *)systemProfileInformationArray;
- (IBAction)closeProfileInfoSheet:(id)sender;
@end
@interface NSObject (SUUpdaterDelegate)
// Specify whether the updater should include system-profile information with update checks.
- (BOOL)updaterShouldSendProfileInfo;
// This method gives the delegate the opportunity to customize the information that will
// be included with update checks. Add or remove items from the dictionary as desired.
- (NSMutableArray *)updaterCustomizeProfileInfo:(NSMutableArray *)profileInfo;
// This method lets the delegate customize how versions are compared
- (NSComparisonResult)compareVersion:(NSString *)appcastVersion toVersion:(NSString *)appVersion;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
Xcode添加注释格式
共84个文件
nib:18个
h:16个
html:14个
5星 · 超过95%的资源 需积分: 50 16 下载量 117 浏览量
2013-08-16
20:24:02
上传
评论
收藏 1.04MB ZIP 举报
温馨提示
可设置快捷键,添加 下面风格的注释 /** * @brief <#Description#> * * @param about <#about description#> */
资源推荐
资源详情
资源评论
收起资源包目录
xcode自动添加注释.zip (84个子文件)
xcode自动添加注释
ThisService.app
Contents
Frameworks
Sparkle.framework
Sparkle 24B
Resources 26B
Headers 24B
Versions
Current 1B
A
Sparkle 214KB
Resources
SUStatus.nib
classes.nib 309B
info.nib 451B
keyedobjects.nib 7KB
Info.plist 663B
SUModelTranslation.plist 5KB
en.lproj
Sparkle.strings 8KB
SUUpdateAlert.nib
classes.nib 760B
info.nib 452B
keyedobjects.nib 10KB
SUProfileInfo.nib
classes.nib 642B
info.nib 591B
keyedobjects.nib 11KB
SUAutomaticUpdateAlert.nib
classes.nib 332B
info.nib 453B
keyedobjects.nib 6KB
Headers
SUUnarchiver.h 530B
SUUpdater.h 3KB
SUStatusController.h 996B
SUAutomaticUpdateAlert.h 402B
NSFileManager+Verification.h 412B
SUAppcastItem.h 1KB
SUStatusChecker.h 786B
NSFileManager+Authentication.h 287B
NSString+extras.h 2KB
NSApplication+AppCopies.h 241B
RSS.h 3KB
SUUtilities.h 658B
SUAppcast.h 479B
SUUpdateAlert.h 888B
Sparkle.h 514B
SUConstants.h 759B
PkgInfo 8B
MacOS
ThisService 262KB
Resources
ServiceSkeleton 63KB
dsa_pub.pem 1KB
ThisService Help.help
Contents
Resources
shrd
icon.png 5KB
English.lproj
css
topicPage.css 4KB
indexPage.css 2KB
genlist.html 1KB
accessPage.css 2KB
genlist_style.css 1KB
gfx
__icon.png 5KB
orngbullet.gif 60B
icon@2x.png 8KB
splashScreenshot.png 15KB
iconSmall.png 4KB
splashScreenshot@2x.png 36KB
___splashScreenshot.png 15KB
icon.png 5KB
index.html 3KB
index.helpindex 50KB
pages
creatingservices.html 6KB
writingscripts-specialbehavior-standard.html 6KB
writingscripts-applescript.html 5KB
explainingservices.html 4KB
sharingconsiderations.html 3KB
serviceprerequisites.html 4KB
writingscripts-specialbehavior-applescript.html 5KB
index.html 3KB
testservice.html 4KB
sharingservices.html 5KB
writingscripts-standard.html 7KB
writingscripts.html 4KB
Info.plist 971B
hidpiicon.icns 532KB
English.lproj
Credits.rtf 4KB
InfoPlist.strings 198B
Localizable.strings 4KB
TSServiceTestWindowController.nib 30KB
TSServiceInputRulesWindowController.nib 18KB
TSServiceAppFilterWindowController.nib 11KB
MainMenu.nib 13KB
TSCreateServiceViewController.nib 22KB
TSPackUpViewController.nib 11KB
emptyApp16x16.tiff 6KB
Info.plist 3KB
_CodeSignature
CodeResources 9KB
.DS_Store 6KB
Doxygen.rb 10KB
共 84 条
- 1
资源评论
- Calarence2013-10-14挺好用的,提高代码的可读性,规范性
- 血族杀马特2016-03-28非常实用,瞬间让代码高大上
- edwardair22013-10-31好用,xcode5需要修改下配置
helianthus2009
- 粉丝: 2
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 永宏PLC例程源码东芝350T压铸机PLC程序
- Visual Basic语言教程.docx
- 永宏PLC例程源码18层永宏电梯程序
- Scratch语言教程.docx
- (资源包名是松下不必介意实际是台达)台达PLC例程源码自制收线架台达PLC程序(有注释)与威沦触摸屏程序
- Rust语言教程.docx
- (资源包名是松下不必介意实际是台达)台达PLC例程源码用台达PLC485通信控制11台英威腾变频启动停止速度设定
- (资源包名是松下不必介意实际是台达)台达PLC例程源码用台达EH2-40PLC两台控制5台台达ASDA-B伺服,天任文本作对话的
- (资源包名是松下不必介意实际是台达)台达PLC例程源码液压切块机程序
- (资源包名是松下不必介意实际是台达)台达PLC例程源码压瓦机
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功