有偿请教关于swift计算器怎么写
swift吧
全部回复
仅看楼主
level 4
rt,真心想学,基本概念大概有个了解了,卡在怎么实现计算器这块了,不要ui不要controller,大概有个想法但是写的东西总是报错,哪位大神有时间还请指导下,感兴趣私聊
2018年03月28日 03点03分 1
level 1
我可以做,你企鹅多少
2018年03月28日 04点03分 2
老铁我是找老师不是找代写哈
2018年03月28日 06点03分
可以教你
2018年03月28日 06点03分
回复 fly落叶知秋256 :来个企鹅
2018年03月29日 00点03分
level 1
老铁,UTS IOS不好学啊[你懂的]
2018年03月29日 03点03分 3
不好学啊,老铁同道中人啊[狂汗][狂汗][狂汗]
2018年03月29日 04点03分
level 3
老哥 现在withdraw还来得及
2018年03月29日 03点03分 4
census date早过了,withdraw来不及
2018年03月29日 04点03分
level 9
数组转整形是错误的。input才对
2018年04月02日 09点04分 5
level 1
同求一个大佬,我要跪了
2018年04月02日 12点04分 6
level 1
public static func +=(lhs: inout Int, rhs: Int)
/// Subtracts the second value from the first and stores the difference in the
/// left-hand-side variable.
///
/// The difference of the two arguments must be representable in the
/// arguments' type. In the following example, the result of `21 - 50` is
/// less than zero, the minimum representable `UInt8` value:
///
/// var x: UInt8 = 21
/// x - 50
/// // Overflow error
///
/// - Note: Overflow checking is not performed in `-Ounchecked` builds.
///
/// - Parameters:
/// - lhs: A numeric value.
/// - rhs: The value to subtract from `lhs`.
public static func -=(lhs: inout Int, rhs: Int)
/// Multiplies two values and stores the result in the left-hand-side
/// variable.
///
/// The product of the two arguments must be representable in the arguments'
/// type. In the following example, the result of `21 * 21` is greater than
/// the maximum representable `Int8` value:
///
/// var x: Int8 = 21
/// x * 21
/// // Overflow error
///
/// - Note: Overflow checking is not performed in `-Ounchecked` builds.
///
/// - Parameters:
/// - lhs: The first value to multiply.
/// - rhs: The second value to multiply.
public static func *=(lhs: inout Int, rhs: Int)
/// Divides the first value by the second and stores the quotient in the
/// left-hand-side variable.
///
/// For integer types, any remainder of the division is discarded.
///
/// var x = 21
/// x /= 5
/// // x == 4
///
/// - Parameters:
/// - lhs: The value to divide.
/// - rhs: The value to divide `lhs` by. `rhs` must not be zero.
public static func /=(lhs: inout Int, rhs: Int)
/// Returns the quotient of dividing this value by the given value along with
/// a flag indicating whether overflow occurred in the operation.
///
/// Dividing by zero is not an error when using this method. For a value `x`,
/// the result of `x.dividedReportingOverflow(by: 0)` is `(x, true)`.
///
/// - Parameter rhs: The value to divide this value by.
/// - Returns: A tuple containing the result of the division along with a
/// Boolean value indicating whether overflow occurred. If the `overflow`
/// component is `false`, the `partialValue` component contains the entire
/// quotient. If the `overflow` component is `true`, an overflow occurred
/// and the `partialValue` component contains the truncated quotient.
2018年04月07日 06点04分 7
level 1
Command-line calculator的作业?
2018年04月08日 09点04分 8
level 12
2018年04月17日 03点04分 9
谢谢老哥!白胡子老爷爷的课看过了[滑稽]这个计算器已经交了,现在要写游戏了[汗][汗][汗]
2018年04月18日 02点04分
level 12
ITunesU 里的Stanford 大学swift教程,前两个视频就是做计算器
2018年04月17日 03点04分 10
看过了,[汗][汗][汗]要求不一样
2018年04月18日 02点04分
level 1
你准备纯代码写计算器吗?这个拉点Button做tag很容易的。我也是新手,就是写的代码有点啰嗦。
2018年05月11日 05点05分 11
纯代码写,已经写出来了,谢谢老铁!
2018年05月11日 10点05分
level 2
老铁可以教教我吗[喝酒] 也是这个课
2019年04月01日 22点04分 12
我也[惊哭]
2020年04月06日 23点04分
@LoveJJxjl …这门课我退了[呵呵]
2020年12月03日 10点12分
1