12 comments found.

i downloaded the code and trying to run on a simulator and i am getting a black screen. Does this code needs to be run on a real device?.

Hi, it’s a bug on XCode Simulator, try this solution http://codecanyon.net/item/simple-weather-v1/16550356/faqs/27292 , in any case if the problem continues, try a real device

Okay it worked thanks

Can you please change menu text to icons in the bottom same as tab bar. How can I disable sound in the app? After the launch screen, app showing black screen (few seconds ), this happens only when I change intro video to false..

Hi, i hope to answer to all your question correctly

Question 1
Can you please change menu text to icons in the bottom same as tab bar.

Answer
I’m sorry but this app does not plan to replace the text button on the bottom with those in TabBar style, but if you are familiar with xcode, autolayouts storyboard and you can change them at will with png images, creating the desired effect. To do so, refer to the buttons called relatively:
-Settings ButtonPRY
-Locations ButtonPRY
-Add Location ButtonPRY
placed inside the View Controller Scene inside Main.storyboard file.

**

Question 2
How can I disable sound in the app?

Answer
open the config.swift and edit line like the below sample, find the paragraph “//#5.03”, inside change these parameters like below:

let bloopFileVolume : Float = 0
let tickFileVolume : Float = 0
let zoomFileVolume : Float = 0

**

Question 3
-After the launch screen, app showing black screen (few seconds ), this happens only when I change intro video to false..

Answer
open the config.swift and edit line like the below sample, find the variable videoAppIntroBackgroundColor and change the value blackColor to clearColor

let videoAppIntroBackgroundColor = UIColor.clearColor()

Thanks. How can I change the forecast API to another API (http://forecast.io/)

Simple Weather V1 is designed to work ONLY with the api of wunderground (https://www.wunderground.com/weather/api), as described in detail. Sorry but in this case i can’t help you.

Hey! Great app everything works, uploaded to appstore, but now i did find a bug, can you make it work with the letters å,ä,ö, it crashes when i try to search a city with one of those.

Thank you so much, I tried it and in fact it is a very unusual bugs, I resolve it in the next release as soon as possible…

yep thank you.

Hi, I just bought the code, which is well written and documented. Great job! Just one stupid question from a newbie like me… How can I remove the underline and the shadow of the UIButtons? I can’t modify them from the storyboard… Thank you.

Got it. Thanks for your swift response!!

Hi, I am commenting again to share something interesting that I found about the underlines. With the solutions that you provided above the underlines do disappear on the simulators, but they are still visible on a real device. I test it with an iPhone 5/iOS 9.3.2, since my 6+ is on iOS 10 beta. I just wonder why…

Hi, I tried it on my personal iPhone 5s with iOS 9.3.2 and underline does not appear if I change the values with “clearColor” and works for me.

Council, however, do the following:
-Delete the app from your iPhone
-xcode -> product -> clean
-re-build, and install to your real device.

In any case, if the problem persists for some mysterious reason, open Main.storyboard and try to change their IBOutlets of underlines

View Controller -> navButtonsSeparator -> attribute inspector -> set the color you want, in this case clearColor


Add Location View Controller -> tableTitleSeparator -> attribute inspector -> set the color you want, in this case clearColor


Settings View Controller -> TitleSeparator -> attribute inspector -> set the color you want, in this case clearColor


Locations View Controller -> tableTitleSeparator -> attribute inspector -> set the color you want, in this case clearColor

APP REJECTED

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Next Steps

Please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

Please update your code or tell me how to solve this

i followed your steps exactly, the result is that the app will crash it shows black screen after splash image and then it crashes

A last observation, please verify the first step, verify if you have the same code than me, follows my code part

locationManager = CLLocationManager()

locationManager.delegate = self

locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters

//locationManager.allowsBackgroundLocationUpdates = true

//locationManager.requestAlwaysAuthorization()

locationManager.requestWhenInUseAuthorization()

Try to clear any build within the device and the simulator where you try the app. Possibly try to download a clean version without the Simple Weather V1 changes and make the changes I have suggested to it, or replace only the affected files, listed in my previous comments relating to your problem.

Latest news:
About half an hour ago I sent a new version by me personally modified it based on your problem, now you have to wait to occur review by CodeCanyon of this new version, usually 2 working days, is everything possible that I can do right now .

Keep me posted on how the new version will go

14/07 a new update is available with UIBackgroundModes fix

Hello..I read in this comments that the app does not support letters like äöüß in searching city. Is it fixed? I mean german special letter, or frech, greece letter in searching city. thank you.

Inside MuccanadoModuleAutocomplete.swift find the variable like follow:

let queryWithOutAccentsDiacritics = query.stringByFoldingWithOptions (.DiacriticInsensitiveSearch, Local: NSLocale.currentLocale ())

and change it to:

let queryWithOutAccentsDiacritics = query

But I do not recommend to do this because without it the app could crash when the user inserts special characters.

Thank you! I will buy the app asap. I will localized the Autocomplete API. I think the filter must turn off than. I will try it out.

You are welcome! If you want you can leave a feedback once you have tried the app source, thank you ;-)

Hi there – I have a strange issue that I cannot resolve so would welcome you assistance. I have configured everything to my liking and have disabled the video play option. On first load, everything works without an issue – the Ads load and are displayed correctly, I can add new locations without a problem so all good. I stop Xcode from running the App and then attempt to re-run directly on the device – it starts to load, displays the spinning load symbol and then closes. The App never loads again, always stopping at the same place! If I delete the App and reinstall using Xcode again – it works on first launch without a problem!

Xcode 7.3, iPhone 5c iOS 9.3.3

On first load, App correctly prompts for location usage – I allow and that is fine but only for the first launch, after that its failure time again!

Just tried closing the App after first launch and then rerunning from Xcode – I get the following error:

This is run on the main queue, after the previous code in outer block fatal error: unexpectedly found nil while unwrapping an Optional value (lldb)

Hello.

This thing happens because you press the stop button on xcode during the first launch of the app, in this case the app does not use the “AppDelegate – applicationDidEnterBackground” where the save data functions are arranged.

Try instead, during the first launch of the app to close the app with the home button on the device or simulator, do it well while xcode is working (xcode will stopped automatically, without your intervention)

In summary:

on the first app launch  -> close by app home button to save initial data (like normal end user utilization)

on the second app launch ->two options:

A- close apps by home button

or

B- stop xcode run task,  some new added locations during this task will not saved(because the save data function inside “AppDelegate – applicationDidEnterBackground” was not called), but if you try to re-run the app now app will works.

 

Try and report here if i have resolved your issue correctly, thanks.

Superb thank you! I am glad it was that simple, thank you for the fast support.

Does the deployment target have to be iOS 9.3 or can it be lower?

due to admob framework believe that fall below ios 9.0 is risky and more than a few ports warning during the build, possibly can give it a try and see if everything is working correctly or not, maybe not overdo it and stop at most to ios 8.3

Hi I want to buy your application. Before I buy, I want to ask questions: 1. You said that “Simple Weather V1 is designed to work ONLY with the api of wunderground”, but i want to customize still can’t too? 2. Does Simple Weather V1 use Core Data to save locations? I mean when I first add locations, and I close application, still saved?

Thanks. Really appreciate if you reply asap.

hi, sorry to answer only now but before I did not have a chance. Simple Weather V1 does not use “core data” to save the locations, simply it uses to save through “NSUserDefaults” methods. As for adaptability to other weather services, if they have the backend are in json format is possible, but it requires an enormous technical effort on your part if that’s what you have in mind, if you feel confident with the swift programming language can prove yourself to change the weather service used by rewriting part of the original code of Simple weather V1. I hope I have answered your questions in esaudiente way.

Hello, code support ios 10 or xcode 8?

hi, for now only supports xcode ios 7 and 9, in the future it is possible that an update will come but not sure for now

hi, today a new update is available for iOS 10, swift 3 compatible and xcode 8.x.x ready. Bye

Very nice, GLWS!

Thanks ;-)

