Toggle navigation
Find or Create a Group
Help
Log In
Sign Up
Help
Log In
Sign Up
Home
Messages
Hashtags
×
×
×
Close
Likes
cocoa@apple-dev.groups.io
Messages
How to write better Swift
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
Polls
previous page
#31
next page
How to write better Swift
Gerriet M. Denkmann
#31
This works (Xcode Version 8.3.2 (8E2002)):
class SomeClass
{
private var privateStatus: Int
var status: Int
{
get{ return privateStatus }
set(new)
{
if new == privateStatus {return}
… do something here …
privateStatus = new
}
}
}
But is this “privateStatus” really necessary?
If not, how can it be avoided?
Gerriet.
More
All Messages By This Member
previous page
View All 8 Messages In Topic
next page
previous page
#31
next page
Join
cocoa@apple-dev.groups.io to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Groups.io Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of cocoa@apple-dev.groups.io?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
About
Features
Pricing
Updates
Terms
Help
Twitter
Toggle navigation
About
Features
Pricing
Updates
Terms
Help
©
2022
Groups.io