Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fd837963
Kaydet (Commit)
fd837963
authored
Agu 05, 2013
tarafından
Siqi LIU
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
display timer on the main slideshow screen & runloop fix
Change-Id: I4ea660a151992c74afb321f1bae19fdd2c5ee40e
üst
b0fd4d03
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
110 additions
and
20 deletions
+110
-20
iPhone_autoSize.storyboard
ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard
+70
-6
slideShowSwipeInList_iphone.h
ios/iosremote/iosremote/slideShowSwipeInList_iphone.h
+4
-0
slideShowSwipeInList_iphone.m
ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
+0
-1
slideShow_vc_iphone.m
ios/iosremote/iosremote/slideShow_vc_iphone.m
+9
-0
stopWatch.h
ios/iosremote/iosremote/stopWatch.h
+1
-0
stopWatch.m
ios/iosremote/iosremote/stopWatch.m
+26
-13
No files found.
ios/iosremote/iosremote/en.lproj/iPhone_autoSize.storyboard
Dosyayı görüntüle @
fd837963
...
@@ -284,12 +284,12 @@
...
@@ -284,12 +284,12 @@
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxY=
"YES"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
verticalCompressionResistancePriority=
"1000"
id=
"bZq-z2-OKU"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
verticalCompressionResistancePriority=
"1000"
id=
"bZq-z2-OKU"
>
<rect
key=
"frame"
x=
"
97
"
y=
"8"
width=
"220"
height=
"167"
/>
<rect
key=
"frame"
x=
"
3
"
y=
"8"
width=
"220"
height=
"167"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMinX=
"YES"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</imageView>
</imageView>
<view
contentMode=
"scaleToFill"
id=
"Y1f-iI-63a"
>
<view
contentMode=
"scaleToFill"
id=
"Y1f-iI-63a"
>
<rect
key=
"frame"
x=
"
3
"
y=
"3"
width=
"86"
height=
"172"
/>
<rect
key=
"frame"
x=
"
231
"
y=
"3"
width=
"86"
height=
"172"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxX=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<imageView
contentMode=
"scaleAspectFit"
verticalCompressionResistancePriority=
"1000"
id=
"B2g-rO-b9G"
>
<imageView
contentMode=
"scaleAspectFit"
verticalCompressionResistancePriority=
"1000"
id=
"B2g-rO-b9G"
>
...
@@ -301,7 +301,7 @@
...
@@ -301,7 +301,7 @@
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedWhite"
/>
</view>
</view>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
alpha=
"0.80000000000000004"
contentMode=
"left"
text=
"Label"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"3BV-KX-Qla"
>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
alpha=
"0.80000000000000004"
contentMode=
"left"
text=
"Label"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
id=
"3BV-KX-Qla"
>
<rect
key=
"frame"
x=
"
265
"
y=
"154"
width=
"52"
height=
"21"
/>
<rect
key=
"frame"
x=
"
3
"
y=
"154"
width=
"52"
height=
"21"
/>
<color
key=
"backgroundColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
<rect
key=
"contentStretch"
x=
"1.3877787807814457e-17"
y=
"0.0"
width=
"1"
height=
"1"
/>
<rect
key=
"contentStretch"
x=
"1.3877787807814457e-17"
y=
"0.0"
width=
"1"
height=
"1"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
...
@@ -332,7 +332,7 @@
...
@@ -332,7 +332,7 @@
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedWhite"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"calibratedWhite"
/>
</view>
</view>
<view
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
alpha=
"0.60000000000000009"
contentMode=
"scaleToFill"
id=
"uSh-Ne-BdH"
userLabel=
"blockview"
>
<view
hidden=
"YES"
opaque=
"NO"
userInteractionEnabled=
"NO"
alpha=
"0.60000000000000009"
contentMode=
"scaleToFill"
id=
"uSh-Ne-BdH"
userLabel=
"blockview"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
0.0
"
width=
"320"
height=
"640"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
-46
"
width=
"320"
height=
"640"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<color
key=
"backgroundColor"
cocoaTouchSystemColor=
"scrollViewTexturedBackgroundColor"
/>
<color
key=
"backgroundColor"
cocoaTouchSystemColor=
"scrollViewTexturedBackgroundColor"
/>
<accessibility
key=
"accessibilityConfiguration"
>
<accessibility
key=
"accessibilityConfiguration"
>
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
</view>
</view>
<imageView
hidden=
"YES"
alpha=
"0.0"
contentMode=
"scaleAspectFit"
image=
"ic_launcher@2x.png"
id=
"ExH-sw-Z1i"
>
<imageView
hidden=
"YES"
alpha=
"0.0"
contentMode=
"scaleAspectFit"
image=
"ic_launcher@2x.png"
id=
"ExH-sw-Z1i"
>
<rect
key=
"frame"
x=
"0.0"
y=
"148"
width=
"320"
height=
"253"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"148"
width=
"320"
height=
"253"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
flexibleMaxY=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
/>
</imageView>
</imageView>
<view
hidden=
"YES"
contentMode=
"scaleToFill"
id=
"iCc-m2-vR5"
userLabel=
"pointer"
>
<view
hidden=
"YES"
contentMode=
"scaleToFill"
id=
"iCc-m2-vR5"
userLabel=
"pointer"
>
<rect
key=
"frame"
x=
"157"
y=
"272"
width=
"5"
height=
"5"
/>
<rect
key=
"frame"
x=
"157"
y=
"272"
width=
"5"
height=
"5"
/>
...
@@ -528,13 +528,76 @@
...
@@ -528,13 +528,76 @@
<image
name=
"timer_clear_btn.png"
width=
"74"
height=
"74"
/>
<image
name=
"timer_clear_btn.png"
width=
"74"
height=
"74"
/>
<image
name=
"timer_start_btn.png"
width=
"74"
height=
"74"
/>
<image
name=
"timer_start_btn.png"
width=
"74"
height=
"74"
/>
</resources>
</resources>
<classes>
<class
className=
"EditableTableViewCell"
superclassName=
"UITableViewCell"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/EditableTableViewCell.h"
/>
</class>
<class
className=
"SWRevealViewController"
superclassName=
"UIViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/SWRevealViewController.h"
/>
</class>
<class
className=
"newServerViewController"
superclassName=
"UITableViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/newServerViewController.h"
/>
<relationships>
<relationship
kind=
"action"
name=
"save:"
/>
</relationships>
</class>
<class
className=
"pinValidation_vc"
superclassName=
"UIViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/pinValidation_vc.h"
/>
<relationships>
<relationship
kind=
"outlet"
name=
"pinLabel"
candidateClass=
"UILabel"
/>
<relationship
kind=
"outlet"
name=
"statusLabel"
candidateClass=
"UILabel"
/>
</relationships>
</class>
<class
className=
"server_list_vc"
superclassName=
"UITableViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/server_list_vc.h"
/>
<relationships>
<relationship
kind=
"outlet"
name=
"serverTable"
candidateClass=
"UITableView"
/>
</relationships>
</class>
<class
className=
"slideShowPreviewTable_vc"
superclassName=
"UITableViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/slideShowPreviewTable_vc.h"
/>
<relationships>
<relationship
kind=
"action"
name=
"startPresentationAction:"
/>
<relationship
kind=
"outlet"
name=
"optionsTable"
candidateClass=
"UITableView"
/>
</relationships>
</class>
<class
className=
"slideShowPreviewTable_vc_iphone"
superclassName=
"slideShowPreviewTable_vc"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/slideShowPreviewTable_vc_iphone.h"
/>
<relationships>
<relationship
kind=
"outlet"
name=
"titleLabel"
candidateClass=
"UILabel"
/>
</relationships>
</class>
<class
className=
"slideShowSwipeInList"
superclassName=
"UITableViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/slideShowSwipeInList.h"
/>
</class>
<class
className=
"slideShow_vc"
superclassName=
"UIViewController"
>
<source
key=
"sourceIdentifier"
type=
"project"
relativePath=
"./Classes/slideShow_vc.h"
/>
<relationships>
<relationship
kind=
"action"
name=
"accPointerAction:"
/>
<relationship
kind=
"action"
name=
"nextSlideAction:"
/>
<relationship
kind=
"action"
name=
"pointerAction:"
/>
<relationship
kind=
"action"
name=
"previousSlideAction:"
/>
<relationship
kind=
"outlet"
name=
"blockingView"
candidateClass=
"UIView"
/>
<relationship
kind=
"outlet"
name=
"bottomView"
candidateClass=
"UIView"
/>
<relationship
kind=
"outlet"
name=
"lecturer_notes"
candidateClass=
"UIWebView"
/>
<relationship
kind=
"outlet"
name=
"movingPointer"
candidateClass=
"UIView"
/>
<relationship
kind=
"outlet"
name=
"notesView"
candidateClass=
"UIView"
/>
<relationship
kind=
"outlet"
name=
"pointerBtn"
candidateClass=
"UIButton"
/>
<relationship
kind=
"outlet"
name=
"revealButtonItem"
candidateClass=
"UIBarButtonItem"
/>
<relationship
kind=
"outlet"
name=
"secondarySlideView"
candidateClass=
"UIImageView"
/>
<relationship
kind=
"outlet"
name=
"slideNumber"
candidateClass=
"UILabel"
/>
<relationship
kind=
"outlet"
name=
"slideView"
candidateClass=
"UIImageView"
/>
<relationship
kind=
"outlet"
name=
"touchPointerImage"
candidateClass=
"UIImageView"
/>
</relationships>
</class>
</classes>
<simulatedMetricsContainer
key=
"defaultSimulatedMetrics"
>
<simulatedMetricsContainer
key=
"defaultSimulatedMetrics"
>
<simulatedStatusBarMetrics
key=
"statusBar"
/>
<simulatedStatusBarMetrics
key=
"statusBar"
/>
<simulatedOrientationMetrics
key=
"orientation"
/>
<simulatedOrientationMetrics
key=
"orientation"
/>
<simulatedScreenMetrics
key=
"destination"
type=
"retina4"
/>
<simulatedScreenMetrics
key=
"destination"
type=
"retina4"
/>
</simulatedMetricsContainer>
</simulatedMetricsContainer>
<inferredMetricsTieBreakers>
<inferredMetricsTieBreakers>
<segue
reference=
"
eIY-4P-1sI
"
/>
<segue
reference=
"
UPp-kY-X3T
"
/>
<segue
reference=
"EWS-Nn-mQc"
/>
<segue
reference=
"EWS-Nn-mQc"
/>
</inferredMetricsTieBreakers>
</inferredMetricsTieBreakers>
</document>
</document>
\ No newline at end of file
ios/iosremote/iosremote/slideShowSwipeInList_iphone.h
Dosyayı görüntüle @
fd837963
...
@@ -7,6 +7,10 @@
...
@@ -7,6 +7,10 @@
*/
*/
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
@class
stopWatch
;
@interface
slideShowSwipeInList
:
UITableViewController
<
UITableViewDataSource
,
UITableViewDelegate
>
@interface
slideShowSwipeInList
:
UITableViewController
<
UITableViewDataSource
,
UITableViewDelegate
>
@property
(
nonatomic
,
strong
)
stopWatch
*
stopWatch
;
@end
@end
ios/iosremote/iosremote/slideShowSwipeInList_iphone.m
Dosyayı görüntüle @
fd837963
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
@property
(
nonatomic
,
strong
)
CommunicationManager
*
comManager
;
@property
(
nonatomic
,
strong
)
CommunicationManager
*
comManager
;
@property
(
nonatomic
,
strong
)
SlideShow
*
slideshow
;
@property
(
nonatomic
,
strong
)
SlideShow
*
slideshow
;
@property
(
nonatomic
,
strong
)
stopWatch
*
stopWatch
;
@end
@end
...
...
ios/iosremote/iosremote/slideShow_vc_iphone.m
Dosyayı görüntüle @
fd837963
...
@@ -11,8 +11,10 @@
...
@@ -11,8 +11,10 @@
#import "CommunicationManager.h"
#import "CommunicationManager.h"
#import "SWRevealViewController.h"
#import "SWRevealViewController.h"
#import "CommandInterpreter.h"
#import "CommandInterpreter.h"
#import "stopWatch.h"
#import "CommandTransmitter.h"
#import "CommandTransmitter.h"
#import "slideShowPreviewTable_vc.h"
#import "slideShowPreviewTable_vc.h"
#import "slideShowSwipeInList_iphone.h"
#import <QuartzCore/QuartzCore.h>
#import <QuartzCore/QuartzCore.h>
#import <CoreMotion/CoreMotion.h>
#import <CoreMotion/CoreMotion.h>
...
@@ -317,11 +319,18 @@
...
@@ -317,11 +319,18 @@
[
self
.
navigationController
popViewControllerAnimated
:
YES
];
[
self
.
navigationController
popViewControllerAnimated
:
YES
];
}
}
-
(
void
)
viewWillAppear
:
(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
}
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
-
(
void
)
viewDidAppear
:
(
BOOL
)
animated
{
{
NSNotificationCenter
*
center
=
[
NSNotificationCenter
defaultCenter
];
NSNotificationCenter
*
center
=
[
NSNotificationCenter
defaultCenter
];
NSOperationQueue
*
mainQueue
=
[
NSOperationQueue
mainQueue
];
NSOperationQueue
*
mainQueue
=
[
NSOperationQueue
mainQueue
];
[[(
slideShowSwipeInList
*
)
self
.
revealViewController
.
rearViewController
stopWatch
]
setBarItem
:
self
.
navigationController
.
navigationBar
.
topItem
];
self
.
slideShowImageNoteReadyObserver
=
[
center
addObserverForName
:
MSG_SLIDE_CHANGED
self
.
slideShowImageNoteReadyObserver
=
[
center
addObserverForName
:
MSG_SLIDE_CHANGED
object
:
nil
object
:
nil
...
...
ios/iosremote/iosremote/stopWatch.h
Dosyayı görüntüle @
fd837963
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
@property
(
strong
,
nonatomic
)
NSTimer
*
stopWatchTimer
;
@property
(
strong
,
nonatomic
)
NSTimer
*
stopWatchTimer
;
@property
(
strong
,
nonatomic
)
NSDate
*
startDate
;
@property
(
strong
,
nonatomic
)
NSDate
*
startDate
;
@property
BOOL
set
;
@property
BOOL
set
;
@property
(
weak
,
nonatomic
)
UINavigationItem
*
barItem
;
-
(
stopWatch
*
)
initWithStartButton
:(
UIButton
*
)
startButton
-
(
stopWatch
*
)
initWithStartButton
:(
UIButton
*
)
startButton
ClearButton
:(
UIButton
*
)
clearButton
ClearButton
:(
UIButton
*
)
clearButton
...
...
ios/iosremote/iosremote/stopWatch.m
Dosyayı görüntüle @
fd837963
...
@@ -22,14 +22,19 @@
...
@@ -22,14 +22,19 @@
@synthesize
startButton
=
_startButton
;
@synthesize
startButton
=
_startButton
;
@synthesize
clearButton
=
_clearButton
;
@synthesize
clearButton
=
_clearButton
;
@synthesize
timeLabel
=
_timeLabel
;
@synthesize
timeLabel
=
_timeLabel
;
@synthesize
barItem
=
_barItem
;
@synthesize
lastInterval
=
_lastInterval
;
@synthesize
lastInterval
=
_lastInterval
;
dispatch_queue_t
backgroundQueue
;
-
(
stopWatch
*
)
init
-
(
stopWatch
*
)
init
{
{
self
=
[
super
init
];
self
=
[
super
init
];
self
.
state
=
TIMER_STATE_CLEARED
;
self
.
state
=
TIMER_STATE_CLEARED
;
self
.
set
=
NO
;
self
.
set
=
NO
;
backgroundQueue
=
dispatch_queue_create
(
"com.libreoffice.iosremote"
,
DISPATCH_QUEUE_CONCURRENT
);
return
self
;
return
self
;
}
}
...
@@ -65,19 +70,24 @@
...
@@ -65,19 +70,24 @@
-
(
void
)
updateTimer
-
(
void
)
updateTimer
{
{
// Create date from the elapsed time
dispatch_async
(
backgroundQueue
,
^
(
void
)
{
NSDate
*
currentDate
=
[
NSDate
date
];
// Create date from the elapsed time
NSTimeInterval
timeInterval
=
[
currentDate
timeIntervalSinceDate
:
self
.
startDate
]
+
self
.
lastInterval
;
NSDate
*
currentDate
=
[
NSDate
date
];
NSDate
*
timerDate
=
[
NSDate
dateWithTimeIntervalSince1970
:
timeInterval
];
NSTimeInterval
timeInterval
=
[
currentDate
timeIntervalSinceDate
:
self
.
startDate
]
+
self
.
lastInterval
;
NSDate
*
timerDate
=
[
NSDate
dateWithTimeIntervalSince1970
:
timeInterval
];
// Create a date formatter
NSDateFormatter
*
dateFormatter
=
[[
NSDateFormatter
alloc
]
init
];
// Create a date formatter
[
dateFormatter
setDateFormat
:
@"HH:mm:ss"
];
NSDateFormatter
*
dateFormatter
=
[[
NSDateFormatter
alloc
]
init
];
[
dateFormatter
setTimeZone
:[
NSTimeZone
timeZoneForSecondsFromGMT
:
0
.
0
]];
[
dateFormatter
setDateFormat
:
@"HH:mm:ss"
];
[
dateFormatter
setTimeZone
:[
NSTimeZone
timeZoneForSecondsFromGMT
:
0
.
0
]];
// Format the elapsed time and set it to the label
NSString
*
timeString
=
[
dateFormatter
stringFromDate
:
timerDate
];
// Format the elapsed time and set it to the label
self
.
timeLabel
.
text
=
timeString
;
NSString
*
timeString
=
[
dateFormatter
stringFromDate
:
timerDate
];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
self
.
timeLabel
.
text
=
timeString
;
self
.
barItem
.
title
=
timeString
;
});
});
}
}
...
@@ -97,6 +107,7 @@
...
@@ -97,6 +107,7 @@
selector
:
@selector
(
updateTimer
)
selector
:
@selector
(
updateTimer
)
userInfo
:
nil
userInfo
:
nil
repeats
:
YES
];
repeats
:
YES
];
[[
NSRunLoop
currentRunLoop
]
addTimer
:
self
.
stopWatchTimer
forMode
:
NSRunLoopCommonModes
];
break
;
break
;
case
TIMER_STATE_CLEARED
:
case
TIMER_STATE_CLEARED
:
self
.
state
=
TIMER_STATE_RUNNING
;
self
.
state
=
TIMER_STATE_RUNNING
;
...
@@ -107,6 +118,7 @@
...
@@ -107,6 +118,7 @@
selector
:
@selector
(
updateTimer
)
selector
:
@selector
(
updateTimer
)
userInfo
:
nil
userInfo
:
nil
repeats
:
YES
];
repeats
:
YES
];
[[
NSRunLoop
currentRunLoop
]
addTimer
:
self
.
stopWatchTimer
forMode
:
NSRunLoopCommonModes
];
break
;
break
;
default
:
default
:
break
;
break
;
...
@@ -142,6 +154,7 @@
...
@@ -142,6 +154,7 @@
[
self
.
startButton
setImage
:[
UIImage
imageNamed
:
@"timer_start_btn"
]
forState
:
UIControlStateNormal
];
[
self
.
startButton
setImage
:[
UIImage
imageNamed
:
@"timer_start_btn"
]
forState
:
UIControlStateNormal
];
[
self
updateTimer
];
[
self
updateTimer
];
self
.
barItem
.
title
=
@""
;
}
}
@end
@end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment