optionsTableView.backgroundColor = UIColor(white: 0, alpha: 0.9)
CONOPS CONOPs ConOps
StRS
business requirements specifications
1의 경우 동작 확인에 큰 지장은 없으나, 2의 문제로 구현 후 내일 오전 릴리즈 가능할 것 같습니다.
var pan = UIPanGestureRecognizer(target: self, action: #selector(handlePanGesture))
self.addGestureRecognizer(pan)
@objc
func handlePanGesture(gestureRecognizer: UIPanGestureRecognizer) {
// var touchLocation = recognizer.locationInView(self.view)
// self.redView.center = touchLocation
guard gestureRecognizer.view != nil else {return}
extractedFunc(gestureRecognizer.location(in: gestureRecognizer.view!))
}
IEEE 830-1998 - IEEE Recommended Practice for Software Requirements Specifications
/// Makes it available to set properties with closures just after initializing and copying the value types.
///
/// let frame = CGRect().with {
/// $0.origin.x = 10
/// $0.size.width = 100
/// }
/// Makes it available to execute something with closures.
///
/// UserDefaults.standard.do {
/// $0.set("devxoul", forKey: "username")
/// $0.set("devxoul@gmail.com", forKey: "email")
/// $0.synchronize()
/// }
/// Makes it available to set properties with closures just after initializing.
///
/// let label = UILabel().then {
/// $0.textAlignment = .Center
/// $0.textColor = UIColor.blackColor()
/// $0.text = "Hello, World!"
/// }
extension Make where Self: Any {
public func with(_ block: (inout Self) throws -> Void) rethrows -> Self {
var copy = self
try block(©)
return copy
}
public func `do`(_ block: (Self) throws -> Void) rethrows {
try block(self)
}
}
import CoreGraphics
#if os(iOS) || os(tvOS)
import UIKit.UIGeometry
#endif
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.sss'Z'"
dateFormatter.locale = Locale(identifier: "en_US_POSIX")
let now = Date()
let curTime = dateFormatter.string(from: now)
let startDate = dateFormatter.date(from:curTime)!
let endDate = dateFormatter.date(from: preValue)
let interval = endDate!.timeIntervalSince(startDate)
let days = Int(interval / 60)
\
extension CGPoint: Make {}
extension CGRect: Make {}
extension CGSize: Make {}
extension CGVector: Make {}
#if os(iOS) || os(tvOS)
extension UIEdgeInsets: Make {}
extension UIOffset: Make {}
extension UIRectEdge: Make {}
#endif
Extensions must not contain stored properties
Contextual type for closure argument list expects 1 argument, which cannot be implicitly
ko_KR
ro
<unknown>:0: error: input file 'TendencyPeriodBar.swift' was modified during the build
Command CompileSwiftSources failed with a nonzero exit code
'?' must be followed by a call, member lookup, or subscript
timeIntervalSince1970
NSString *query = [NSString stringWithFormat:@"WITH T_CTYP AS \
( \
SELECT ID_DFCT_CTYP, NM_DFCT_CTYP, ODER_MKAR \
FROM DDTBT_RGON_DFCT_CTYP \
GROUP BY ID_DFCT_CTYP, NM_DFCT_CTYP \
) \
SELECT DISTINCT A.ID_DFCT_CTYP, B.NM_DFCT_CTYP \
FROM DDTBT_STATUS A \
INNER JOIN T_CTYP B \
ON B.ID_DFCT_CTYP = A.ID_DFCT_CTYP \
WHERE CD_DONG = '%@' \
ORDER BY B.ODER_MKAR;",
[GlobalVar loadFromUserDefaults:@"current_cd_dong"]];
//FROM DDTBT_CPNY_NOHS_QOTA A
\
with t_dfct as ( \
select a.cd_dong, a.cd_flor, a.ho, \
sum(case b.cd_hndl_stat when 'B' then 1 else 0 end ) as cnt_b, \
sum(case b.cd_hndl_stat when 'E' then 1 else 0 end ) as cnt_e, \
sum(case b.cd_hndl_stat when 'X' then 1 else 0 end ) as cnt_x from ddtbt_hosh a \
left outer join ddtbt_dfct b \
on b.cd_dong = a.cd_dong \
and b.nohs = a.nohs \
and b.id_dfct_ctyp like '%@' \
where a.cd_dong = '%@' \
group by a.cd_dong, a.cd_flor, a.ho \
) \
select cd_dong, cd_flor, ho, \
case when (cnt_b + cnt_e) > 0 \
then case cnt_x when 0 then 'R' else 'Y' end \
else 'G' \
end cl_stat \
from t_dfct \
order by cd_flor desc, ho asc;"
전문가를 위한 파이썬.
Card = collections.namedtuple('Card', ['rank', 'suit'])
보다는
Card = collections.namedtuple('Card', 'rank suit')
이게 더 직관적이다.
최근댓글