Hi muccanado,

Is it possible for you to update this for Swift 3.0 syntax? When Xcode converts it from 2.0 to 3.0, I get 63 errors. It would be nice to have an updated version and start from a good clean build.

Thanks!

Hello.

This thing happens because you press the stop button on xcode during the first launch of the app, in this case the app does not use the “AppDelegate – applicationDidEnterBackground” where the save data functions are arranged.

Try instead, during the first launch of the app to close the app with the home button on the device or simulator, do it well while xcode is working (xcode will stopped automatically, without your intervention)

In summary:

on the first app launch -> close by app home button to save initial data (like normal end user utilization)

on the second app launch ->two options:

A- close apps by home button

or

B- stop xcode run task, some new added locations during this task will not saved(because the save data function inside “AppDelegate – applicationDidEnterBackground” was not called), but if you try to re-run the app now app will works.

Try and report here if i have resolved your issue correctly, thanks.

Yes, that indeed worked. I tapped the home button instead of the Stop button in Xcode after first launch and it saved. Opened it back up and it works fine. I understand. Thanks for your quick and detailed response! Wonderful app.

Buxfiz

Buxfiz Purchased

Very nice code and well documented. One question: Is there a way to use my own weather icons instead of the Bezier Drawings? I was trying to override LECSModuleUIIcon with something like (_ stringIcon: String) -> UIImage { var imageName: String switch valueIcon { case clear = “clear” etc etc.. Thank you

Hello
open the file (MuccanadoModuleUIIcon.swift)
The class icon (UIView subclass) inside contains functions that “draw” the icons in biezer style, the “switch” method contains specific design methods for example: “WeatherIcons.drawFlurries (frame: rect, color: iconColor) “
It should be enough to replace these methods by methods such as:

inside:

/////////////////////////////////////////////////////////////////////////////////
//code
override func draw(_ rect: CGRect)
{
if(debugPrintOn){print(“MuccanadoModuleUIIcon.drawRect”)}

/*
//add this follow line
for view in self.subviews {
view.removeFromSuperview()
}
/
*

/////////////////////////////////////////////////////////////////////////////////

and every time you need

replace for example:

/////////////////////////////////////////////////////////////////////////////////
//code
case clear /> WeatherIcons.drawClear(frame: rect, color: iconColor)

/////////////////////////////////////////////////////////////////////////////////

with follow solution

/////////////////////////////////////////////////////////////////////////////////
//code
case “clear”:
let imageName = “yourClearImageIcon.png”
let image = UIImage(named: imageName)
let imageView = UIImageView(image: image!)
imageView.frame = rect
imageView.contentMode = UIViewContentMode.scaleToFill
self.addSubview(imageView)

/////////////////////////////////////////////////////////////////////////////////


This information is a suggestion, can not be considered definitive solutions, are proven and tested to be sure that everything runs smoothly, I wish you a good test with the results that you expect, good day;-)

sorry by formatting html error :-D //code case clear /> WeatherIcons.drawClear(frame: rect, color: iconColor) is //code case clear : WeatherIcons.drawClear(frame: rect, color: iconColor)

Buxfiz

Buxfiz Purchased

Thank you! Awesome support :) :)

by
by
by
by
by
by