Post

Replies

Boosts

Views

Activity

Reply to ShazamKit: Music detection "session.match(signature)" with no match found and no error was thrown, weird
Well. In short, I found that I must add that converter in above thread provided to make the detect works. Really hope Apple could provide a sample project about how to create a buffer from music file for ShazamKit.  Here is the question I posted in StackOverflow, and for details you could go to there — Haibo.Zhou less than a minute ago
Topic: Media Technologies SubTopic: Audio Tags:
Oct ’21
Reply to Should i learn Objective C in 2020 for iOS development?
I just get an interview of iOS Engineer today. The company makes video apps, they are curious about memory and performance. Then I get lots of question about OC, although I'm using more about Swift. Then, I got lots of questions on Objective-C like MRC, Category, how to locate errors from iOS app crash stack, how to invoke C or C++ in code. I answered really badly since I get more about Swift, I didn’t realize that Category is extension in Swift and MRC is Capture list in Swift at that time. Although, the interviewer is nice, he told me that even I hire you now, you will get big difficulties at the first as I get poor knowledge in OC. So if I want to join use, you must learn OC, C++, and understand things like multithread and memory management in OC then you could call us again, we are always opened. Though Swift get more and more support, libraries, there is still tons of old apps which written in OC need to be maintained. Thus companies will hiring guys who could use OC to maintain their apps, especially the big companies. Well, I have Swift in belt, published 2 apps in App Store. For now, I get used to the basic grammar.  The problem I'm facing is I need to learn both Swift and OC now. But I found that there is really less and less community and tutorials about creating apps with OC. It is really hard to find some learning materials about OC from internet. If you guys know some stuff, please give me some links, I appreciate that!
Topic: UI Frameworks SubTopic: UIKit Tags:
Nov ’20
Reply to playSoundFileNamed: // SKAction: Error playing sound resource
I get the same issue on Xcode 12 and iPad simulator. Found a solution in Stackoverflow: "When you select your sound file in XCode, access the inspector on the right side, then make sure the file is selected for your target(s)." For me: This solves my problem, thanks. When I drag m4a into project, the target is unmarked by default, but for mp3 or CAF file the target is marked by default. Is it the normal behavior of Xcode?
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Nov ’20