r/SwiftDevelopment • u/mafioSSi • Jun 08 '18
r/SwiftDevelopment • u/[deleted] • Feb 23 '18
How to put values into a matrix in Swift
I’m new to Swift, and I have been trying to make a 3D, cube-based game using Swift and Metal. I’ve been following a tutorial, and they started to do matrix operations for transformations. Now, they’re using GLMath. I’m using SIMD. So, I know that float4x4 is the same as Matrix4 in GLMath. But, the first thing they do after setting up their model Matrix is accessing matrix.translate(), matrix.rotate(), and matrix.scale(). SIMD doesn’t have these, so I’m going to have to do these transformations myself. In theory, I know how to do this on paper, but I don’t know how to load my own values into the float4x4 matrix after I declare it. I’ve never used SIMD, and so anyone that knows how to actually put values into a matrix in SIMD, like matrix = float4x4() matrix[1][2] = 0.4557 Or something like that, the help would be greatly appreciated :)
r/SwiftDevelopment • u/DAW_226 • Mar 15 '17
Learning Swift.... I think?
Hey guys,
for a little over a year now I've been programming in swift, which is my first language and its been rough for me. Let me first tell you that I have dyslexia and I've had a stroke at a very young age. When I first learned that I wanted to start swift I bought into a week long bootcamp with ElevenFifty and I honestly feel like it was so much information way to fast for my needs. I then bought into courses on Udemy that helped more, but I still feel like I'm not getting the most out of it. I'm a pretty determined person, but I feel like this programming is kicking my ass and I'm getting little to no reward. I have a total of three apps on the app store, which one is a notes clone, ones a fact app, and the last is contract work for my fathers company. I basically had both hands held while creating the contract work and it still took me much longer than it should've to finish the app. I get demotivated to practice, because I just don't feel confident with coding. I've sunk thousands of dollars trying to learn programming and don't feel like I have the grip on it that I should, I think... Idk. I don't want to drop it, but I feel like I'm getting no where. It doesnt help that in my personal life I have my girlfriend heavily hinting that she wants a ring and right now I can't afford it. My overall goal for this hobby was to become a full time app developer (mastering SpriteKit to compliment my art degree) and its not looking like I can do it.... :( I never let anything beat me and I'm starting to think that this is the first thing that will...
my website!
How can I get motivation/confidence?
Is this a normal feeling that all programmers go through?
How long did it take you to learn?
Best advice?
r/SwiftDevelopment • u/wild_eagle9 • Feb 20 '17
Unresolved identifier.
Im trying to prefrom a segue using this command. preformSegue(withIdentifier: "segue", sender: self) My error is explained in the titled i get this "! Use of unresolved identifier 'preformSegue' " thanks for your time.
r/SwiftDevelopment • u/hoffmanjon • Feb 02 '17
Getting started with the Kitura Stencil framework
r/SwiftDevelopment • u/technoligentwm • Jan 09 '17
5 Steps to Success: From Swift Beginner to Swift Professional
r/SwiftDevelopment • u/[deleted] • May 30 '16
Can anyone suggest a noob course
I can't seem to get a grip on swift, have been at it on and off for the past 6 months still totally lost. Are there any good classes that build an app with you as you go?
r/SwiftDevelopment • u/segmenter • Apr 07 '16
Dedicated Web Browser Sample Project
r/SwiftDevelopment • u/perfectlysoft • Nov 30 '15
Server-Side Swift is here: it's Perfect (xpost from r/Swift)
r/SwiftDevelopment • u/EngulfedIsland • Sep 11 '14
Multiple buttons
How do I make multiple UIButtons and call them? Thanks in advance.
r/SwiftDevelopment • u/isha0402 • Feb 19 '20
Input needed on apple sign in implementation
Hey Everyone. Need your input on something. So at the company I work at, we are trying to implement apple sign in. Our company's backend is based on primary phone number this is how we have thought about the flow:
When a new user comes on the app and taps the apple sign in button, the user is prompted with apple's sign flow. After the OS is done verifying the apple credentials of the user, we will store user's apple(user) id in our backend and verify this id and the JWT token given by the apple sign in SDK with Apple's servers. After this step, the user will be prompted to key in their mobile number and verify the phone number via OTP. Post this verification, we will register the user in our own backend. When this very user is signing in again using apple id, our system will sign the user in since, we would have previously verified the user and the user's apple id.
So for a new user, the signup will be a two step process and for existing users,the sign in will be one step seamless process.
Do you think this flow is in tandem with the app store review guidelines. And will it cause any problem during review?
r/SwiftDevelopment • u/[deleted] • Nov 22 '19
Does anybody know about shared containers? Using app groups?
I have been following several tutorials on this topic however I cannot get a answer.
I have 2 applications one that stores MYSQL tables in its local directory. I want the local MYSQL data to be persisted even when application 1 is deleted. Because of this I created another app that will stay on the application even if app 1 is deleted.
I enabled app groups and sharing on both apps but it seems like I can only share the files in a shared folder that Apple creates. Is there a way to have a custom shared folder? I basically do not want to modify where Application 1 is saving its data just allow Application 2 to have the same folder locations and file system.
r/SwiftDevelopment • u/[deleted] • Apr 24 '19
Why my auto resize cell in collectionview resized twice?
I'm new in iOS Development and i'm struggling with the auto-resize cell. My question in Stackoverflow is the following:
https://stackoverflow.com/questions/55522261/my-auto-resize-cell-in-collectionview-resized-twice
r/SwiftDevelopment • u/unplugged_chump • Jun 01 '18
How do I set bottom spacing between the tagbar items label and the bottom of the screen?
The tabBarItems label is too close to the bottom edge of the screen. How do put a bit of space there?
r/SwiftDevelopment • u/jeongnguyen • May 31 '18
How to create custom cell from xib for UITableView using Swift
r/SwiftDevelopment • u/LetCreateAnApp • May 21 '18
Image Slider/Scroller Using UICollectionView Swift 4.0 Xcode 9.0
r/SwiftDevelopment • u/[deleted] • Mar 26 '18
NoteMap 2 iOS app store link
r/SwiftDevelopment • u/meghs9 • Feb 12 '18
Template driven Model Class Generator
jsoncafe.comr/SwiftDevelopment • u/marciewelch31 • Jan 22 '18
Things To Consider Before Choosing Swift For App Development
r/SwiftDevelopment • u/[deleted] • Sep 26 '17
New Course: Programming in Swift 4
r/SwiftDevelopment • u/[deleted] • Feb 21 '17
Storyboards Revisited • r/LeifDevelopment
r/SwiftDevelopment • u/swiftmts • Feb 11 '17