Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "clean swift"
-
WWDC was not about developers this year. It was a conference call with shareholders and investors. No bold moves, just several consecutive "this product will no longer suck" and "look at what you can do now, big companies" announcements.
watchOS will work now (it's too slow ATM). tvOS will just be less cumbersome. macOS still lagging behind (I mean, I already have great third party apps that clean my hard drive, but thank you for solving a problem I didn't need fixing). iOS 10 is simply about messages (it's not going to make me ditch Telegram, because it doesn't have an Android client, regardless of how large you make emoticons appear on screen). Apple Music will still suck, especially if you have more than one Apple ID. And Apple Maps will continue to be useless outside of the US.
Where did the bold moves go? Where's the "we're breaking up iTunes into several distinct apps that serve their purposes really well"? (Guess iTunes is too valuable a trademark...) Where is the "we will end the WKView vs UIView vs NSView nonsense"? (You know, OOP is about creating classes, which are abstractions and whose instances deal with the particularities of their environment; a View is a View, regardless of where they live; an instance of a View should care about being on a watch or on a phone, not the developer.) Where is the "we love indie developers and will help you"? They showed off a lot of integration with well established apps, that don't really need to stand out any more. They showed that video of "normal people" who have developed apps, but no one knows about them! And then they changed the AppStore so you can pay to advertise your app, but who has the means to do that? Indie devs are surely on a tight budget, so who's that helping again?
For me, this WWDC was sugar coated with a "we love you developers" BS, but was a business statement to large companies ("see what you can do now Uber, Lyft, WeChat, WhatsApp, Doordash, all the P2P payment apps, ESPN, WSJ and so on?"). It's already a known fact that the bulk of the AppStore revenue goes to the top 1% apps. And what's the point of having tvOS be open to developers if it is very unlikely I'll ever develop anything for it unless I work at CBS?
It's great that they want to make it easier for kids to learn Swift. But there's very little point in that, if those kids' apps aren't going to be used and are simply going to make the "we have 2 million apps on the AppStore" announcement look shinier for shareholders. Without a strong indie community, the Swift Playgrounds app for the iPad is just manufacturing workers for large corporations.
And without a strong indie community, things get tougher for indie clients as well. Who will have the money (and therefore the time) to implement all those integrations in order to even dream about competing with heavily funded apps?
Yeah... So thanks, Apple, but no thanks.16 -
When you spent the whole day programming in Swift and your mom says that she fucked up her windows 7 machine and you gotta make a clean install (I hate fixing stupid mistakes made by non tech users)
17 -
If programming languages had honest slogans, what would they be?
C: If you want a horse, make sure you feed it, clean it and secure it yourself. No warranties.
C++: If you want a horse, you need to buy a circus along with it.
Java: Before you buy a horse - buy a piece of land, build a house in that land, build a barn beside the house & if you are not bankrupt yet, buy the horse and then put the horse in the barn.
C#: You don’t want a horse, but Microsoft wants you to have a horse. Now it’s up to you if you want Microsoft or not.
Swift: Don’t buy an overpriced Unicorn if all you wanted was a horse.
JavaScript: If you want to buy a horse & confidently ride it, make sure you read a book named "You don't know horse".
PHP: After enough optimization, your horse can compete the top most horses in the world; but deep down, you'll always know it's an ass.
Hack: Let's face it, even if you take the ass from the ass lovers and give them back a horse in exchange, not many will ride it.
Ruby: If you want a horse, make sure you ride it on top of rail roads, even if the horse can't run fast on rails.
Python: Don't ride your horse and eat your sandwich on the same line, until you indent it on the next line.
Bash: Your horse may shit everywhere, but at least it gets the job done.
R: You are the horse. R will ride you.
Got this from Quora.
https://quora.com/If-programming-la...7 -
Wrote a set of beautiful Swift functions. Runs Xcode, nothing. Checks code...looks good...clean build, delete app, re-install, rebuild...nothing. Checks documentation, watches three videos, re-writes code...nothing. Stares at screen for an hour...realizes I never actually called the functions. Closes laptop, checks self into pysch ward.3
-
Spent an entire week working on XCode configurations for a react-native+swift+objc bridging project. Been failing builds all week. Finally i look over to see the glorious word Succeeded!
Then I realized it was the clean that succeeded, not the build. FFS1 -
I can't stand Swift's initializers. No other languages have the problem with constructors/initializers that Swift does. It's a complete failure of a feature and to hell with safety if it comes with this cost.
Just to illustrate how ridiculous it gets, I want to have a class where my initialization logic can be split among reusable parts. That is, the logic that initializes the class with no parameters has logic that I want to reuse in my other initializers. Simple DRY stuff. Well, the only way I can do that in Swift is if I use a convenience initializer that calls another one. But convenience initializers have completely different rules from designated initializers (again, something only Swift does).
For example, you can't access "self" until you call a designated initializer. You can't chain designated initializers, and if you want to chain anything in the same class you have to handcuff yourself by using a "convenience" initializer (there's nothing convenient about them, I might add).
So now I want to subclass my class and initialize myself using one of my superclass initializers. Oh but the one I want to call is a *convenience* initializer so I can't, unless I turn my new initializer into a convenience initializer. Except wait, a convenience initializer must delegate with self.init(), so it can't even call a superclass initializer!
And it just goes round and round and round. I don't know if I should try to convert all of my initializers to convenience initializers or the other way around.
Why all this nonsensical madness? Get rid of the distinction and go back to nice clean powerful initializers like Objective-C. I mean what does it have to take? This is a complete nightmare.13 -
Fuck you shitty clean swift architecture. I need to learn swift and mobile apps programming. As if that wasn't already hard enough I also need to understand clean swift. This shit feels like going in circles for the most basic stuff without any tangible benefits.
-
Is it weird that I hold a high degree of respect for every sector in programming. When we talk about front-end, back-end in websites to the GUI support and logical end in desktop applications to cloud-based microservices, I respect clean, swift, and agile developers who who a structural mindset. For the founding fathers of assembly to high-programming languages like c all the way to high-high level programming languages like C#, JavaScript, Python, I respect them and thank them for their time and dedication in relatively stable libraries. I also thank the creators of OOP and FP as well as the developers that make great use of these paradigms. I come to realization that no one wants to fuck shit up; the great engineers of our past wanted to build some legit, non-trash programming tools, and we can't bash them for that. Respect, courteously critique, and build applications and programming tools to a standard that someone in the future would admire and be grateful for.4
-
Dear xcode,
you fckn bitch did it again. I really wanted to do some iOS development, I swear. But you are like an abusive relationship, I have this weird habit of coming back to you even though I am getting fucked in the ass in parallel.
I love Swift but I despise you xcode. Randomly fucking up my workflow, and then it is clean build folder, reset package cache, restart xcode. Again and again and again you fuck things up out of nowhere. And from time to time, you just have to install the newest version of xcode because its so fucked up its easier to download this MASSIVE asshole than to even try to fix anything if you know its just xcode again.
Yeah, fuck extensions and formatting. Just fuck humanly tolerable build time. Fuck you xcode.
I am not an experienced dev with iOS nor am I a common Mac user but this is just wrong. I feel violated and the joy of development sucked out of my soul while I try to navigate through the overloaded interface.
I am not even going into details about iOS development, its just that xcode is the gatekeeper to get me the fuck out of this miserable place that is native iOS development.
Arrivederci, suckers.3 -
I think I‘ll bite the bullet and write my own version of SwiftRant (Swift REST API for devRant) with modern concurrency and a clean implementation and without semaphores and force unwraps which cause app crashes.9
-
I have a weird problem ...
There’s an existing swift app, with Apple sign in implemented and working.
When I took over I had to revoke app certificates and create new one. Since then the Apple sign in stopped working.
I’ve tried clean rebuild etc , even tried renewing old profiles with the new cert but nothing is working.
When u do Apple sign in it says “sign up not completed” with no error msg.
Old dev says it happened last time when cert/profile was changed but fixed on proper rebuild. Not fixing for me.
Anybody else faced this?5 -
I have finished my project for a new devrant sdk in swift:
https://github.com/WilhelmOks/...
(Yes, the readme is missing and I will add it later 😅)
And I built it into JoyRant (build 32), which required quite a bit of refactoring.
I think I tested everything but let me know if you find any problems.
You will need to logout and log in again.
The downvote reason feature isn‘t there yet (in JoyRant), but now I have a good basis to add it 😄
Yes, implementing a whole new SDK just for one little feature is overkill, but I had fun doing it and I wanted to have a nice, clean and extensible code base which I can work on in the future. 😌10 -
SWIFT Facility Solutions: Comprehensive Office Maintenance and Cleaning Services for Your Business
At SWIFT Facility Solutions, we are dedicated to providing high-quality facility management and cleaning services to businesses in Houston and surrounding areas. Whether you're searching for office maintenance near me, commercial property upkeep near me, or eco-friendly cleaning near me, our team of experts is here to deliver tailored solutions that keep your business space clean, functional, and safe. We offer a full range of services, including commercial janitorial services, facility management services, and specialized cleaning options for your office and industrial needs.
Why Choose SWIFT Facility Solutions?
Office Maintenance Near Me
Keeping your office in excellent condition is crucial for creating a productive and professional work environment. Our office maintenance near me services ensure that everything in your office runs smoothly, from plumbing and electrical repairs to minor repairs and office upkeep. Whether it's fixing broken equipment or handling preventive maintenance, our team is here to ensure your office stays operational and efficient.
Commercial Property Upkeep Near Me
We understand that commercial properties require regular care and attention. Our commercial property upkeep near me services are designed to maintain the overall condition and appearance of your building. From routine cleaning to maintenance of building systems (HVAC, plumbing, electrical), we help ensure your commercial property remains in excellent condition, offering long-term value and a positive impression to visitors and clients.
Sanitation Services Near Me
In today's world, sanitation is more important than ever. At SWIFT Facility Solutions, we offer professional sanitation services near me to businesses looking to maintain a clean and healthy environment. We specialize in disinfecting high-touch areas, ensuring that your facility remains hygienic and safe for employees and customers alike. Our team is equipped with the latest tools and eco-friendly cleaning solutions to provide a thorough and effective sanitation service.
Eco-Friendly Cleaning Near Me
If you're searching for eco-friendly cleaning near me, SWIFT Facility Solutions is your go-to provider. We prioritize sustainability by using environmentally safe cleaning products and practices that reduce your business’s environmental impact. Our eco-friendly cleaning solutions help create a healthier workspace for your employees while minimizing harm to the environment, ensuring your business stays clean and green.
Commercial Janitorial Services
Our commercial janitorial services are designed to keep your office or commercial property clean and presentable at all times. From dusting and vacuuming to restroom sanitation and trash removal, our expert cleaning staff handles it all. We offer flexible cleaning schedules to meet the unique needs of your business, ensuring that your space is always tidy and welcoming to clients and employees.
Facility Management Services
At SWIFT Facility Solutions, we provide comprehensive facility management services that cover everything from routine building maintenance to handling complex systems management. Our team ensures that your facility operates efficiently by providing preventive maintenance, repairs, and system oversight. Whether it’s managing HVAC systems, overseeing security, or coordinating repairs, we provide seamless facility management that keeps your business running smoothly.
Office Cleaning Solutions
A clean office environment is essential for both productivity and the health of your employees. Our office cleaning solutions are designed to meet the specific needs of your workspace, including daily cleaning, carpet care, floor maintenance, and window cleaning. We use industry-leading equipment and cleaning solutions to ensure your office remains pristine, providing a safe and pleasant environment for your team and clients7 -
As the head of Quantum Innovations, based in Seattle, Washington, I’ve always taken pride in our company’s commitment to cutting-edge technology and innovation. However, a recent security breach has underscored how vulnerable we were to a major cybersecurity threat involving our corporate mobile devices. The breach began when several employees unknowingly downloaded a malicious app from a third-party app store. What initially appeared to be a harmless app turned out to contain malware, granting cybercriminals access to sensitive company data. In total, the attackers stole approximately $200,000 USD worth of proprietary business information, including financial records, intellectual property, and confidential communications. Even more alarming, the breach led to the theft of employee banking details, enabling unauthorized transfers of funds from both personal and corporate accounts. The breach was discovered when our IT team noticed unusual activity on the affected devices, including unauthorized access to secure files and suspicious data transfers. After conducting a thorough investigation, we realized that the malware had been secretly transmitting our valuable data to an external server, including sensitive financial information. At that point, it became clear that the situation was far worse than we had initially anticipated.In response to this crisis, I reached out to TRUST GEEKS HACK EXPERT at Web, https :/ / t r u s t g e e k s h a c k e x p e r t . c o m/ E m a i l : i n f o @ t r u s t g e e k s h a c k e x p e r t.c o m And T e l e G r a m:: T r u s t g e e k s h a c k e x p e r t, A renowned cybersecurity firm with a reputation for its expertise in mobile device security and data recovery. Their team acted swiftly to assess the full scope of the attack, clean the infected devices, and secure our mobile systems.Thanks to their expert intervention, we were able to completely remove the malware from all affected devices, TRUST GEEKS HACK EXPERT data recovery specialists went above and beyond to recover not only the stolen company data but also the funds that had been illicitly transferred from both employee and corporate bank accounts. Through negotiation with authorities and tracking the stolen funds, they successfully managed to recover every dollar that had been taken. Their diligence and expertise were truly exceptional, and because of their efforts, we were able to avert what could have been a catastrophic financial loss.In the wake of this breach, we are more committed than ever to fortifying our security measures. The swift response and effective recovery efforts from TRUST GEEKS HACK EXPERT have been invaluable in restoring our confidence and securing our operations.1
